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.

TMS320F28P650SK: PREFETCH_EN bit not working. Any ideas?

Part Number: TMS320F28P650SK

Tool/software:

Hi Guys, The prefetch mechanism is not working. Everytime I enable it my chip does not run. If I disable it my chip runs. 

If I enable the DATACACHE_EN bit then my chip runs fine. I checked the address which is FlashCtrlRegs 0x0005F800 + and the FRD_INTF_CTRL is offset 0x180.

The FRD_INF_CTRL is a 32bit register so I do a 32bit write and set the register to 3. Prefetch_bit + Datacache_bit set to 1.

The prefetch works fine on my F28075 176pin LQFP. I use the same ASM code to enable it and with this chip F28P650SK it just wont work.

Oh, the PLL in the F28P650SK is set to 50Mhz and the flash waitstates is set to bit 8 but that shouldn't affect the prefetch bit.

I'm really stuck on this one, Any ideas what the problem is guys? 

Please let me know because the F28P650SK runs really really SLOW without the prefetch enabled.

Hope to hear from you soon.

Peter Slight smile