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.

TMS570LS1114: CAN Problem

Part Number: TMS570LS1114
Other Parts Discussed in Thread: TMS570LS0332

Hi Team,

I have a customer who is having an issue with the CAN interface on the TMS570LS1114 and TMS570LS0332. Problem description below:

The DCAN is configured as an RX FIFO. However, in polling mode the FIFO does not function as expected. Sometimes the messages in the FIFO get out of order.

We tried several methods of reading from the FIFO and never got the expected behavior:

1.       Reading the whole Message Box (and acknowledging the NewDat Flag) in a for loop.

2.       Reading all messages in a for loop; then acknowledging all as fast as possible.

3.       After reading the data in case 1. and 2. we read the NWDATx12 to find out if there are more messages after the last read message.

We got this behavior both on the TMS570LS1114 (using MB1 to MB32) and the TMS570LS0332 (using MB1 to MB16) and found no mention of it in the Errata Sheet.

 

However, the DCAN Errata (#27) described in the Errata sheet ( ) for the TMS570LC4x (Silicon Rev B; June 2018) sounds exactly like the observed behavior. Can you confirm this?

  • Hi Mihir,

    You are correct, the errata documents for all TMS570LS MCUs need to be updated to include this bug in the DCAN controller. Please ask the customer to implement the workaround specified in the errata document for TMS570LC4x.

    I will work on getting the other errata documents updated.

    Regards,
    Sunil