TC1796
Peripheral Units (Vol. 2 of 2)
Analog-to-Digital Converter (ADC)
User’s Manual
25-55
V2.0, 2007-07
ADC, V2.0
25.1.10.6 Example for Synchronized Injection
shows the Synchronized Injection Mode with sync-wait functionality. The
start of the synchronized conversion is always delayed until the currently performed
conversion in the slave ADC module is finished.
In this example, channel 5 is the arbitration winner. Its CHCON5.SYM bit field is
configured for Synchronized Injection with sync-wait functionality
(CHCON5.SYM = 01
B
). Thus, a synchronized request is transferred to the slave,
causing the slave’s bit SYSTAT.SYREQ to be set. This immediately locks the slaves’s
arbiter until the synchronized conversion is started. Any pending conversion requests in
the slave (in this case the request by source “i”) are served after the synchronized
conversion is finished.
Figure 25-27 Synchronized Injection with Sync-Wait Functionality
Lock
Lock
MCT06030
CHNR=3
CHNR=5
CHNR=3
CHNR=5
A/D Converter
Master ADC
A/D Converter
Slave ADC
Arbiter
Master ADC
Arbiter
Slave ADC
Synchronized Injection
CHCON5.SYM = 01
B
Source n
Source m
Delay
Synchronized Injection
CHCON3.SYM = 01
B
Delay
Source i