Hi,
I'm facing a strange problem by testing remote frames. I have discovered following: As soon as a remote frame was sent out from a mob a frame is received to this mob immediately. Example: I stop the code execution on the line which writes the TX command to the CANCDMOB register. After execution of the command the CANSTMOB indicates TXOK, corresponding SIT is set, CANIDT keeps. The code is still stopped on line bellow the STS instruction which writes the TX command to the CANCDMOB (note, this is an ISR section with disabled interrupts). Now I put a message to the CAN bus and this message is then received to this mob but without any RX command for the mob (the code is still stopped a line bellow the STS). The SIT keeps, but the CANIDT now follows the ID of the message and CANSTMOB indicates RXOK (no more TXOK). The effect occurs only when the RTRTAG is set. When cleared, everything goes well.
Is this behavior (unsolicited reception after remote frame was sent) an intention or error or I'm doing something wrong.... ?
Thanks for information.
(debug via JTAG on JTAGICE MKII and AVRSTUDIO 5; tested on MOb 0)