This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PZ: CAN communicating issue

Part Number: TM4C123GH6PZ

Hi team,

Here're 2 questions from the customer may need your help:

1) When CAN set receive interrupt, does it generate an interrupt for every byte received? 

2) Why the return value for CANIntStatus receive data is (0 - 5) / [1 - 4] instead of(0 - 33) / [1 - 32]?(TivaWare Peripheral Driver Library USER’S GUIDE) 

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hello Cherry,

    1) When CAN set receive interrupt, does it generate an interrupt for every byte received? 

    No, it generates an interrupt every time it has received a full message object.

    2) Why the return value for CANIntStatus receive data is (0 - 5) / [1 - 4] instead of(0 - 33) / [1 - 32]?(TivaWare Peripheral Driver Library USER’S GUIDE) 

    The CANIntStatus receive data will indicate the highest priority message object. Among the message interrupts, the message object's interrupt with the lowest message number has the highest priority.

    Best Regards,

    Ralph Jacobi