CHAPTER 15:12-/10-/8-bit Analog to Digital Converter
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
289
Group conversion
Figure 4-7 shows the example of group conversion operation.
Figure 4-7 Group Conversion
Start of group conversion
Trigger Type of
the first channel of group 0?
(ADC12Bn_CHCTRL0~63.
TRGTYP[1:0])
Software trigger
of the first channel of group 0
(ADC12Bn_CHCTRL0~63.SWTRG = "1")
Software trigger
(TRGTYP[1:0] ="00" or "01")
- Hardware trigger
(TRGTYP[1:0] = "01")
- idle trigger
(TRGTYP[1:0] = "11")
Continue operation of
group conversion?
Continue
Finish
Read group interrupted interrupt flag
of group 0
(ADC12Bn_GRPIRQ0~1.GRPIRQ)
Detect conversion
done interrupt or
group interrupted interrupt?
Detect conversion
done interrupt
(conversion of group 0
is not interrupted ,
and finished)
A/D conversion request (trigger)
of the first channel of group 0
Read conversion data
of group 0
(ADC12Bn.CD0~63))
Group interruption
End of group conversion
Channel i js
Resume/Restart/Stop?
(ADC12Bn_CHCTRLi.
RSMRST[1:0])
Stop
(RSMRST = "00")
Restart (RSMRST = "10") or
resume (RSMRST = "01")
Detected neither
Detect group interrupted
interrupt
(Channel i (group 0)
is interrupted by group 1)
Clear group interrupted interrupt flag
of channel i
(ADC12Bn_GRPIRQC0~1.
GRPIRQC = "1")
Interruption processing
(depend on application)
Clear conversion done
interrupt flag
Software trigger
(TRGTYP[1:0] = "00")
Exclude software trigger
(TRGTYP[1:0] expects "00")
Set as software trigger of all channels
(ADC12Bn_CHCTRL0~63.
TRGTYP[1:0] = "00")
During A/D conversion?
(ADC12Bn_TRGST0~1.
TRGST = "1")
Yes
No
All trigger status clear
(ADC12Bn_TRGCL0~1.TRGCL = "1")
Trigger type of channel 0~63
(ADC12Bn_CHCTRL0~63.
TRGTYP[1:0])
Finish operation of A/D conversion
Summary of Contents for S6J3200 Series
Page 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Page 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Page 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Page 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Page 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Page 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...