I am trying to run above example https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/BMS-amp-MBDT-MC33771B-MC33772B-SPI-communi... my model successfully flash into s32k board but in freemster its not show any output I creat same circuit that explain in above document please help me why I am not getting output
Hello @shukla007,
From what I've seen in the attached video, you are using a dedicated device for emulating the battery pack. I want to first ask you to please check the connections you have performed between the device and the MC3377 battery cell controller. For a complete schematic, there is a screen shot here, that might support you with that https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...
Now, regarding the FreeMASTER, I would kindly ask you to link again the generated elf. file in the FreeMASTER project. For such action, please go to Project -> Options -> MAP Files and under Default symbol file, please browse for the .elf file inside the generated code folder.
From your video, I could see that the FreeMASTER is connected. In case the proposed solution is not working, could you please tell me the MATLAB version you are trying to run the example from?
Regards,
Marius
Hello @mariuslucianand
Thanks for solution that I asked, after that my I am getting output but My s32k board unable to read 13,14 cell voltage and cell 1 and cell 2 is also not giving right output
And I am using matlab 2022b version