S32K348 HVBMS 800 - NO BJB MBDT code generation and flash

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

S32K348 HVBMS 800 - NO BJB MBDT code generation and flash

Jump to solution
413 Views
ShivaB
Contributor III

Dear NXP Team,

We want to connect only CMU and S32K348 MC with a TPL along with 18Cell emulator but want to discard or not connect BJB for initial setup .

Since the RD-HVBMSCT800BUN Read S32CT model is already configured with Battery Junction Box.

1. Is there anything to be done in configuration to remove Battery Junction Box ?

2. If I am not connecting Battery Junction Box , try to power on CMU and S32K348,will the code flash without any errors since BJB is not connected? 

 

Regards,

Shiva 

0 Kudos
Reply
1 Solution
227 Views
ShivaB
Contributor III
Thank you. We managed to do the above and the setup works fine. I have another query on weird behavior of cell voltages on CAN which came up when I tried to monitor min and max voltages for individual cell strings . Please help on the ticket below.

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Solver-settings-in-Matlab-HVBMSSCTBUN/t...

View solution in original post

0 Kudos
Reply
3 Replies
244 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @ShivaB,

Thank you for your interest in our MBDT for BMS!

I will try to answer your questions below:

1. Is there anything to be done in configuration to remove Battery Junction Box ?

There are three main components/locations related with the Battery Junction Box: hardware configuration, BCCs initialization and the communication with the BCC at runtime.

  1. The hardware configuration is achieved through the S32CT or EBT, in this case the S32CT. These components related with the BJB are: Bcc_772C, and the Bms_common where the settings related to the BJB and Transactions descriptors are stored, while the Phy_665a contains mainly the TPL type of the TPL busses configured in the transceiver. To be honest, if you don't have a BJB for now, you can leave the settings untouched and get rid of the configuration later, if no BJB will be added to your system.
  2. Hardware Initialization: Initialization is performed into 2 main parts:
    1. Board Initialization, which configures the BCC_772C RTD driver component. This entry is configured from the Model Settings, and initializes the BCC_772C component. It can be disabled following the pattern below:mariuslucianand_0-1732119979130.png
    2. The Initialization of each BCC device - on the BJB there are 2 BCCx772C which works together for the redundancy. In order to work properly, they need to be enumerated, so that they receive each an BCC ID. This process can be commented in the Initialize Function, the INIT_772C.mariuslucianand_1-1732120190614.png

       

    3.  The periodic Current measurements, which starts the global conversion and each step time it reads the measured BCC analog values. Also needs to be commented when no BJB is used. mariuslucianand_2-1732120239920.png

 

2. If I am not connecting Battery Junction Box , try to power on CMU and S32K348,will the code flash without any errors since BJB is not connected? 

Of course the application will show errors and timeouts when you are not connecting the BJB, but the CMU part shall work as expected.

Hope this helps,
Marius

0 Kudos
Reply
228 Views
ShivaB
Contributor III
Thank you. We managed to do the above and the setup works fine. I have another query on weird behavior of cell voltages on CAN which came up when I tried to monitor min and max voltages for individual cell strings . Please help on the ticket below.

https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Solver-settings-in-Matlab-HVBMSSCTBUN/t...
0 Kudos
Reply
389 Views
ShivaB
Contributor III

Can someone respond on this please ? 

0 Kudos
Reply