English
Language : 

RFM42 Datasheet, PDF (35/110 Pages) –
RFM42/43
7.3. General Purpose ADC
An 8-bit SAR ADC is integrated onto the module for general purpose use, as well as for digitizing the temperature
sensor reading. ―Register 0Fh. ADC Configuration,‖ must be configured depending on the use of the GP ADC before
use. The architecture of the ADC is demonstrated in Figure 15. First the input of the ADC must be selected by setting
the ADCSEL[2:0] depending on the use of the ADC. For instance, if the ADC is going to be used to read out the
internal temperature sensor, then ADCSEL[2:0] should be set to 000. Next, the input reference voltage to the ADC
must be chosen. By default, the ADC uses the bandgap voltage as a reference so the input range of the ADC is from
0–1.02 V with an LSB resolution of 4 mV (1.02/255). Changing the ADC reference will change the LSB resolution
accordingly.
Every time the ADC conversion is desired, the ADCStart bit in ―Register 0Fh. ADC Configuration,‖ must be set to 1.
This is a self clearing bit that will be cleared at the end of the conversion cycle of the ADC. The conversion time for the
ADC is 350 us. After the 350 us or when the ADCstart/busy bit is cleared, then the ADC value may be read out of
"Register 11h. ADC Value". Setting the "Register 10h. ADC Sensor Amplifier Offset", ADC Sensor Amplifier Offset is
only necessary when the ADC is configured to used as a Bridge Sensor as described in the following section.
35
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: sales@hoperf.com http://www.hoperf.com