NXP 14-Cell Battery Emulator Data Extraction

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

NXP 14-Cell Battery Emulator Data Extraction

1,913 次查看
shravanm
Contributor I

Hi all,

I am currently working on creating a BMS test bench using the NXP 14-Cell Battery Emulator, the S32K144EVB-Q100 board, and the Battery Cell Controller (BCC) and S32 design studio. However, I am facing some challenges with the setup:

  1. I am unable to extract the cell values from the emulator and analyze the data.
  2. I tried building the Software Monitoring example project provided by NXP. The project built successfully, and the .elf file was generated. However, when I attempted to upload the .elf file into FreeMaster, the board was not detected and unable to load the .elf file.

Could someone guide me on how to successfully extract the data from the emulator in whichever way it can  possibly done and resolve the issue with FreeMaster not detecting the board?

Thanks in advance for your help!

0 项奖励
回复
3 回复数

1,849 次查看
shravanm
Contributor I

Hi,

Thank you for your response. I have debugged the program, and the new firmware has been successfully written to the MCU. However, after resetting the MCU, the red LED turns on, indicating that the BCC has not been initialized. According to the code, the red LED should be triggered if the BCC is not initialized.

I am using the software example for monitoring and have attached the main.c file for your review. Could you please guide me on the next steps to resolve this issue and have attached a document of the console tab for the above example project.

Looking forward to your feedback.

0 项奖励
回复

1,788 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

which example do you use in fact, where did you get it? Is there also any user guide for it?

BR, Petr

0 项奖励
回复

1,894 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi, 

if you have project in S32DS compiled successfully, just download it to the MCU using Debugger with OpenSDA interface, just follow chapter 4.4 of the board quick start guide
https://www.nxp.com/document/guide/getting-started-with-the-s32k144evb:NGS-S32K144EVB?section=build-...
Or if you have srec file as well you can use board's MSD Flash Programmer as mentioned in https://www.nxp.com/document/guide/getting-started-with-the-s32k144evb:NGS-S32K144EVB?section=opensd...

After the application is loaded to MCU, you can then connect to FreeMASTER, assuming application SW includes FreeMASTER communication driver.

BR, Petr

0 项奖励
回复