Other Parts Discussed in Thread: HALCOGEN
I'm using CCS6 HALCOGEN 4 and a RM48 dev board.
I'm trying to receive a bunch of can messages and parse them with some code like this:
if(canIsRxMessageArrived(MY_CAN, CAN_HEARTBEAT))
{
canGetData(MY_CAN, CAN_HEARTBEAT, rx_data);
rx_counter++;
parse_heartbeat(rx_data);
}
When it is running in debug mode (not paused/suspended), it seems to receive messages fine and the counter is incrementing. When I pause/suspend and single step through, canIsRxMessageArrived() always returns 0, even though messages are being sent to my dev board at 100 Hz.
Any idea why I can't receive messages when single-stepping?
Thanks,
Matt