cancel
Showing results for 
Search instead for 
Did you mean: 

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

DRama.1
Associate

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.

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
PKavv.1
Associate II

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?