Other Parts Discussed in Thread: Z-STACK
I have a question regarding the adc functionality of the CC2530.
I have a firmware with zstack 3.0.1 and I need to trigger an adc conversion sequence using Timer 1 and transfer the result via dma (so i am not using the interface defined in hal_adc.h). I noticed that zstack also uses the adc to check the power supply voltage everytime it needs to write an item to non volatile memory. Does anybody know if I can have both an extra conversion (the zstack one) and a sequence triggered by Timer 1?
I noticed some strange behaviour where my conversion sequence at times gets wrong values that seem exactly the VCC value. Do I need to add some form of synchronization to access the adc registers in a safe manner?