cancel
Showing results for 
Search instead for 
Did you mean: 

SPC584xx CAN Transmit Message sending wrong data for one sample - Intermittent Issue

SKara.7
Associate II

Hello ,

I am facing an issue wherein the CAN transmit message is sending wrong data for one sample in between the transmission. Please see the below screenshot.

0693W00000NsdjFQAR.pngT3_C1_ECU_SCIMO_PE_CTRL_MOT is a transmit frame with a cycle time of 10ms.

The transmission baudrate is 1Mbps.

As highlighted in the screenshot, the transmit message is sending garbage wrong values for 1 cycle and returns to the original value assigned from the applicaiton software.

Microcontroller platform = SPC584xx

Development toolcahin = SPC5Studio 6.0.0

Low Level Drivers = Generated by SPC5Studio

RTOS used = FreeRTOS

Please can anyone help me to understand where the issue is?

Best regards,

Sreejith

2 REPLIES 2
Erwan YVIN
ST Employee

Hello ,

I think that a deep debug is needed.

Have you checked or enabled ECR register (Transmit Error Counter or CEL)?

Do use Threads in FreeRTOS ?

Best Regards

Erwan

SKara.7
Associate II

Hi Erwan,

Thanks for the response.

I am not sure about ECR register.

I am using multiple Tasks of different time periods (10ms, 50ms, 100ms, 200ms and 1000ms) using FreeRTOS.

Please find attached the configuration.xml file that I am using with the application.

Best regards,

Sreejith