Hello,
I have not been able to reliably read and write to a flash chip using the XINTF (16-bus).
The code is attached and is a a modified version of the Example_2833xDMA_xintf_to_ram (i.e. example from control suit). I am using the XDS100v2 debugger to debug the code.
I believe one of the issues is the the flash chip select low time. The flash chip select is only staying low for approximately 40ns, which is significantly less than what it should be as specified by the following settings (from code):
XintfRegs.XTIMING7.bit.XWRLEAD = 5; XintfRegs.XTIMING7.bit.XWRACTIVE = 12; XintfRegs.XTIMING7.bit.XWRTRAIL = 4; // Zone read timing XintfRegs.XTIMING7.bit.XRDLEAD = 5; XintfRegs.XTIMING7.bit.XRDACTIVE = 12; XintfRegs.XTIMING7.bit.XRDTRAIL = 4;
Could someone at TI please verify the code is working properly.
Thanks,
Stephen
Updated: the previously attached project builds with errors
New Project (builds without errors):