EasyManuals Logo

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1550 background imageLoading...
Page #1550 background image
R01UH0823EJ0100 Rev.1.00 Page 1550 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
DIAGM Bit (Self-Diagnosis Enable)
The DIAGM bit enables or disables self-diagnosis.
Self-diagnosis is used to detect a failure of the 12-bit A/D converter. Specifically, one of the internally generated voltage
values 0, the reference voltage × 1/2, and the reference voltage is converted. When conversion is completed, information
on the converted voltage and the conversion result is stored into the self-diagnosis data register (ADRD). ADRD can
then be read out by software to determine whether the conversion result falls within the normal range (normal) or not
(abnormal). Self-diagnosis is executed once at the beginning of each scan, and one of the three voltages is converted.
When self-diagnosis is selected in group scan mode, self-diagnosis is separately executed in groups A and B.
The DIAGM bit should be set while the ADCSR.ADST bit is 0.
ADRFMT Bit (A/D Data Register Format Select)
The ADRFMT bit specifies flush-right or flush-left for the data to be stored in ADDRy, ADRD, ADTSDR, ADOCDR,
ADDBLDR, ADCMPDR0, ADCMPDR1, ADWINLLB, or ADWINULB.
The ADRFMT bit should be set while the ADCSR.ADST bit is 0.
For details on the format of each data register, see
section 44.2.1, A/D Data Registers y (ADDRy) (y = 0 to 7, 16 to
20, 27), A/D Data Duplication Register (ADDBLDR), A/D Temperature Sensor Data Register (ADTSDR), A/D
Internal Reference Voltage Data Register (ADOCDR)
, section 44.2.2, A/D Self-Diagnosis Data Register
(ADRD)
, section 44.2.25, A/D Compare Function Window A Lower-Side Level Setting Register (ADCMPDR0),
section 44.2.26, A/D Compare Function Window A Upper-Side Level Setting Register (ADCMPDR1), section
44.2.33, A/D Compare Function Window B Lower-Side Level Setting Register (ADWINLLB)
, and section
44.2.34, A/D Compare Function Window B Upper-Side Level Setting Register (ADWINULB)
.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
CoreRXv1, RXv2, RXv3
Flash MemoryUp to 8 MB
RAMUp to 1 MB
Operating Voltage1.62V to 5.5V
Operating Temperature-40°C to +85°C or +105°C
PackageBGA, LQFP
ADC Resolution12-bit
DAC Resolution12-bit
Communication InterfacesSCI, SPI, I2C, USB, Ethernet, CAN
Architecture32-bit
Security FeaturesMemory Protection Unit (MPU)

Related product manuals