Hello everyone,
I found that MC33771 MBD toolbox is given under S32K1 tool .And I found the advice about the configuration of MPC5744 and MC33772B (MPC5744P &MC33771B Configuration)
Now I want to use MBDT to establish model to configurate MPC577B and MC33771C. I want to know if there is a corresponding tool chain now.
If there is not tool , could someone provide a demo or description file to help me build model to connect MPC577B and MC33771C?
Look forward to your reply.
Thank you!
Hello @Albert228,
Unfortunately, for the MPC we do not provide any ready to be added blocks to control the BCCs and also we do not have any ready to run examples using custom code.
However, the article you have mentioned MPC5744P-and-MC33771-Configuration alongside the article mentioned on How-to-use-your-own-C-code-in-our-Toolbox-Battery-Management are the proper materials to guide you on how to use custom code to communicate between MPC33775B and MC33771 B/C. You could start from the MPC5744 example, change the hardware part, and then identify the SPI interfaces alongisde their pins.
Hope this helps,
Marius
Hello @mariuslucianand,
I followed the way MPC5744P-and-MC33771-Configuration and download the archive, and open the model in R2022b.The model could be built when the MCU is set to MPC5744p.However,when the MCU is set to MPC577B,an error is displayed in the next picture.
I found that 'SIUL0_CLK'used in 'mbdt_utils.c' declared in the file of 'MPC5744P_features.h'.I think I should use 'MPC5775B_features.h' in my project.But 'SIUL0_CLK' undeclared in the file of 'MPC5775B_features.h'. So should I modify the file of 'mbdt_utils.c'?What should I do to modify the file?
Thank you.
Hello Marius,
I followed the way MPC5744P-and-MC33771-Configuration and download the archive, and open the model in R2022b.The model could be built when the MCU is set to MPC5744p.However,when the MCU is set to MPC577B,an error is displayed in the next picture.
What should I do to finish the build when the MCU is set to MPC5775b?
Thank you.