Hello all,
I've encountered something odd with the Motorola 9S12DJ64 ("Star 12") device's MSCAN module.
It's supposed to have 5 rx buffers, and there is an overrun interrupt that according to the spec will get called when a new message is received and all
5 buffers are currently full.I find that if I write 5 messages without clearing the buffers, the interrupt gets called on the sending of the 5th CAN message, surely it shouldn't occur until I attempt to write the 6th message, since the 5th message should be received and stored successfully in the 5th (and last available) buffer?
I also find that once this overrun interrupt occurs, subsequent message writes via CAN cause the overrun interrupt to occur every TWO sent messages, surely this should happen for every single new message once the buffers are full?
Anyone got any ideas about this?
Regards and thanks in advance, Richard.