2024-12-17 06:02 AM
Hi everyone!
I've migrated my STM32H753 project to the new CubeMX version, and after that, something went wrong with the CAN bus communication (everything worked fine before the update). The CAN functions return no errors, and messages are being sent, but they are incorrect — I'm getting a Stuff Error on the receiver side (A Stuff Error occurs when 6 consecutive bits of the same value are detected on the bus).
I wonder if anyone else has encountered this issue and found a solution.
2024-12-17 06:08 AM
Have you used an analyser or oscilloscope to see what's actually happening on the wire?
@tuo wrote:I'm getting a Stuff Error on the receiver side .
Is your device the sender, or the receiver? Or both?