I want to take data from multiple sensors through adc on contiki running on launchxl-cc2650. How can I enable multiple pins as adc and take their data in parallel as there is only one fifo to read? Kindly provide any link if you have.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to take data from multiple sensors through adc on contiki running on launchxl-cc2650. How can I enable multiple pins as adc and take their data in parallel as there is only one fifo to read? Kindly provide any link if you have.
From 17.4.8.9 in : The ADC FIFO is a 4-element-large FIFO for storing the results of ADC conversions.
The FIFO makes it possible to take samples from the ADC continuously and give time to transfer the samples to the consumer (see dev.ti.com/.../README.html for this usage)
Your provided link didn't open, kindly provide any other resource. Secondly, if I make two separate threads for two separate sensors to be attached to adc, is there is any kind of lock needed for synchronization?