This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] F05 Flash: Is the flash zero wait-state? How many wait-states are required when running from flash?

Other Parts Discussed in Thread: C2000WARE

Q: Is the flash zero wait-state? How many wait-states are required when running from flash?

  • A:

    This answer refers to C2000 devices which have F05 flash technology (Which devices include F05 Flash?)

    In general, the number of wait-states depends upon the CPU clock (SYSCLKOUT) frequency. Refer to the data manual or datasheet flash timing specification for the access time of the flash on a specific device. In this section you will find a table that provides the number of wait-states for different SYSCLKOUT frequencies. In addition to this table, the equation to determine the number of wait-states required is provided in the same section of the datasheet.  This formula can be applied if the SYSCLKOUT frequency is different from those listed in the table.

    A prefetch buffer for the flash improves performance.  Refer to the TRM for more information.

    There is a C2000Ware software example for each F05 device family in the device_support directory which illustrates how to configure the flash waitstates and enable the flash prefetch buffer.  For example:

    • C2000Ware_<version>\device_support\f2806x\examples\c28\flash_f28069
    • C2000Ware_<version>\device_support\f2803x\examples\c28\flash_f28035

    For more F05 related FAQs refer to [FAQ] F05 Flash: Frequently Asked Questions