r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 733

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
When the ACE bit is 0 (initial value) and the A/D conversion result (H'0222) is not written to
ADDR for some reason, the old data (H'0111) becomes the ADDR value. In addition, when the
ADDR value is read into a general register using an A/D conversion end interrupt, the old data
(H'0111) is stored in the general register. To detect a renewal failure, every time the old data needs
to be stored in the RAM, a general register, etc.
When the ACE bit is 1, reading ADDR = H'0111 by the CPU or DTC automatically clears ADDR
to H'0000. After this, if the A/D conversion result (H'0222) cannot be transferred to ADDR for
some reason, the cleared data (H'0000) remains as the ADDR value. When this ADDR value is
read into a general register, H'0000 is stored in the general register. Just by checking whether the
read data value is H'0000 or not allows the detection of an ADDR renewal failure.
A/D conversion end interrupt
A/D conversion end interrupt
RAM, general register etc.
RAM, general register etc.
• ACE bit = 0 (Normal condition: Auto-clear function is disabled.)
• ACE bit = 1 (Auto-clear function is enabled.)
A/D data register (ADDR)
A/D data register (ADDR)
A/D conversion result
A/D conversion result
Figure 17.7 Example of When ADDR Auto-clear Function is
Disabled (Normal Condition)/Enabled
H'0111
H'0111
H'0111
Because ADDR is not renewed, old data is used.
However, it is impossible to know that the data is old or not.
Read
Read
Automatic clearing
after read
When H'0000 is read, a failure is detected by software.
H'0222
H'0222
H'0111
H'0111
Rev. 1.00 Sep. 21, 2007 Page 707 of 1124
H'0111
ADDR renewal failure
ADDR renewal failure
H'0000
Read
Read
Automatic clearing
after read
H'0333
H'0333
Section 17 A/D Converter (ADC)
H'0000
H'0333
Read
Read
REJ09B0402-0100
Automatic clearing
after read
H'0444
H'0444
H'0333
H'0333
H'0333
H'0000

Related parts for r5f71374an80fpv