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: WUF with can data mask DLC as 8 can not wake up ,but DLC as 7 or 2 wakes up well,could you help me?

Part Number: TCAN1145-Q1

WUF with can data mask  DLC as 8 can not wake up ,but DLC as 7 or 2 wakes  up well,could you help me?I use the example code given in related thread.TCAN1145  datasheet "The selective wake data validation ensures that the last byte sent on the bus will be interpreted as data mask byte 0."and I give the configured Data register DATA_y: 39h-40h as all 0x08, and  send message with  masked ID(wake up only by ID already OK) and 8 data all 08  can not wake up.But  DLC  as 7 or 2 wake up successful.Could you help me?Thank you .

  • Hi Cathy,

    Thanks for bringing your question to E2E. 

    Can you share the configuration for the pnConfig structure in the 8 byte DLC test case? This will help me understand how you would like TCAN1145 to be configured in this case. This definition originally starts on line 135.

    When waking in the other test cases (DLC 7 or 2), have you confirmed that the wake source was from the CAN bus (CANINT set)? Please ensure this was not caused by a frame overflow condition (WKERR set). 

    Is it possible to capture scope shots of the CAN bus during this wake up test? I would like to confirm that the WUF sent be the active node is reaching the sleeping TCAN1145 correctly. This will also let us verify that the proper data and data length are sent. Please include CANH and CANL (and INH if possible) in any scope captures. 

    In the meantime, please verify that the DLC is being set to the correct value and that the WUF is following the classic CAN format (not CAN FD). 

    Regards,
    Eric Schott