Skip to main content
gp73
Associate III
February 26, 2020
Solved

canbus transmission

  • February 26, 2020
  • 1 reply
  • 1381 views

I'm using the demo board SPC560P - DISP and the example SPC560Pxx_RLA CAN Test Application for Discovery .

This Test Application use the CAN loopback, if I remove the flag of FlexCAN Enable Loopback in the can configuration setting I'm expecting to see the correct logic value (digital side, not after transceiver) of frame transmission on the pin 109 (CANTXD).

But I only see a noise an this pin every time there's an attempt of transmitting something.

So something in the configuration of the pin is wrong, but I don't know the correct setting.

Thanks to those who will be able to help me.

    This topic has been closed for replies.
    Best answer by gp73

    Thanks,

    yesterday I solved the problem, it was enough to correctly manage the OBE (output buffer enable) bit by removing the check mark.

    Obviously when the pin is used in alternating mode, the output buffer enable must be disabled.

    1 reply

    BEdel.1
    Associate
    February 27, 2020

    Hi gp73,

    look here: https://community.st.com/s/question/0D50X0000ArRejNSQS/spc570-can-outputs-bad-frame-independent-of-frame-parameters

    It is the SPC570S-DISP board but your description sounds similar.

    Best regards

    Ben

    gp73
    gp73AuthorBest answer
    Associate III
    February 27, 2020

    Thanks,

    yesterday I solved the problem, it was enough to correctly manage the OBE (output buffer enable) bit by removing the check mark.

    Obviously when the pin is used in alternating mode, the output buffer enable must be disabled.