Hi,
I use dev kit and Peak usb-@can adapter.
I have two MBs setup for transmit and receive by CAN0. MB[0] for transmit and MB[4] for receive.besides,I used a receive interrupt.But,transmit just use the polling.The core always enter receive interrupt and MB[0] receive the same data that transmitted by MB[0] . CAN_IFLAG1 value is 0X00000011 when the breakpoint works at the entrance of receive interrupt.
I dont config the loopback mode.I do not know what is wrong?How should I do?b55689
Hi,
seems the Self Reception is enabled, so the module receives frames transmitted by itself if RX MB is programmed with an ID that matches the TX frame.
So set the MCR[SRXDIS] bit, must be done during Freeze mode.
BR, Petr
Thank you very much!