Hello TI Forum,
I was reading the erratasheet for the MSP430FR4133, and I came across errata number GC5. One of the suggested workarounds says:
After LPM wake up, clear GCCTL1.UBDIFG and GCCTL1.CBDIFG, and then reinitialize the GCCTL0 register after the first valid FRAM access has been completed. For the valid FRAM access the user has to consider possible cache hits which depends on implementation.
I was planning to implement this workaround, but I'm confused on how to guarantee I will access the FRAM and not the cache. Since the cache is 16 bytes, can I guarantee FRAM access if I read 17 bytes? Is this the fastest/most efficient way to achieve this goal?
Also, how does the microcontroller determine what information to store in the cache? Lastly, if the cache loads new data from FRAM, does that count as a "valid FRAM access" per the workaround? Or is it only a valid FRAM access if the microcontroller core does the accessing?
Thanks!