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.

TCAN1145EVM: Selective Wakeup

Part Number: TCAN1145EVM

Hi,

I have a TCAN1145EVM board at hand with selective wakeup function configurated, but it can not be waked up by the CAN frame even if I set the ID mask to all "1". Can you tell what the reason could be?

The TCAN1145 ID filter is set as 0x102, ID mask is set as 0x7FF, the baud rate is set as 500KHZ. the SWCFG and SW_EN flag are set in the last two step. All these registers value are read back from TCAN1145 and saved in "TCAN1145_Wakeup_CFG" as the screenshot shown below. But no matter what CAN signal (0x102, 500KHZ)is sent to TCAN1145, it always stays in sleep mode rather than enters standby mode. What could be the reason?

Thank you,

Hao

  • Hao,

    Thank you for bringing this to E2E. I know you already shared a lot of information, but can you share your exact procedure with configuring partial networking, going into sleep mode, and then trying to wake up? And in the trying to wake up portion, please include the frames sent to wake the device. It's important to note that up to 4 "sync-up" frames (at 1Mbps) need to be sent so the WUF receiver will correctly interpret the WUF sent. That doesn't seem to be the issue here, but I wanted to point that out.

    Also, I'd recommend reading the Selective Wake Configuration Guide if you haven't already. It goes through the steps needed to configure and wake the TCAN1145/TCAN1146 up through selective wake.

    Lastly, can you check your interrupts before and after the WUF attempt? I'd like to see if any of them are getting asserted and can give us more clues.

    Regards,

    Eric Hackett 

  • Hi Eric,

    The procedure for partial networking in my configuration is:

    set register 0x44, 0x32, 0x33, 0x37, 0x38, 0x47 in order, then read register 0x51, 0x52, 0x53 and write to register 0x10.

    The register 0x10 is set as 0x81 in last step to enter sleep mode. The read back value are showed as screenshot below.

    The WUF is 500KHZ 11-bit CAN with ID 0x102.

    Thank you,

    Hao

  • Hi Eric,

    The issue is gone, looks like it is because of the CAN box hardware I am using, it is not sending out the WUF correctly sometimes. Thank you for your quick support.

    Regards,

    Hao

  • Hao,

    Good to hear, and thanks for being willing to work with me before it was solved. I'll be closing this thread now, but if any other questions arise please don't hesitate to ask a question in a new thread.

    Regards,

    Eric Hackett