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.

CC2650STK: Integration of the Analog Digital Converter (ADC) into the Z-Stack SensorApp sample code

Part Number: CC2650STK
Other Parts Discussed in Thread: OPT3001, Z-STACK, , TMP007, HDC1000, CC2650

Dear all

I am working with the TI CC2650STK sensor tag and want to implement a wireless sensor network via ZigBee. I currently have three Zigbee nodes (Zigbee End-Devices) using the Z-Stack Home Automation Sensorapp sample code. The coordinator is an XBee module (Xbee s2c). I've already extended the SensorApp sample code with the HDC1000 (replacing the tmp007), opt3001, and bmp280, and get some values.

The next step is to implement an ADC that captures the analog values of another sensor. As already mentioned, I use the sensor tag CC2650STK and the CC Debugger DevPack.

Is there a step-by-step explanation or examples for the implementation of the ADC? I have already looked through the technical description and unfortunately found only little content about ADC and GPIO. I also found the example of svendbd. But I don't know how this code can be integrated into the example Z-Stack Home Automation (SensorApp). In addition, svendbd's contribution is several years old. Are there any other libraries or examples?

 

How can svendbd's sample code be correctly implemented in the Z-Stack application?

 

Does a separate task for ADC initialization and measurement have to be created in the main function, or can the initialization take place in the existing task (taskFxn in the main)?

 

Many thanks in advance

 

LG Stefan