cancel
Showing results for 
Search instead for 
Did you mean: 

SPC570S-DISP CAN Frame Error

SKim.19
Associate II

0693W000006GPy2QAG.bmpI'm currently trying to transmit the CAN frames using SPC570S-DISP.

I applied it to the SPC570S-DISP using only the example source code.

However, the CAN TX signal is output as shown in the picture above.

0693W000006GYKpQAO.pngUpper the picture is the peripheral Register set value.

FLT_CONF is setting Bus off status and to be generating the Tx_Error_Counter.

I think the Can Test Application source code seems to have a problem.

If anyone has solved this issue, please help.

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
5 REPLIES 5
Erwan YVIN
ST Employee

Hello ,

i have submitted a ticket for this issue.

Which application do you launch ?

Best regards

Erwan

SKim.19
Associate II

Hello

Thank you for interesting in my question.

I`m using SPC5Studio.

and the example program.

using to steer unit for autonomous vehicle

Thank you.

Erwan YVIN
ST Employee

0693W000007Anj0QAC.png0693W000007AnkBQAS.pngHello ,

SPC570S CAN demo configures the CAN in loopback mode. So, there is n output.

In order to enable output, loopback configuration flag has not to be checked. See attached pictures.

Best regards

Erwan

Giuseppe DI-GIORE
ST Employee

Hello,

do not forget to configure also the external pins:

  • PD9 FlexCAN0 - RX
  • PD10 FlexCAN0 - TX

and close JP6 and JP8

See page 4/9 in schematics [link]

Regards,

Giuseppe

SKim.19
Associate II

Hello,

Thank you for interesting in my issue.

Giuseppe and Erwan said the external pin and the loopback check box.

I modified. but it's the same result.

if the loopback check box is enabled or the external pin is not set then the signal is not generated.

I don't know the reason for what is a strange signal. 

Would you check the CAN Example using the STC570S50 chip in SPC570S-DISP Board? 

Help me, please.

Thank you.