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,895 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.


capture.JPG

 

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)

figure1.JPG

peripherals_init.c (line 88)

figure1.JPG

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?

Labels (1)
0 Kudos
1 Solution
1,861 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Seyoung,

please see below an answer from an application engineer.

DESCRIPTION

The CAN or UART connection is describing just physical layer which is transferring data to FreeMASTER based GUI. The functionality of this demo is the same with both interfaces. Please don’t expect other functions became available when CAN is used.

 

Only some of the USB-CAN converter are supported by FreeMASTER. The list of supported devices are available in FreeMATER. Other devices are not supported. Board was tested with Vector and Kvaser converters.

 

To change form UART to CAN you should apply only following settings:  

JozefKozon_0-1635859661541.jpeg

So maybe switching to FMSTR_POLL_DRIVEN mode will solve your problem.

With Best Regards,

Jozef

View solution in original post

2 Replies
1,862 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Seyoung,

please see below an answer from an application engineer.

DESCRIPTION

The CAN or UART connection is describing just physical layer which is transferring data to FreeMASTER based GUI. The functionality of this demo is the same with both interfaces. Please don’t expect other functions became available when CAN is used.

 

Only some of the USB-CAN converter are supported by FreeMASTER. The list of supported devices are available in FreeMATER. Other devices are not supported. Board was tested with Vector and Kvaser converters.

 

To change form UART to CAN you should apply only following settings:  

JozefKozon_0-1635859661541.jpeg

So maybe switching to FMSTR_POLL_DRIVEN mode will solve your problem.

With Best Regards,

Jozef

1,843 Views
seyoung
Contributor II

Hi! Jozef.

Thank you so much for your reply.
As you said, it was possible to solve this by polling.

Thanks again for your kind reply!