
912
SAM9G45 [DATASHEET]
6438K–ATARM–12-Feb-13
1.
Close the switches on the inputs Y
P and YM during the Sample and Hold Time.
2.
Convert Channel Y
M and store the result in TSADCC_CDR3.
3.
If Channel 4 to Channel 7 are enabled, convert Channels and store result in the corresponding
TSADCC_CDRx and TSADCC_LCDR.
4.
Set Trigger Counter to 4.
For Trigger Counter at 4:
1.
Close the switches on the inputs Y
P and YM during the Sample and Hold Time.
2.
Convert Channel Y
P, subtract TSADCC_CDR3 from the result and store the subtraction result in
TSADCC_CDR2 (and also in TSADCC_LCDR if PDCEN is enabled).
3.
If Channel 4 to Channel 7 are enabled, convert Channels and store result in the corresponding
TSADCC_CDRx and TSADCC_LCDR.
4.
Set Trigger Counter to 5.
For Trigger Counter at 5:
1.
Close the switches on the inputs Y
P and YM during the Sample and Hold Time
2.
Convert Channel X
P, subtract TSADCC_CDR3 from the result and store the subtraction result in
TSADCC_CDR3 (and also in TSADCC_LCDR if PDCEN is enabled).
3.
If Channel 4 to Channel 7 are enabled, convert Channels and store result in the corresponding
TSADCC_CDRx and TSADCC_LCDR.
4.
Set Trigger Counter to 6.
For Trigger Counter between 6 and (2TSFREQ+1):
1.
Increment Trigger Counter.
2.
If Trigger Counter equals (2TSFREQ+1), then set Trigger Counter to 0.
3.
If Channel 4 to Channel 7 are enabled, convert Channels and store result in the corresponding
TSADCC_CDRx and TSADCC_LCDR.
as follow:
For Trigger Counter at 0:
1.
Close the switches on the inputs X
P and YM during the Sample and Hold Time.
2.
Convert Channel X
P and store the result in TSADCC_Z1DR (and also in TSADCC_LCDR if PDCEN is
enabled).
3.
If Channel 4 to Channel 7 are enabled, convert Channels and store result in the corresponding
TSADCC_CDRx and TSADCC_LCDR.
4.
Set Trigger Counter to 1.
For Trigger Counter at 1:
1.
Close the switches on the inputs X
P and YM during the Sample and Hold Time.
2.
Convert Channel Y
M and store the result in TSADCC_Z2DR (and also in TSADCC_LCDR if PDCEN is
enabled).
3.
If Channel 4 to Channel 7 are enabled, convert Channels and store result in the corresponding
TSADCC_CDRx and TSADCC_LCDR.
4.
Set Trigger Counter to 2.