MPC5775B daisy chain

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

MPC5775B daisy chain

415 Views
FernandoQian
Contributor I

Hi everyone,

I'm developing BMS(Battery Management Controller) with MPC5775B. The hardware I am using is MPC5775B and MC33771 high-voltage BMS Evaluation System | NXP Semiconductors with MPC5775B as MASTER and MC33771 as SLAVE. Currently I am using simulink MBDT and only MASTER board is implemented. I have no clue how to daisy chain SLAVEs. Is there any sample code for daisy chain configuration?

Best Regards.

0 Kudos
Reply
2 Replies

353 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @FernandoQian 

There are no dedicated blocks in Simulink for the setup you mention in Model-Based Design Toolbox and unfortunately, there is no ready to run example for that too. However, in the past, we have provided a custom code example for the MPC5744P with MC33771B which you can find here and this is a good starting point for you; The MPC5774P is based on the same Power PC architecture with the MPC5775B: https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MPC5744P-and-MC33771-Configuration/m-p/...

Since you have to do this with custom code insertion in C, another good resource for your project is the following article which shows you how to integrate code for the MC33771 driver: https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...

One note here: The above examples targets the MC33771B. Please make sure you check first which version of the MC33771 you are targeting: MC33771B or MC33771C. The C SDK which needs to be included are different and you can find them at the following links:

MC33771B SDK (under Downloads section): https://www.nxp.com/design/design-center/software/analog-expert-software-and-tools/sdk-analog-expert...

MC33771C SDK(under Software, Secure content): https://www.nxp.com/products/MC33771C

Hope this helps,

Marius 

 

 

202 Views
FernandoQian
Contributor I

Hi Marius,

Thank you for your response. As I followed the steps, I encountered an error with the Simulink project compilation. It seems that the MC33771C driver files are missing necessary headers, which are included in the MBDT tool files. Shall I attach these headers from MBDT tool files to the bcc directory of MC33771C driver?

FernandoQian_0-1757503476525.png

Regards

Fernando Qian

Tags (1)
0 Kudos
Reply