SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
When a CPU performs a read access to a Flash memory address, data is returned after (RWAIT + 1) SYSCLK cycles.
For an access to the SECCFG or BANKMGMT Flash regions, data is returned after 10 SYSCLK cycles.
RWAIT defines the number of random access wait states, and is configured using the RWAIT field in the FRDCNTL register. At reset, RWAIT defaults to a value of 2. RWAIT can be reconfigured to a lower value when the CPU clock frequency is low enough to accommodate the Flash access time. For a table of supported RWAIT values versus CPU clock frequency ranges, refer to the device data sheet.
For a given system clock frequency, configure RWAIT using the following formula:
where SYSCLK is the system operating frequency, and where FCLK is the Flash clock frequency.
FCLK must be ≤ FCLKmax, the allowed maximum Flash clock frequency.
If RWAIT results in a fractional value when calculated using the above formula, round up RWAIT to the nearest integer.