NTBMS Evalution Board CAN Communication Error

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

NTBMS Evalution Board CAN Communication Error

Jump to solution
1,246 Views
seyoung
Contributor II

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.

 

seyoung_0-1635246746638.jpeg

 

 

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)

seyoung_1-1635246746580.jpeg

 

peripherals_init.c (line 88)

seyoung_2-1635246746662.jpeg

 

freemaster_cfg.h (line 25)

figure1.JPG

 

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?

0 Kudos
1 Solution
1,220 Views
mariuslucianand
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
3 Replies
1,199 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hello @seyoung ,

I'm not familiar with this reference design but let me share my findings.

1.

lukaszadrapa_0-1635855145791.png

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:

lukaszadrapa_1-1635855251368.png

 

And this should enable the CAN:

lukaszadrapa_2-1635855285035.png

You can check if this function is called.

Regards,

Lukas

0 Kudos
1,221 Views
mariuslucianand
NXP Employee
NXP Employee

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

0 Kudos
1,214 Views
seyoung
Contributor II

Yes, it is.
I didn't know exactly where to inquire about the above.

Where can I inquire?

0 Kudos