red led of BlueNRG2 keeps glowing after system goes to sleep.
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.
