Calling CyPmSleep() to shut off the CPU during the idle task hook would be a better option. Calling deepsleep is not an option in this function because many tasks may be idling in a state where they do not need the CPU but still need the rest of the chip on.
Does PSoC4 BLE support FreeRTOS with BLE stack?
I have ported FreeRTOS on PoSoC4 BLE, advertising and connection is ok,but service discorvery didn't work.
Can you help me?