Skip to main content
DRama.1
Visitor II
December 30, 2019
Question

CAN Protocol isn't working fine in Receiver side on normal mode.Why is it not acknowledging the transmitted data?

  • December 30, 2019
  • 2 replies
  • 724 views

Hi, I have tried transmitting data bytes in Tx ,which is correct along with CRC, As, no acknowledgement is found from receiver side, it retransmits continously and ofetn leading to error frames.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 30, 2019

Do the receiver get the messages?

Bus properly terminated? Quanta set appropriately for baud rate, and baud rate within tolerance?

Clocking from crystal base source?

Reviewed with a protocol analyzer?

Some specific "STM32" device?

Custom board, or ST EVAL board?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
PKavv.1
Associate
January 23, 2020

Hello DRama.1,

I believe I have a similar issue with acknowledgements. I have two STM32G431KB devices attached to the CAN bus. Both of them are senders and there is (currently) no need for them to receive data. If the "master" device on the CAN network isn't online, the STMs are most likely generating error frames and eventually stop sending data for ever (I checked it with a scope).

It seems like the STMs don't acknowledge any device on the network, which is bad. Is there a piece of code which I have to add in order to acknowledge any data on the bus or is it something with the set filters?