Part Number: CC1352R
Hi,
I am working on the Project Zero example. I would like to periodically read the values on two ADCs, and be responsive to UART messaging.
Currently my challenge is determining what the best threading structure is for this project. I have played with both Tasks and Swis, but I am not sure yet. With the Swi, I send an event to the Project Zero task, which calls a function to handle the ADC reading. Likewise, I tried replacing the Swi -> event -> function sequence by creating an extra task with priority 1 lower than that of the Project Zero task, and this new task sleeps between readings. However, then the device is no longer connectable.
So the current status is I have not even implemented the UART, but already the system is lacking in responsiveness.
Any suggestions? I would greatly appreciate it.