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