48V BMS NXP S32K1 MCU SPI communication with BQ79656 BMS IC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

48V BMS NXP S32K1 MCU SPI communication with BQ79656 BMS IC

468 Views
KVK
Contributor II

Hi..

We are working on a 48V BMS project where we are using NXP S32K146 MCU and BQ79656 AFE with a BQ79600 SPI communication bridge IC.

We are working with EVBs and MBD toolchain but are finding it difficult to get some things done. Need your support on an urgent basis.

We are able to wakeup the AFE chip. However, as a part of the Auto Addressing Sequence, we need to write and read a set of values to the AFE registers.

 Below is the Auto Addressing sequence to be followed:

KVK_0-1695395852854.png

 

While executing the Steps 8-10, it is required for us to ensure nCS pin is pulled down before reading each register and pulled high after reading is done.

KVK_1-1695395852890.png

 

Now, how do we achieve this using MBDT? Need to understand if the CS pin is pulled down by default after sending read command from LPSPI block's Tx to first transmit and then receive the data from the Slave?

Please help. It has been a month that we are struggling with this issue now.

Regards

Vamshi

Tags (3)
0 Kudos
Reply
0 Replies