Asking for help,
1. I want to know whether it is only necessary to call the SPI instruction to set the GO_LPOFF bit to 1 when setting the FS4500 sleep mode. After the SPI instruction is written successfully, the code running phenomenon will stop executing the subsequent code.
2. Given that the INH pin of 1145 transceiver is connected to IO_0 of FS4500, if you want to use 1145 transceiver to wake up FS4500 from LPOFF, do you only need to use the host computer to send CAN packet to wake up 1145 transceiver? The INH pin of the 1145 transceiver automatically affects the IO_0 of the FS4500 to wake up the FS4500. Can the subsequent code be continued, or does another method be required to wake up the FS4500?
Asking for help
1. I want to know whether it is only necessary to call the SPI instruction to set the GO_LPOFF bit to 1 when setting the FS4500 sleep mode. After the SPI instruction is written successfully, the code running phenomenon will stop executing the subsequent code.
[GW]看我标出来的箭头两个方式进入sleep的模式。
DFS要不要进入看上面的SELECTpin设定
2. Given that the INH pin of 1145 transceiver is connected to IO_0 of FS4500, if you want to use 1145 transceiver to wake up FS4500 from LPOFF, do you only need to use the host computer to send CAN packet to wake up 1145 transceiver? The INH pin of the 1145 transceiver automatically affects the IO_0 of the FS4500 to wake up the FS4500. Can the subsequent code be continued, or does another method be required to wake up the FS4500?
[gw]你是想通过1145的INHpin唤醒FS45吗从LPOFF模式?可以看下面圈出来的唤醒方式,如果是通过IO唤醒在进入sleep之前就要设定好,你要看不同模式下1145 INH的状态是不是符合唤醒的要求从而决定要不要1145 进入低功耗模式,逻辑很清楚需要您自己去设计这个功能
What caused this?
1. After using the SPI instruction to set the register GO_LPOFF to 1, is it normal for the code to stop running at this time?
【gw】See the description below and the MCU is out of power after entering sleep mode.
2. From the manual, no matter the current state is LPOFF-sleep or Deep fail safe, it can be awakened by IO_0. Before using the SPI instruction to set FS4500 to enter low power consumption, 1145 has been set to sleep mode, and the register WU_IO0_1:0 of FS4500 has been set to 01. Is there any other operation required? Then use the host computer to send CAN message to wake up 1145. Phenomenon: FS4500 cannot exit low power consumption and the code cannot continue to run
【gw】After entering sleep, did you capture the voltage change waveform of INH?
What company are you from? Do you have a website?
This wake-up configuration is configured during the initialization INIT phase, not during the normal phase.
Did you touch this register during initialization?
In the third step, disconnect 1145 INH and see if SBC IO0 is high or INH is high. If you do not operate, 1145 is still in sleep.
Which company are you from? Can I use the company's email address to ask questions?
Because we can handle it at a lower level if you use a personal email address