Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE
Hello,
I stumbled upon the following code in flash.h (driverlib/2838x/driverlib_cm).
It seems to me the actual write to the register is missing here.. When I check version 4.01.000 of c2000 ware. The register is actually written. With the following:
HWREG(ctrlBase + FLASH_O_FRDCNTL) =
(HWREG(ctrlBase + FLASH_O_FRDCNTL) &
~(uint32_t)FLASH_FRDCNTL_RWAIT_M) |
((uint32_t)waitstates << FLASH_FRDCNTL_RWAIT_S);