Skip to main content
SKara.7
Associate III
June 23, 2022
Question

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

  • June 23, 2022
  • 2 replies
  • 2193 views

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

This topic has been closed for replies.

2 replies

Erwan YVIN
ST Employee
June 30, 2022

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
SKara.7Author
Associate III
June 30, 2022

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