diff options
author | robert-hh <robert@hammelrath.com> | 2025-02-04 18:17:47 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-02-10 11:32:26 +1100 |
commit | 0a433a02e1eab1c95e57129a1e828780c871be42 (patch) | |
tree | a35a831f29f1c19132a656cbf6da4844e40ee9bb /docs/esp32 | |
parent | d40849d07d2523fa16070bfcae34b51b7b14942b (diff) | |
download | micropython-0a433a02e1eab1c95e57129a1e828780c871be42.tar.gz micropython-0a433a02e1eab1c95e57129a1e828780c871be42.zip |
mimxrt/hal: Set the flexspi flash CLK frequency on boot.
The flash clock frequency may have been set to a different value by a
bootloader. Set the frequency according to the configured value. Use a
table of pre-calculated dividers to get the closest value for the flash
frequency, achieving for MIMXRT10xx:
30 -> 30.85 MHz
50 -> 49.65 MHz
60 -> 60 MHz
75 -> 75.13 MHz
80 -> 80 MHz
100 -> 99.31 Mhz
133 -> 132.92 MHz
166 -> 166.15 MHz
for MIMXRT1176:
30 -> 31 MHz
50 -> 52.8 MJz
60 -> 58.7 MHz
75 -> 75.4 MHz
80 -> 75.4 MHz
100 -> 105.6 MHz
133 -> 132 MHz
166 -> 176 MHz
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions