Fujitsu FR81S 用户手册
CHAPTER 44: 12-BIT A/D CONVERTER
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: 12-BIT A/D CONVERTER
FUJITSU SEMICONDUCTOR CONFIDENTIAL
92
Figure 5-16 Continuous scan conversion when conversion count of each channel is specified
(In case of data protection function effective)
stop
During
conversion(N ch)
(The first)
During
conversion(N+1
ch)
(The first)
During
conversion(N+2
ch)
(The second)
During
conversion(N+2
ch)
(The first)
During
conversion(N ch)
(The first)
Conversion frequency
completion flag
(ADEOCF.ECOF
completion flag
(ADEOCF.ECOF
N
)
Invalid data
Conversion result(The
first)
Conversion result(The second)
Invalid data
Conversion result(The first)
Invalid data
Conversion result(The
second)
Conversion result(The first)
Software Activate
request (n+1 channel)
A/D conversion
Activation trigger
Software Activate
request (n channel)
Software Activate
request (n+2 channel)
During
conversion(N ch)
(The second)
Conversion frequency
completion flag
(ADEOCF.ECOF
completion flag
(ADEOCF.ECOF
N+1
)
Conversion frequency
completion flag
(ADEOCF.ECOF
completion flag
(ADEOCF.ECOF
N+2
)
Protection state flag
(ADPRT.PRTF
(ADPRT.PRTF
N
)
Protection state flag
(ADPRT.PRTF
(ADPRT.PRTF
N+1
)
Protection state flag
(ADPRT.PRTF
(ADPRT.PRTF
N+2
)
A/D data register
(ADTCD
(ADTCD
N
.D11~D0)
A/D data register
(ADTCD
(ADTCD
N+1
.D11~D0)
A/D data register
(ADTCD
(ADTCD
N+2
.D11~D0)
Scanning conversion completion
interruption factor flag
(ADSCANS.SCINT)
At continuous execution of a different start channel
The activate request of the next start channel is output regardless with the state
of the data protection.
When the final start channel processing to be
scanned is completed, it is automatically an iterative
implementation from the beginning as for the
scanning conversion.
stop
sto
p
stop
← Protection
state release
← Protection
state release
← Protection
state release
← Protection
state release
← Protection
state release
The analog to digital conversion is restarted by the data
protection state release at continuous execution in the same
start channel.
Software factor start (N, N+1 and
N+2 channels simultaneous)
[Channel composition information]
Start channel N, N+1, and N+2: It are the repetition mode and the security function, and is a software start, a continuous
scanning conversion mode, conversion frequency specification scanning conversion execution permission, and is a continuous
conversion frequency: Start channel N+2 = twice start channel N+1 = once start channel N= twice
Stop scan conversion when conversion count of each channel is specified
The stop scan conversion when conversion count of each channel is specified is executed by the stop scan
conversion mode is set (ADSCANS.SCMD="1"), the repeat conversion selection bit is set to repeat mode
(ADTCS.RPT="1"), the conversion count specification scan conversion execution enable
(ADNCS.CNTEN="1") is set, the conversion count specification (ADNCS.CCNT1,CCNT0="count") is set,
and the A/D activation is set to the same activation factor at the same time on each activation channel of the
scan conversion target.
The stop scan conversion when conversion count of each channel is specified advances to the A/D
conversion of the next activation channel when the A/D conversion of conversion count specification
(ADNCS.CCNT1,CCNT0) is executed from activation channel (activation channel of the scan conversion
target) small number, and conversion is completed. Moreover, the activation channel that completes the A/D
conversion of the conversion count specification can be confirmed by conversion count completion flag bit
(ADEOCF.EOCF).
Then, when the A/D conversion of the conversion count specification of the final activation channel is
completed, the scan conversion completion interrupt factor flag (ADSCANS.SCINT) is set in "1" and the
scan conversion becomes the state of the stop. The scan conversion restarts (return from the state of the
stop) when the A/D activation factor is generated even by one of the scan conversion targets.
Moreover, the conversion count completion flag bit (ADEOCF.EOCF) of each activation channel is
automatically cleared to "0" by restarting (return from the state of the stop) the scan conversion.
The conversion count specification (ADNCS.CCNT1,CCNT0) can select 1 to 4 times of each activation
channel.
The data protection function can select invalidity and effective of each activation channel. Moreover, when
the data protection function is effective (ADTCS.PRT="1"), the state of the data protection of each
activation channel can be confirmed by data protection state flag bit (ADPRTF.PRTF).
In case of data protection function invalid (ADTCS.PRT="0")
The scan conversion continuously executes A/D conversions other than the state of the stop without
stopping. The data of the A/D conversion data is not protected, and. the last A/D conversion data
MB91520 Series
MN705-00010-1v0-E
1895