Fujitsu FR81S User Manual

Page of 2342
CHAPTER 44: 12-BIT A/D CONVERTER 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : 12-BIT A/D CONVERTER 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
90 
Note: 
When the data protection function is effective (ADTCS.PRT="1") and it sets two or more repeat modes 
(ADTCS.RPT="1"), the conversion of the activation channel with low priority is not executed if the state of 
the data protection of the activation channel with high priority is released before converting the activation 
channel with low priority. 
 
Figure 5-14 Continuous scan conversion 
Ø In case of data protection function invalid
The priority of the start factor is high, the start channel is treatable, and the conversion of other channels is not treatable 
because the one of a small start channel number is given priority (In addition, the control of its.. priority is done if there is a start 
factor with high priority). 
Software Activate 
request (n+1 channel)
A/D conversion
stop
Activation trigger
Software Activate 
request (n channel)
During conversion(N channel)
During conversion(N channel)
During conversion(N channel)
During conversion(N 
channel)
Ø For a data protection function effective
Because the security function works, two or more channels can be converted though the one of the start channel number that 
the priority of the start factor is high, and the start channel is small is given priority. 
- When data register lead & interruption of the channel with high priority is cleared before the channel with low attention 
priority is converted, the channel with low priority cannot be converted. 
Software Activate 
request (n+1 channel)
A/D conversion
stop
Activation trigger
Software Activate 
request (n channel)
During conversion(N channel)
During conversion(N+1 channel)
During conversion(N+2 channel)
stop
Software Activate 
request (n+2 channel)
During 
conversion(N 
channel)
Data register N lead ( & interruption N clearness)
Data register N+1 lead ( & interruption N+1 clearness)
Data register N+2 lead ( & interruption N+2 clearness)
The mask does the activate request so that the 
protection mode may work. 
Software factor start (N and N+1 
channels simultaneous)
Software factor start (N, 
N+1 and N+2 channels 
simultaneous)
 
 
  Continuous scan conversion when conversion count of each channel is 
specified 
The continuous scan conversion when conversion count of each channel is specified is executed by the 
continuous scan conversion mode is set (ADSCANS.SCMD="0"), 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 continuous 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 is automatically executed repeatedly from the top. 
Moreover, when the scan conversion is executed repeatedly from the top, the conversion count completion 
flag bit (ADEOCF.EOCF) of each activation channel is automatically cleared to "0". 
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). 
MB91520 Series
MN705-00010-1v0-E
1893