English
Language : 

XC164GM_07 Datasheet, PDF (64/69 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core
XC164GM
Derivatives
Electrical Parameters
4.4.2 On-chip Flash Operation
The XC164GM’s Flash module delivers data within a fixed access time (see Table 17).
Accesses to the Flash module are controlled by the PMI and take 1+WS clock cycles,
where WS is the number of Flash access waitstates selected via bitfield WSFLASH in
register IMBCTRL. The resulting duration of the access phase must cover the access
time tACC of the Flash array. The required Flash waitstates depend on the actual system
frequency.
The Flash access waitstates only affect non-sequential accesses. Due to prefetching
mechanisms, the performance for sequential accesses (depending on the software
structure) is only partially influenced by waitstates.
In typical applications, eliminating one waitstate increases the average performance by
5% … 15%.
Table 17 Flash Characteristics (Operating Conditions apply)
Parameter
Symbol
Limit Values
Unit
Min. Typ. Max.
Flash module access time
tACC CC –
–
501)
ns
Programming time per 128-byte block tPR CC –
22)
5
ms
Erase time per sector
tER CC –
2002) 500
ms
1) The actual access time is influenced by the system frequency, see Table 18.
2) Programming and erase time depends on the system frequency. Typical values are valid for 40 MHz.
Example: For an operating frequency of 40 MHz (clock cycle = 25 ns), the Flash
accesses must be executed with 1 waitstate: ((1+1) × 25 ns) ≥ 50 ns.
Table 18 indicates the interrelation of waitstates and system frequency.
Table 18 Flash Access Waitstates
Required Waitstates
Frequency Range
0 WS (WSFLASH = 00B)
1 WS (WSFLASH = 01B)
fCPU ≤ 20 MHz
fCPU ≤ 40 MHz
Note: The maximum achievable system frequency is limited by the properties of the
respective derivative, i.e. 40 MHz (or 20 MHz for XC164GM-xF20F devices).
Data Sheet
62
V1.2, 2007-03