Hello Ti team
I am working on CC3220MODA chip and portableNative example project.
My application design is to put the system in sleep mode and only wake up on gpio interrupt and do some blocking execution and go back to sleep mode.
Following things I tried:
1. System waking up on GPIO interrupt but after wake up if I run some blocking operation (playing audio file or SPI operation) from ISR callback then it is not working (I am agree with this results).
2. After receiving GPIO callback it should wake up "consoleThread" thread so that I can run the blocking operation from this thread instead of callback function but "consoleThread" is not wake up to execute blocking operation.
Following is my questions:
- How I can create the run time thread from callback function?
- After executing the blocking operation from run time created thread how I can kill it?
Any help will be appreciated.
Thanks
Raj