cancel
Showing results for 
Search instead for 
Did you mean: 

SPC574S CAN communication failed。

wminx.1
Associate

When I test CAN whether it can send data successfully。 I found it always ​failed. Now I use 100pin SPC574s. I have configured can tx PB0(18),PA15(17)pin. I test using SPC5Studio 6.00 version. please help me check my project. Thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions
Giuseppe DI-GIORE
ST Employee

Hello,

I suspect you have configured FlexRay output pins and not CAN pins.

Accordingly to board schematics [link] the pin to configure for CAN are:

  • PA12 - RX
  • PA13 - TX

Also:

  • jumper JP11 must be in position 1-2

alternatively

  • set JP11 in position 2-3
  • configure PD4 as push-pull
  • drive PD4 low state

Please note that, in SPC5Studio, CAN demo configurations are in External Loopback mode,

so. output is seen on CAN bus, but no external input is received.

Regards,

Giuseppe

View solution in original post

1 REPLY 1
Giuseppe DI-GIORE
ST Employee

Hello,

I suspect you have configured FlexRay output pins and not CAN pins.

Accordingly to board schematics [link] the pin to configure for CAN are:

  • PA12 - RX
  • PA13 - TX

Also:

  • jumper JP11 must be in position 1-2

alternatively

  • set JP11 in position 2-3
  • configure PD4 as push-pull
  • drive PD4 low state

Please note that, in SPC5Studio, CAN demo configurations are in External Loopback mode,

so. output is seen on CAN bus, but no external input is received.

Regards,

Giuseppe