ISD94100 Series Technical Reference Manual
Sep 9, 2019
Page
212
of 928
Rev1.09
IS
D
9
410
0
S
ER
IE
S
T
E
C
HN
ICA
L
RE
F
E
RE
NCE
M
AN
U
AL
6.4.4.9 Flash Access Cycle Auto-Tuning
The ISD94100 series supports the flash access cycle auto-tuning function. User don’t need to set
the flash access cycle by manual while system clock (HCLK) is changed, hardware will monitor the
HCLK frequency and generate a optimized cycle number for flash controller to get the best
performance.
Any updated registers of HCLK source and divder, are the auto-tuning trigger events, include
HCLKSEL(CLK_CLKSEL0), CLK_PLLCTL, and HCLKDIV(CLK_CLKDIV0). When detecting a
event, FMC will set the max number (i.e., 8) temporarily to CYCLE (FMC_CYCCTL[3:0]) register to
save flash access without influence by clock changed. HIRC clock is necessary for auto-tuning to
generate a exact period for HCLK counting. The HCLK detected frequency and optimized CYCLE
number is showed in Table 6.4.4-5.
HCLK Clock Frequency
Optimized CYCLE Number
0 MHz ~27 MHz
1
27 MHz~51 MHz
2
51 MHz~78 MHz
3
78 MHz~105 MHz
4
105 MHz~132 MHz
5
132 MHz~159 MHz
6
159 MHz~189 MHz
7
>189 MHz
8
Table 6.4.4-5 Flash Access Optimized Cycle under auto-tuning function
The flash access cycle auto-tuning flow is showed in Figure 6.4-17.