Hi,
I am working with CC2530ZDK and Z-Stack 2.5.1a.
I am trying to read a voltage value using the function HalAdcRead (with 14bits of resolution) and after convert it to Volts, but I am having some problems.
If I am not wrong, for different devices I have different rates of coversion. The test I did was like: I put VCC on the ADC port and I saw what I had as output of HalAdcRead(). I tested 3 different devices, the VCC was different for each one (2,6V; 2,9V and 2,8V). I expected to have different values from HalAdcRead, but all they gave me 8191=(2^13 -1). So how can I calculate the voltage value on the entrance of ADC? I would like to have something live this: (Value in Volts) = (Adc Value)*Rate.
Thanks,
Victor Farias.