Hello,
I am going to implement a deep stop mode in the RH850 microcontroller. What are the configuration I need to do manually to achieve the deep stop mode? It is not the same as the stop mode. I selected the deep stop mode and wakeup factor in the Smart Configurator. After generating the code, I followed the same procedure as for the stop mode, but the microcontroller does not enter the deep stop mode.
Thaks and Regards
Hi,Kindly refer the following appnote deep stop mode section preparation section. Please make sure you are following the steps mentioned.RH850/F1Kx Low-Power Operations (renesas.com)
Best Regards,Vasanth
If you use RH850 Smart Configurator, you can configure the DeepSTOP mode there and generate the drivers that will put the device into DeepSTOP mode.
Hi,
I selected the deep stop mode and wakeup factor as INTP11 in the Smart Configurator. I generated the code and called the deep stop mode function, but the controller does not enter deep stop mode. I have attached an image for your reference. Please review it..
Have you checked if the code actually executes R_Config_STBC_Prepare_Deep_Stop_Mode and R_Config_STBC_Start_Deep_Stop_Mode ?
How do you verify that the device has not entered DeepSTOP mode ?
I checked the current consumption of the evaluation board, and I observed that there is no variation in current during DeepSTOP mode.
I suggest making a simpler code calling only R_Config_STBC_Prepare_Deep_Stop_Mode and R_Config_STBC_Start_Deep_Stop_Mode and test again.
Hello ,
I checked the code on the RH850 EVL board, and it’s entering deep stop mode, with the current reducing, but it’s not waking up. I configured INTP1 (Switch 1) as a wakeup factor and called the interrupt start function before entering deep stop mode. However, even when I press the switch, it still doesn't wake up.
i am using RH850 - R7F701686 Microcontroller.
Is the interrupt working correctly when not used as a wake up factor ?
When returned from DeepSTOP mode due to wake-up factor 1, the microcontroller starts the operation from the reset vector address.
So to detect if the device has waken up you can place a breakpoint in start of main fucntion. For example after pushing the button the breakpoint is triggered:
hello
I placed a breakpoint and checked, but even when I press the button, the breakpoint is not triggered.