Re: Cannot enter stm32l4's low-power modes

2022-06-16 Thread Alan Carvalho de Assis
Ok, just sent to you private email. BR, Alan On 6/16/22, Jesse Jensen wrote: > Alan, > > If you still have the config, that would be helpful! > I have tried going into the device's low-power modes both using the > tickless OS, and using the normal scheduler. > When I use the debugger, I can see

Re: Cannot enter stm32l4's low-power modes

2022-06-16 Thread Jesse Jensen
Alan, If you still have the config, that would be helpful! I have tried going into the device's low-power modes both using the tickless OS, and using the normal scheduler. When I use the debugger, I can see that the line of code in stm32_idle.c that puts the device into the low-power modes is bein

Re: Cannot enter stm32l4's low-power modes

2022-06-15 Thread Alan Carvalho de Assis
Hi Jesse, About two years ago I used exactly the nucleo-l476rg board to test low power mode on NuttX, but I didn't use it with Tickless. I can try to find my config, but I put the test on my blog at that time: https://acassis.wordpress.com/2020/05/03/testing-nuttx-low-power-modes/ Did you test

Re: Cannot enter stm32l4's low-power modes

2022-06-15 Thread Jesse Jensen
Hello Alan, Thank you for your response. The arm_pminitialize function exists, but contains no logic Viewing implementations of that functions on other boards, they are mostly empty as well, with a couple also including led_pminitialize functions and/or pmbutton functions. As I am not (currently) u

Re: Cannot enter stm32l4's low-power modes

2022-06-15 Thread Alan Carvalho de Assis
Hi Jesse, Did you implement arm_pminitialize()? What did you put on it? Case you don't, please look other boards as reference. BR, Alan On 6/14/22, Jesse Jensen wrote: > Hello, > > I am using the STM32L4 (nucleo-l476rg board) and am attempting to enter the > mcu's low-power modes (i.e. Stop1

Cannot enter stm32l4's low-power modes

2022-06-14 Thread Jesse Jensen
Hello, I am using the STM32L4 (nucleo-l476rg board) and am attempting to enter the mcu's low-power modes (i.e. Stop1, Stop2, Standby). Within stm32_idle.c under PM_IDLE, I send the "wfi" command to send the device into sleep. However, when measuring the current draw of the mcu, I can see that the