Hi everyone, I am having some problems getting the analog to digital converter on the CC1010 to work.
I have a temperature sensor which puts out a constant voltage proportional to the temperature. When i connect the sensor to either AD0 or AD1 I can accurately measure the value through the A2D, however I am having troubles doing it through AD2, which is the one i need to use.
The signal is having a saw-toothed wave at about 40KHz superimposed on top of it (observed with a CRO) resulting in values coming from the A2D which vary between plus or minus about 50% of the temperature signal. I believe that this might somehow be cause by either the RSSI or the IF, both of which can be multiplexed onto AD2, but the register which controls this i believe is set correctly:
FREND = 0x08;
Is this the only register that needs to be set in order to have AD2 function only as an A2D for an external signal, or does something else have to be done? Any help would be greatly appreciated. Thanks.