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.

TCAN1145-Q1: Frame OVF without msg reception

Part Number: TCAN1145-Q1

Tool/software:

Hi CAN experts,

I'm Donnie from korea automotive team. My customer have some problems while test TCAN1145-Q1. Could you please reply to below questions?

1. There are cases where FRAME_OVF occurs without receiving msg. When they read the content, it seems to be a receive err. Is there anything else that we should review?

Is it possible for the problem to occur due to POR? It seems unrelated, but I am asking because there is one difference between the occurrence case and the non-occurrence case


2. As I can see from datasheet, when FRAME_OVF occurs, SW_EN is disabled. Therefore, Selective Wake Up does not work then.

To improve the above problem, I want to clear FRAME_OVF and enable SW_EN whenever Transceiver transitions to Standby or Sleep.
Are there any additional registers that should be checked? (SWCFG seems to be related, but I don’t think the register is forcibly disabled, so I don’t want to care.)


3. Are there any side effects that I should be concerned about when applying the method written in No. 2 above?

4. As you can see in the E2E post below, SW_CONFIG_1.SW_FD_PASSIVE bit can be set to ignore CAN FD frames, and the SW_CONFIG_3.FRAME_CNT_THRESHOLD can be set to max value (255) to increase the number of error frames needed in order to wake the device. Is this something I would recommend to my customers in this situation?

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1525526/tcan1145-q1-wake-up-issue/5864891?tisearch=e2e-sitesearch&keymatch=TCAN1145%2525252520overflow#5864891

Thanks for your help.

Best regards,

Donnie Kim

  • Hi Donnie,

    1. FRAME_OVF is not expected to set when there is no CAN message. Can you provide more details of their testing procedures? Did they clear the FRAME_OVF flag before enable selective wakeup? If there is noise on the bus which present as a dominant, it is possible to be recognized as start of the frame, which is enough to increment error counter.

    POR is unrelated to frame_ovf, it's a flag set at initial power up.

    2. It is always recommended to clear FRAME_OVF and CANINT before going back to sleep mode.

    3. No.

    4. Those registers are not directly related to your customer's issue here, set error counter threshold to 255 can reduce the chance that error counter reach its maximum, but if there was really no CAN bus activity, increase to 255 won't really help here.

    Regards,

    Sean

  • Hi Sean,

    Thank you for reply. I will check the details of testing procedures and share with you.

    Best Regards,

    Donnie