2025-09-22 1:31 PM
The goal of my program is to:
1. Set low power time that runs off HSI for 10 seconds
2. Enter stop2 WFI
3. Wake up from low-power interrupt
4. Advertise for 5 seconds
5. Stop advertising
6. Repeat Steps
During stop2 at the beginning of program my system is using ~ 74uA (which seems high but is reasonable), and when I wake up to start advertising and call aci_gap_set_discoverable(). This raises the current to ~3.4mA while advertising but when I call aci_gap_set_non_discoverable() it only lowers the current draw to ~3mA.
I would expect the system to go back to the ~74uA it was drawing before advertising was turned on but it is not.
I am able to connect to the chip over bluetooth successfully just want to know what needs to be done to get the power draw where I would expect
Any help would be greatly appreciated!
Thank you.