2019-12-04 01:07 AM
I am using BlueNRG2 for a project, and using jtag segger as burner/debugger.
The application is simple, i have activated all 3 leds and using the microcontroller with sleep mode.
but when my system wakes, the red keeps glowing. The code is:
BTLE_StackTick();
BlueNRG_Sleep(SLEEPMODE_NOTIMER, wakeup_source, wakeup_level);
GPIO_WriteBit(GPIO_Pin_6 | GPIO_Pin_7 | GPIO_Pin_14, Bit_SET);
Clock_Wait(1000);
GPIO_WriteBit(GPIO_Pin_6 | GPIO_Pin_7 | GPIO_Pin_14, Bit_RESET);
Like i said, the red led does not goes off even when system is in sleep mode.
Solved! Go to Solution.
2019-12-04 08:47 PM
Only GPIO9, GPIO10, and GPIO11 can be configured to be used as output pin during the low power modes.
During BlueNRG-2 is in sleep mode, DIO7 is still possibly driven by STM32L151, PB14.
2019-12-04 08:47 PM
Only GPIO9, GPIO10, and GPIO11 can be configured to be used as output pin during the low power modes.
During BlueNRG-2 is in sleep mode, DIO7 is still possibly driven by STM32L151, PB14.