Projects and tutorials
Battery Management System (BMS) demo
Note: Numbers correspond to the steps to follow for setup.
Connect BATT-14CEMULATOR and RD33771CDSTEVB
Connect the battery cell emulator board (BATT-14CEMULATOR) and the battery cell controller board (RD33771CDSTEVB) using Cable_1.
Connect RD33771CDSTEVB and RDVCU5775EVM for TPL link
Connect the battery management controller board (RDVCU5775EVM) with battery cell controller board (RD33771CDSTEVB) using Cable_2. This will establish the TPL link for communication.
||TPL1 negative terminal
||TPL1 positive terminal
Note: Make sure that “+” of RDVCU5775EVM is connected to “+” of RD33771CDSTEVB.
Connect the CAN with PCAN tool
CAN_L signals of RDVCU5775EVM to PCAN USB
CAN_H (pin 7) and
CAN-L (pin 2) via
two jumper cables.
Connect the USB serial cable
Connect the RDVCU5775EVM board to PC via the USB serial cable.
Setup Tera Term Console
Open Tera Term on Windows® PC.
Select the serial port to which the micro USB of the development board is connected and click OK.
Go to Setup > Serial Port and select
115200 as the baud rate.
Power up RDVCU5775EVM
Connect 12 V power supply to RDVCU5775EVM.
Make sure the status LEDs
D16 and D32 for voltage levels 3.3 V, 5 V, 1.25 V and 12 V supply respectively are glowing yellow on the board.
Power up BATT-14CEMULATOR and RD33771CDSTEVB
Connect the power supply to the BATT-14CEMULATOR.
RD33771CDSTEVB is powered at the same time.
Connect the P&E Multilink between PC and RDVCU5775EVM board
Preparation before importing the SDK project
Unzip the file Bootloader_Settings.zip that is located in
[PROJECT_DIR] \PDC_5775B_SDK_Z7_0\Project_Settings to replace the folders.
Import the SDK project to S32DS
Note: Make sure to follow up the below IDE and SDK.
S32 Design Studio for Power Architecture@ 2017.R1.
S32 Design Studio for Power Architecture 2017.R1 Update 11 SDK PA RTM 3.0.0.
Generate processor expert codes
Note: After generating code, please modify the macro
PIT_CLOCK_NAMES from “PITRTI0_CLK” to “PER_CLK” at
MPC5775B_features.h is located in
Debug your code
Select “Debug” and click the hammer icon to build the project.
Download to the MCU
Download the elf file to MCU.
Check the running status of the application
D46 on RDVCU5775EVM board should blink at different frequencies.
The board self-test message should be shown on the terminal.
Run the GUI software
Open the windows “Command Prompt” and execute the
python Main.py in the command shell.
Make sure you first install the Python 3.7 64-bit version and necessary packages PyQt5 and NumPy prior to the above step.
Refer to the readme file in the downloaded software GUI folder.
Setup the GUI connection via PCAN USB
Select CAN Port and CAN baud rate to 500Kbps.
Click “Start” to establish the connection with RDVCU5775EVM.
Click “BMS Reset” to reset the BMS task in application.
Input the related NTC parameters and click “OK”.
System running information including CAN connection status, MCU software version, battery pack information after communication has been established:
Adjust the battery levels via BATT-14CEMULATOR and observe the GUI for individual cell data in “BCCDATA” tab.