2019-04-05 01:50 AM
I'm working on a Canbus project for a while now. I used rx and tx interrupts just fine, but when I enable ErrorCallback its not working. I've activated Error Interrupt by setting CAN_ IER[15] and activate notification. When I try to disrupt communication, CAN_ESR is changing but Errorcode is not. so therefore no interrupts occurs. does anyone knows how to fix this?
PS: Also if anyone knows how sleep and wakeup mode works that would be much appreciated too.