English
Language : 

XC164SM_07 Datasheet, PDF (57/67 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core
XC164SM
Derivatives
Electrical Parameters
Sample time and conversion time of the XC164SM’s A/D Converter are programmable.
In compatibility mode, the above timing can be calculated using Table 15.
The limit values for fBC must not be exceeded when selecting ADCTC.
Table 15 A/D Converter Computation Table1)
ADCON.15|14 A/D Converter
ADCON.13|12 Sample Time
(ADCTC)
Basic Clock fBC
(ADSTC)
tS
00
fSYS / 4
00
tBC × 8
01
fSYS / 2
01
tBC × 16
10
fSYS / 16
10
tBC × 32
11
fSYS / 8
11
tBC × 64
1) These selections are available in compatibility mode. An improved mechanism to control the ADC input clock
can be selected.
Converter Timing Example:
Assumptions: fSYS
Basic clock
fBC
Sample time
tS
Conversion 10-bit:
With post-calibr. tC10P
Post-calibr. off tC10
Conversion 8-bit:
With post-calibr. tC8P
Post-calibr. off tC8
= 40 MHz (i.e. tSYS = 25 ns), ADCTC = ‘01’, ADSTC = ‘00’
= fSYS / 2 = 20 MHz, i.e. tBC = 50 ns
= tBC × 8 = 400 ns
= 52 × tBC + tS + 6 × tSYS = (2600 + 400 + 150) ns = 3.15 μs
= 40 × tBC + tS + 6 × tSYS = (2000 + 400 + 150) ns = 2.55 μs
= 44 × tBC + tS + 6 × tSYS = (2200 + 400 + 150) ns = 2.75 μs
= 32 × tBC + tS + 6 × tSYS = (1600 + 400 + 150) ns = 2.15 μs
Data Sheet
55
V1.2, 2007-03