This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/BQ76PL455EVM: tms57004 launchpad

Part Number: BQ76PL455EVM

Tool/software: Code Composer Studio

Hi,

I am using BQ76PL455EVM and TMS570 launchpad for cell 16 lithium ion cell balancing, voltage monitoring, temperature monitoring and communication monitoring.

i have made a following connection of SW1 and SW2:

1. SW1: 1 - up; 2,3,4 - down

2. SW2: 1 - on(towards diff side); 2 - off (towards Single side)

Also, I have removed R8 from TMS board. I have connected the serial port pins as shown in the sample code document.

I am using the sample code provided for communicating TMS570 launchpad and BQ76PL455EVM. I have imported, build and loaded the code in CCSv7 on the launchpad.

please find the snippet of code:

 // Clear all faults
    nSent = WriteReg(0, 82, 0xFFC0, 2, FRMWRT_ALL_NR);// clear all fault summary flags
    nSent = WriteReg(0, 81, 0x38, 1, FRMWRT_ALL_NR); // clear fault flags in the system status register

The registers 81 and 82 are allocated in BQ76PL455EVM.

1. How can I access these register values in CCSv7 to check whether this register is written or not ?

Thanks

Ritul Shah

  • Ritul,

    If the 455 device is the master (bottom device communicating to MCU through UART) both actuators on SW2 should be set to "SINGLE". If it is a stacked device, both actuators should be in the "DIFF" position to make sure everything is biased correctly.


    To verify that the 455 register has been written correctly, you can use the ReadReg function in our example code. This will store the information of the 455 register into a variable on the TMS570. From there, you can process the data or watch it yourself by setting a breakpoint in CCS and watching the TMS570 variable update.