Tool/software:
Hello TI Team,
I'm working on developing the PN wake-up feature for the TCAN1145, but I can't get it to wake up from sleep mode. Can you help me figure out what's going wrong?
My test flow:
(1) When the MCU powers up, it initializes the TCAN1145 and sets it to Normal mode.
(2) The MCU starts sending CAN packets. After sending 500 packets, the TCAN1145 is set to Sleep mode.
(3) When a specific packet is received, the MCU can detect the wake-up signal by checking the TCAN1145's INH pin.
For the initialization of the TCAN1145, I followed TI's official documentation: "How Selective Wake Enables Partial Networking."
I referred to Table 5-4 (Valid Data Programming) and according to the test instructions, when the TCAN1145 receives 0x01 0x80, the TCAN1145's INH pin should go from low to high. However, I'm not seeing this happen.
Here is my initialization process:
(1) Reg=0x17, Data=0x02 //TCAN1145 software reset
(2) Reg=0x47, Data=0x00
(3) Reg=0x30, Data=0x00
(4) Reg=0x31, Data=0x00
(5) Reg=0x32, Data=0x04
(6) Reg=0x33, Data=0x8C
(7) Reg=0x34, Data=0x00
(8) Reg=0x35, Data=0x00
(9) Reg=0x36, Data=0x00
(10) Reg=0x37, Data=0x00
(11) Reg=0x38, Data=0x25
(12) Reg=0x39, Data=0x01
(13) Reg=0x40, Data=0x80 //I suspect there's a typo in the official documentation. I changed the address to 0x3A (the document states 0x40).
(14) Reg=0x44, Data=0xD0
(15) Reg=0x46, Data=0xFE
(16) Reg=0x47, Data=0x80
(17) Reg=0x10, Data=0x87 //TCAN1145 entry NormalMode
(18) MCU sending 500 CAN packets
(19) Reg=0x10, Data=0x81 //TCAN1145 entry SleepMode
(20) I used another CAN transceiver to send 0x01 0x80 on the bus, but the TCAN1145's INH pin didn't react at all.
Is there anything wrong with my software settings? Or do I need to confirm something on the hardware?
Hope to get your support as soon as possible, thank you!!