Hi, colleagues!
A few questions about the suspend mode:
1. Where in the SDK can I change the sources by which the processor wakes up? For example, can I enable waking up via the CAN bus?
2. Where can I see the wake-up sources? When the CPU goes to sleep, the wake-up source is specified - GPIO-0, is it any port pin or a specific one? What level should be supplied for waking up?
3. If I enable hibernation in the kernel, will it work correctly?
Suspend mode in SDK
Hello,
Since Rockchip has not yet provided us with documentation regarding sleep and wake-up, we have not developed this feature for now. The Rockchip sleep and wake-up documentation indicates that the configuration methods differ across platforms. However, since RK3576 and Luckfox Lyra, which uses RK3506, share many common frameworks and drivers, we can make the following assumptions based on the RK3576 documentation:
1 Rockchip's current sleep solutions all support CAN bus as a wake-up source, so it is highly likely that RK3506 does not support it either.
2 Most of Rockchip’s sleep and wake-up solutions transmit interrupts to the PMU state machine. It is highly likely that RK3506 can also transmit specific pin interrupts to achieve sleep or wake-up through a designated GPIO.
3 This has not been tested in practice, so we cannot confirm the answer.
Since Rockchip has not yet provided us with documentation regarding sleep and wake-up, we have not developed this feature for now. The Rockchip sleep and wake-up documentation indicates that the configuration methods differ across platforms. However, since RK3576 and Luckfox Lyra, which uses RK3506, share many common frameworks and drivers, we can make the following assumptions based on the RK3576 documentation:
1 Rockchip's current sleep solutions all support CAN bus as a wake-up source, so it is highly likely that RK3506 does not support it either.
2 Most of Rockchip’s sleep and wake-up solutions transmit interrupts to the PMU state machine. It is highly likely that RK3506 can also transmit specific pin interrupts to achieve sleep or wake-up through a designated GPIO.
3 This has not been tested in practice, so we cannot confirm the answer.