Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG, ENERGYTRACE,
I have product firmware that uses pretty much everything on this chip. Timers, SPI, I2C, UART etc. I would like to take the MCU in and out of standby based on a bluetooth message. The message is properly received into an application task that has its own event loop. The task handles all the buses and data flow, so the handler is in this context. The handler sets a semaphore and waits on it to suspend the app task and ideally puts the chip in standby. It does not work now but rather continues to run normally with BLE advertising and such.
To start with something simple, what modifications to the Basic BLE example would need to be made to have it enter standby, say maybe on a button press? I have added the policy function setting standby in sysconfig and added the predifined symbol POWER_SAVING to the project based on some things I've read. Is there a list of items to set/change I can follow?
With two event loops, I can imagine things are more complicated. How do I handle the Blutooth task?
Thanks,
Bill

