background image

MPC5775B BMS 

p

lus VCU Reference Design

 

User Guide

NXP Semiconductors

Document identifier: MPC5775BDCRDUG

Rev. 0, February 2020

Summary of Contents for MPC5775B

Page 1: ...MPC5775B BMS plus VCU Reference Design User Guide NXP Semiconductors Document identifier MPC5775BDCRDUG Rev 0 February 2020...

Page 2: ...er 2 Hardware User Guide 4 Chapter 3 Software User Guide 25 Chapter 4 GUI user guide 39 Chapter 5 Bootloader User Guide 41 NXP Semiconductors MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 Fe...

Page 3: ...following table provides a list and description of acronyms used throughout this document Table 1 Acronyms and abbreviations Acronym Description PDC Powertrain Domain Controller EV Electric Vehicle BM...

Page 4: ...Chapter 2 Hardware User Guide 2 1 Overview Figure 1 Master board NXP Semiconductors MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 February 2020 Supporting Information 4 47...

Page 5: ...LEDs One user reset switch with reset status LEDs Two user LEDs is connected to GPIO for test Standard 14 pin JTAG debug connector One Mbit Automotive external EEPROMs with SPI 1 Automotive tiny Real...

Page 6: ...fit for ASIL D It consists of multiple switching and linear voltage regulators When external power typical 12 V automotive DC power supply with current limit 600 mA is applied to jumper J8 connector o...

Page 7: ...imum output voltage 3 3 V VCCA VAUX voltage selection Table 2 VCCA and VAUX configuration VCCA V VAUX V R select Recommended value 3 3 3 3 6 0 k 5 1 k 5 0 5 0 5 0 10 8 13 2 k 12 k 5 0 3 3 5 0 21 6 26...

Page 8: ...reset MCU via SBC_RSTB pin The following figure shows the board supports multiple MCU reset methods like SBC JTAG and Switch Reset SW1 Figure 5 Board reset circuit NXP Semiconductors Hardware User Gui...

Page 9: ...onfiguration The VDDEH and VDDE is MCU I O supply voltage connected to VCCA 3 3V from SBC and VDDA_EQ is eQADC supply voltage connected to VAUX 5V 2 3 3 MCU external clock circuit In addition to the i...

Page 10: ...er Mini USB connector interfaced with FT232RQ is connected to MCU eSCI_C port AD22 AF23 USB to serial UART chip U17 The USB to serial UART connection is shown in the following figure Can connect to PC...

Page 11: ...rt AE19 AF19 TJA1045T FD U6 is a High speed CAN transceiver for partial networking and connected to MCU MCAN1 FlexCAN_D port AC20 AD20 TJA1045T FD must be drove through DSPI The SPI signal is transfer...

Page 12: ...PHY The master board includes support for 100M base T1 Automotive Ethernet PHY TJA1101 U9 utilizing the normal MII lite It is clocked by 25 MHz external oscillator Y2 The default physical address is...

Page 13: ...channels are routed to J8 to measure external analog signal such as pedal sensor signal through ADC input signal process circuit as shown in the following figure In addition to MCU_AIN4 channel suppo...

Page 14: ...hrough clamp circuit to MCU port MCU_DIN0 MCU_DIN5 In addition to MCU_DIN4 and MCU_DIN5 channels support 0 12V digital signal input from J8 other channels only support 0 5V as shown in the following f...

Page 15: ...he MCU through DSPI2 with CS1 As shown in the following figure the master board enables SG0 SG9 as digital input SP0 SP4 as analog input these port is connect to J8 and MCU read switch status via DPSI...

Page 16: ...the MCU_PWM_IN0 1 is routed to MCU eMIOS channels 1 2 The user can use eMIOS mode Pulse width measurement mode to measure PWM signal its amplitudes range from 3 3 V to 12 V NXP Semiconductors Hardwar...

Page 17: ...Cooling Fans 1 2 V dc 4 8 A Heater 12 V dc 40 W The master board use an extreme switch devices NXP Quad high side switch MC15XS3400 U15 to drive these loads it is supplied by 12 V dc power It can prov...

Page 18: ...er supply and communications TPL communication daisy chain between slave boards is above 3750 V dc by device The MC33664 is a transceiver physical layer transformer driver designed to interface a MCU...

Page 19: ...on but the MPC5775B has no I2C interface so it can only be implemented by using the GPIO V25 V26 to simulate I2C protocol The default devices address is 0x51 Figure 21 RTC circuit NXP Semiconductors H...

Page 20: ...ite data through DSPI0 with CS1 Figure 22 NVM circuit 2 4 130 pin ECU connector There is a 130 pin ECU connector onboard consisting of two parts of header M1 and M2 Figure 23 130 pin ECU connector NXP...

Page 21: ...ll the connections to the master board interface connector Table 3 Board interface connector details Connector Signal Description Connector Signal Description A11 VBAT Power supply A21 GND Digital GND...

Page 22: ...12 CAN1_H MCAN0 D22 ALT_PP_AIN2 Accelerator pedal signal 2 D13 CAN2_H MCAN1 D23 BRK_PP_AIN1 Brake pedal signal 1 D14 NC Not connected D24 BRK_PP_AIN2 Brake pedal signal 2 D15 KL15_WAKE SBC IO0 Wake UP...

Page 23: ..._5V0 5V supply for vacuum pump pressure sensor H22 PWM_IN1 PWM input H13 BRK_PS_5V0 5V supply for Brake pedal H23 GND Digital GND H14 BRK_PS_5V0 5V supply for Brake pedal H24 GND Digital GND H15 CRUSH...

Page 24: ...11 GND Digital GND M21 TPL2_RDTX_N TPL2 Differential signal M12 GND Digital GND M22 TPL2_RDTX_P TPL2 Differential signal M13 GND Digital GND M23 NC Not connected M14 GND Digital GND M24 TPL1_RDTX_N TP...

Page 25: ...3 0 0 Compiler GCC E200 VLE GNU Compiler 4 9 4 Debugger P E multilink with P E GDB Server Lauterbach TRACE32 JTAG debugger use run cmm script to debug CAN Adaptor PCAN USB Pro There is an issue in SDK...

Page 26: ...ly run on core 0 The following table shows the file structure Table 4 SDK project files Folders Files Descriptions settings contains customized project settings bin contains generated object file bin...

Page 27: ...5 Source files Files Descriptions Files with pdc prefix contain codes for PDC applications Files with bcc prefix contain drivers of MC3377x include MC33772 MC33771B and MC33771C Files with sbc prefix...

Page 28: ...t its name and browse for elf srec hex file Figure 29 Create new configuration 3 Select MCU and specific core you are targeting NXP Semiconductors Software User Guide MPC5775B BMS Plus VCU Reference D...

Page 29: ...ion for some module that need to run only once Finally it creates other tasks that system requires Start the RTOS scheduler SDK project uses FreeRTOS to implement multitasking The project mainly has f...

Page 30: ...messages on CAN bus once every 100ms Once having received commands on CAN bus UDS Task will execute UDS protocol and jump to bootloader The default GCC optimization is O2 in the demo project NOTE 3 2...

Page 31: ...Figure 33 EB tresos Figure 34 Lauterbach debugger NXP Semiconductors Software User Guide MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 February 2020 Supporting Information 31 47...

Page 32: ...s application header files with pdc_ prefix make contains makefiles used for building the application src contains application source code files toolchains contains files needed to build with various...

Page 33: ...files Files Descriptions Files with pdc prefix contain codes for PDC applications Files with bcc prefix contain drivers of MC3377x include MC33772 MC33771B and MC33771C Files with sbc prefix contain...

Page 34: ...un cmm in root directory to download elf file into flash Figure 37 Browse script file 3 Click Go button to run NXP Semiconductors Software User Guide MPC5775B BMS Plus VCU Reference Design User Guide...

Page 35: ...select File Import from the IDE menu Choose import source page appears Click Browse and select the project folder Tresos workspace click Finish NXP Semiconductors Software User Guide MPC5775B BMS Plu...

Page 36: ...uble click the project name PDC_5775B_MCAL and click generate button Figure 40 Generate code NXP Semiconductors Software User Guide MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 February 202...

Page 37: ...t in command window Errors warnings and compilation information can be check here Figure 42 Build result 6 You can run clear bat to clear output objects in unexpected situations and build again Recomm...

Page 38: ...and there is no OS to guarantee the schedule can meet UDS timing requirements Once having received commands on CAN bus UDS Task will execute UDS protocol and jump to bootloader VCU Task checks gear p...

Page 39: ...s BMS and VCU task together While BMS Reset and VCU Reset button reset BMS and VCU task separately 5 Total voltage current not measured in this demo and fault information is displayed 6 This indicator...

Page 40: ...Figure 45 BCC data page NXP Semiconductors GUI user guide MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 February 2020 Supporting Information 40 47...

Page 41: ...Download MPC577XX_CAN_bootloader elf into flash by PE in S32DS or Lauterbach with run cmm 2 Allocate flash memory of the application Unpack Bootloader_Settings zip to replace original files then comp...

Page 42: ...nfiguration file can_uds json in bootloader_bin folder Fill in the CRC value calculated in Step 4 NXP Semiconductors Bootloader User Guide MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 Febru...

Page 43: ...paths of MPC577XX_flash_drv bin and app bin here PDC_5775B_MCAL bin Figure 49 Path of MPC577XX_flash_drv bin example NXP Semiconductors Bootloader User Guide MPC5775B BMS Plus VCU Reference Design Us...

Page 44: ...ick Connect Device on the right top Select and fill values as shown below and then click Connect button Note that target address and source address are fixed as 0x55 and 0x35 NXP Semiconductors Bootlo...

Page 45: ...Figure 51 Parameters for connecting device NXP Semiconductors Bootloader User Guide MPC5775B BMS Plus VCU Reference Design User Guide Rev 0 February 2020 Supporting Information 45 47...

Page 46: ...8 Execute bootloader procedure Click Execute Schedule Service button to execute bootloader procedure Wait the process to succeed You can repeat Step 4 5 and 8 to download apps through bootloader again...

Page 47: ...esign and operating safeguards to minimize the risks associated with their applications and products NXP the NXP logo NXP SECURE CONNECTIONS FOR A SMARTER WORLD COOLFLUX EMBRACE GREENCHIP HITAG I2C BU...

Page 48: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP RDVCU5775EVM...

Reviews: