Hellow, NXP
I'm testing the NTBMS Evalution Board sold by NXP.
(https://www.nxp.com/design/designs/newtec-battery-management-system-bms-reference-design:NEWTEC-NTBM...)
Tested by connecting the Freemaster App with the provided software.
Software delivery link: (https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true)
Several actions could be checked through UART communication. However, CAN communication is not connected.
I am getting an error as shown below.
Please answer the two questions below. (Please help me...)
1. The source part I changed is as follows.
Are there any additional changes that need to be made?
(I am using S32 Design Studio for ARM Version: 2018.R1.)
main.c (line 113)
peripherals_init.c (line 88)
freemaster_cfg.h (line 25)
2. Data waveform changes between PC<->FS4500 when performing Test Connection in Freemaster, but there is no change between FS4500<->MPC. I think that I need to enable CAN for FS65 in the AppInit part of bms.c, is it applied?
Solved! Go to Solution.
Hello @seyoung ,
Are you trying to run on the board the reference design software delivered with the board?
I am asking this because in this Community space we are only cover topics related to the Automatic Code generation from Matlab and Simulink environment.
Regards,
Marius
Hello @seyoung ,
I'm not familiar with this reference design but let me share my findings.
1.
It says that if you are going to use CAN, FMSTR_POLL_DRIVEN should be configured to '1'. So, no interrupts are needed.
2. At the end of FS45xx initialization in AppInit, you can find:
And this should enable the CAN:
You can check if this function is called.
Regards,
Lukas
Hello @seyoung ,
Are you trying to run on the board the reference design software delivered with the board?
I am asking this because in this Community space we are only cover topics related to the Automatic Code generation from Matlab and Simulink environment.
Regards,
Marius
Yes, it is.
I didn't know exactly where to inquire about the above.
Where can I inquire?