Important Notice Important Notice Freescale provides the enclosed product(s) under the following conditions: This reference design is intended for use of ENGINEERING DEVELOPMENT OR EVALUATION PURPOSES ONLY. It is provided as a sample IC pre-soldered to a printed circuit board to make it easier to access inputs, outputs, and supply terminals.
Power supply (Power Plug or Laboratory Power Supply), with 12 V/2 Amp min current capability • Oscilloscope (preferably 4-channel) with current probe(s) • ECU Wiring Harness (included in the RDAIRBAGPSI5-1 kit) • PSI5 Satellites Sensors (included in the RDAIRBAGPSI5-1 kit) •...
This User Manual is intended to detail the available hardware functionality and related software drivers (firmware) offered in the Freescale ARP. The high level system block diagram here outlines the way the Freescale standard products are used to implement an example airbag ECU. Figure 2. RDAIRBAGPSI5 Block Diagram RDAIRPABPSI5UG , Rev. 2.0 Freescale Semiconductor, Inc.
Page 7
Understanding the System 3.1 Device Features and Functional Description This reference design features the following Freescale products: Table 1. Airbag Reference Platform Device Features Device Description Features • Scalable MCU family for safety applications Qorivva 32-bit Microcontroller MPC560xP • e200z0 Power Architecture 32-bit core up to 64 MHz •...
Page 8
Understanding the System 3.1.2 MC33789 - Airbag System Basis Chip This device implements all vehicle sensor interfaces and the airbag system support functions: 3.1.2.1 Power Supply Block • A switched-mode power supply DC-DC converter in a boost configuration to generate the high voltage level (33 V), in which energy is stored in the autarky capacitor, and used to allow continued operation of the airbag system for a defined time following a collision, which leads to disconnection of the battery •...
Page 9
Understanding the System 3.2 MMA6813KW - ECU Local Sensor The ECU local sensor acceleration data is used by the airbag application to cross check the acceleration data received from the satellite collision sensors, to confirm that a collision is really happening, and that airbags need to be deployed. The local sensor used in the ARP is dual channel, and confirms both frontal and side impacts.
Getting to know the Hardware Getting to know the Hardware 4.1 Overview RDAIRBAGPSI5 is an eight loops airbag system ECU. Figure 3 shows all the main components of an airbag ECU hardware. Table 2 lists all the functions performed by each component.
Energy Reserve Capacitor Autarky Capacitor used as Energy Reserve in case of Battery disconnection 4.2 LED Display This section describes the LEDs on the lower portion of the RDAIRBAGPSI5 board. Yellow D1 Orange D6 Green D7 RED D2, 3, 4, 5 Figure 4.
Page 12
Getting to know the Hardware 4.3 Connectors This section discusses the ARP 32-pin and 24-pin positions and their descriptions. Pin 2 Figure 5. J1 32-pin Connector Location Table 3: 32-pin Connector Pin List Signal Signal Position Description Position Description name name Ground Signal Port 6 of input monitor for DC sensor...
Page 13
Getting to know the Hardware Figure 6. J2 24-pin Connector Location Table 4: 24-pin Connector List Signal Position Description Position Signal name Description name HI_5 Source of the Squib Driver High-side switch 5 Not Connected LO_5 Drain of the Squib Driver Low-side switch 5 Not Connected HI_6 Source of the Squib Driver High-side switch 6...
Vcc5, DC Sensor and PS_CONTROL AI_CONTROL Satellite Sensor Supply Buck converter is internally enabled when the VBOOST voltage is above the under-voltage lockout threshold. The firmware cannot disable the Buck converter in the RDAIRBAGPSI5 application. RDAIRPABPSI5UG , Rev. 2.0 Freescale Semiconductor, Inc.
Page 15
Describing the Device Functions 5.1.4 Power Supply - SYNC Pulse Supply Table 8. Power Supply – SYNC Pulse Supply Define Function Config Register Diagnosis Comment MC33789 Satellite Sensor SYNC PS_CONTROL AI_CONTROL Pulse Supply Default setting for the SYNC supply is OFF. Firmware needs to turn the SYNC supply on through PS_CONTROL register only if the satellite sensors are operating in synchronous mode.
Page 16
Describing the Device Functions 5.1.8 DC Sensors Table 12. DC Sensors Define Function Config Register Diagnosis Comment MC33789 Seat belt/Seat track DCS_CONTROL, – sensor interface AI_CONTROL The firmware must select which DC sensor is active and which supply voltage is used on that sensor through the DCS_CONTROL register. The firmware must also select the correct sensor to be read through the analog output pin using the AI_CONTROL register.
Page 17
Describing the Device Functions 5.1.9.3 Diagnostics Diagnostics Table 16. Define Function Config Register Diagnosis Comment MC33789 Diagnostics – STATUS, AI_CONTROL The firmware can monitor the operation of the main ASSP through the STATUS and AI_CONTROL registers. 5.2 MMA6813KW - Local ECU Acceleration Sensor The local ECU acceleration sensor is a dual channel device which also includes a safing block.
Page 18
Describing the Device Functions 5.2.4 Configuration - Arming Threshold Table 20. Configuration - Arming Threshold Define Function Config Register Diagnosis Comment MMA6813KW Configuration ARMT_XP, ARMT_XN – ARMT_YP, ARMT_YN For each axis, both the positive and negative threshold can be set above which and when the arming window requirements are met, the arm outputs will be set to active as defined in the arming operations register.
Installing the Software and Setting up the Hardware Installing the Software and Setting up the Hardware ARP software is built on basic low level MCU drivers (MCAL), which provide access to the modules ADC, GPIO, EEPROM, SPI, LINFlex, etc. in the microcontroller, thus providing all necessary MCU functions. The upper software layer contains Complex Drivers for all main ARP devices - Main Airbag ASIC MC33789 (Analog system Basis Chip (ASBC) Driver), Central Accelerometer MMA6813KW (ACC Driver), and Four Channel Squib Driver MC33797 (SQUIB Driver).
Page 20
Installing the Software and Setting up the Hardware 6.2.1 Installing FreeMASTER on your Computer To set up the GUI on your PC, you have to install the FreeMASTER software if not already installed. Notes: If FreeMASTER is already on your system, the steps in this section can be skipped. 1.
Page 21
Installing the Software and Setting up the Hardware 6.2.4 FreeMASTER Debug Mode Parameters of the devices MC33789, MC33797, or MMA6813KW, can be arbitrarily changed. Parameters are sent to the selected device after the button press "Send Parameters To Reference Board". All meaningful device registers are shown in the registry table "Command Responses Table"...
Page 22
Installing the Software and Setting up the Hardware Figure 9. FreeMASTER Application Mode Notes: In this GUI mode during simulated airbags’ "deployment", the relevant squibs drivers are not activated. In order to deploy front airbags, a combination of acceleration values (Front Satellites & Central Accel) above the threshold is required to simulate front deployment.
Page 23
Installing the Software and Setting up the Hardware 6.2.6 Configuring the Hardware using FreeMASTER FTDI cable Figure 11. RDAIRBAGPSI5 Configured for ARP Evaluation Using FreeMASTER GUI FTDI cable Figure 12. RDAIRBAGPSI5-1 Configured for ARP Evaluation Using FreeMASTER GUI RDAIRPABPSI5UG , Rev. 2.0...
Page 24
In order to perform the demonstration examples, set up the reference platform hardware and software as follows. All software tools can be downloaded under Software & Tools tab of the RDAIRBAGPSI5 webpage. Registration might be required in order to get access to the relevant files.
Page 25
Installing the Software and Setting up the Hardware 9. Open "File/Start communication" to establish the connection. See Figure Figure 14. ARP Graphical User Interface File/Start At the bottom of the GUI screen, a message "Communication With Reference Board Works Properly" should appear. Once the steps above are all accomplished, proceed to using the GUI for evaluation.
Installing the Software and Setting up the Hardware 6.2.7 Troubleshooting If this message box appears immediately after launching the ARP GUI, select OK and proceed to the following steps: Figure 15. Unspecified Error Window 1. In Project menu, under Options -> Comm tab, select correct COM port associated with the FTDI cable now connected to the host computer.
Page 27
SW Reference Platform APIs in order to build their own SW application. RDAIRBAGPSI5 can be configured to modify the MCU Software code using CodeWarrior to download a customized firmware. The following sections describe all steps required to configure RDAIRBAGPSI5 for MCU Software development.
Page 28
Freescale’s Power Architecture® MPC5xx line of microprocessors. This accessory will be needed to flash the MCU using Freescale CodeWarrior 10.5 or greater. See Figure Figure 18. P&E USB Multilink Debugger 6.3.3 Configuring the Hardware using CodeWarrior Figure 19. RDAIRBAGPSI5 Configured for MCU Software Development RDAIRPABPSI5UG , Rev. 2.0 Freescale Semiconductor, Inc.
Page 29
Installing the Software and Setting up the Hardware In order to perform the demonstration examples, first setup the evaluation board hardware and software as follows: 1. Connect the P&E USB Multilink Debugger between the reference design board and the computer. 2.
Page 30
Installing the Software and Setting up the Hardware Table 22: Airbag System Basis Chip SW Driver API (continued) Spi_Channel [in] This function provides sensor request/response to retrieve sensor Asbc_ReadSensor SequenceIdentifier [in] Asbc_ReturnType data from satellite interface block. LogicalChannel [in] Spi_Channel [in] Update the ASBC Watchdog.
Page 31
Installing the Software and Setting up the Hardware • Asbc_SafingOffsetErr - safing offset error • Asbc_SafingMode - safing mode status • Asbc_SafingDataCount - number of digital sensor messages received with valid sensor data • Safing threshold settings - these parameters are returned the same values as described in the initialization function •...
Page 32
Installing the Software and Setting up the Hardware Parameters of the Asbc_SetPsi5Mode API function: • Spi_Channel (Asbc_SpiChannelType) - logical SPI channel number (not physical SPI channel) • Config (Asbc_Psi5ConfigType) input configuration structure of the ASBC PSI5 interface: • Asbc_PSI5Chann1Mode (Asbc_PSI5Chann1ModeType) - PSI5 channel 1 mode - Synchronous SATSYNC (Steered Mode) or Synchronous TDM Mode •...
Page 33
Installing the Software and Setting up the Hardware Parameters of the Asbc_GetGpoStatus API function: • Spi_Channel (Asbc_SpiChannelType) - logical SPI channel number (not physical SPI channel) • GpoChannel (Asbc_GpoChannelType) - selected GPO pin • Status (Asbc_GpoStatusType) output structure containing the status of the selected output: •...
Page 34
Installing the Software and Setting up the Hardware Table 23: Central Accelerometer SW Driver API (continued) Spi_Channel [in] Acc_ProgramCmd RegAddress [in] Data [in] Acc_ReturnType Read/write independently any IC register. SpiResponse [out] 6.5.1 ACC API Parameters Detail Descriptions A brief description of input and output API parameters is in the following paragraphs. Descriptions contain only a verbal description of the parameter.
Page 35
Installing the Software and Setting up the Hardware • Acc_Y_OffsetOverRange - the offset monitor over range flag is set if the acceleration signal of the Y axis reaches the specified offset limit • Acc_SpiMisoError - the MISO data mismatch flag is set when a MISO Data mismatch fault occurs •...
Page 36
Installing the Software and Setting up the Hardware • Acc_X_OffsetOverRange - the offset monitor over range flag is set if the acceleration signal of the X axis reaches the specified offset limit • Acc_Y_OffsetOverRange - the offset monitor over range flag is set if the acceleration signal of the Y axis reaches the specified offset limit •...
Page 37
Installing the Software and Setting up the Hardware Parameters of the Squib_GetStatus API function: • Spi_Channel (Squib_SpiChannelType) - logical SPI channel number (not physical SPI channel) • Status (Squib_StatusType) output status structure containing the complete status of the ACC • Squib_Stat1ACurrTime - firing current in 1A squib line and records the "ON"...
Page 38
Installing the Software and Setting up the Hardware • Squib_StatV1diagV1 - firing supply voltage status - VDIAG_V1 voltage on the VDIAG1 pin • Squib_StatV1diagV2 - firing supply voltage status - VDIAG_V2 voltage on the VDIAG1 pin • Squib_StatV1diagV3 - firing supply voltage status - VDIAG_V3 voltage on the VDIAG1 pin •...
Bill of Material Bill of Material Table 25: Bill of Materials Assy Schematic Label Value Part Number Description Package Freescale Components SPC5602PEF0MLL6 Freescale 32-bit MCU LQFP100 MCZ33789BAE Freescale Airbag System Basis Chip LQFP64 MC33797BPEW Freescale Squibs Driver (4 ch) SO32 U4, U5 MMA6813KW Freescale Medium-g XY-axis Crash Sensor...
Page 47
Bill of Material Table 25: Bill of Materials (continued) 1000 pF CAP CER 1000 PF 25 V 5% C0G CC0603 CC0603 C6,C7 10 pF CAP CER 10 PF 50 V 5% C0G 0402 0402_CC C8,C91 4.7 uF CAP CER 4.7uF 25V 10% X7R 1206 CC1206 C10,C16 0.01 uF...
Page 48
Bill of Material Table 25: Bill of Materials (continued) 330 pF CAP CER 330 PF 50 V 5% C0G 0603 CC0603 47 uF 6032-28 CAP TANT ESR = 0.350 Ohm 47 UF 16 V 10% CC6032 1.0 uF CAP CER 1.0 UF 25 V 5% X7R 1206 CC1206 220 pF CAP CER 220 PF 50 V 10% X7R 0603...
Page 49
Bill of Material Table 25: Bill of Materials (continued) R42,R43,R44,R45 3.3 Ohm RK73H1JTTD3R30F RES MF 3.3 Ohm 1/10 W 1% 0603 RC0603 215 Ohm CRCW2010215RFKEF RES MF 215 Ohm 1/2 W 1% RC2010 100 KOhm CRCW0603100KJNEA RES MF 100 K 1/10 W 5% RC0603 1.0 KOhm CRCW12061K00FKEA RES MF 1.00 K 1/4 W 1% 1206...
References References Following are URLs where you can obtain information on related Freescale products and application solutions: Freescale.com Description Support Pages RDAIRBAGPSI5 Product Summary http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDAIRBAGPSI5 Page MPC560xP Product Summary http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC560xP Page Product Summary MC33789 http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC33789 Page MMA68xxKW Product Summary http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MMA68xxKW...
8/2014 • Initial Release 10/2014 • Added kit contents for RDAIRBAGPSI5-1 • Updated Required Equipment section • Added Figure 12 (configuration diagram for the RDAIRBAGPSI5-1 kit using the wiring harness, and ECU cable connector) RDAIRPABPSI5UG , Rev. 2.0 Freescale Semiconductor...
Page 52
How to Reach Us: Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based Home Page: freescale.com on the information in this document.
Need help?
Do you have a question about the RDAIRBAGPSI5 and is the answer not in the manual?
Questions and answers