I'm having trouble getting my Starterware-based project to write/read from NOR flash. I am using a PC28F00AP33-TFA for my NOR flash. I am interfacing to the AM3359 on a custom made board. I have configured the GPMC module for 16-bit, AD multiplexed NOR device. I am able to read the Manufacturer Code and Device ID Code.
My issue is that when I write to a 16-bit location on the device, it appears that the write also occurs at the next memory location. I experience this issue using asynchronous single read/writes.
I may have incorrect timing settings, but I am not sure where to look. Does anyone have any advice?
Thank you in advance for any advice you may have.
We discovered that this was a schematic issue.
Looking at Table 7-5 in the TRM, it indicates that gpmc_a is not used when configured for 16-bit multiplexed device.
Additionally, GPMC_AD[15-0] should ALL be connected to the Flash device's address lines.
After board rework, I found the following issue and solution:
The TRM / Datasheet for the AM3359 has a bit of a conflict. If you want to connect to a Multiplexed Address/Data 16-bit device, you'll need to use the GPMC signals GPMC[11:1].
The IO configuration for these signals say that a mux value of 0 will make them behave as GPMC_A[11:1]. A mux value of 4 will force them to GPMC_A[27:17].
To use the GPMC peripheral for a AD Mux device, the IO mux for GPMC_A[11:1] must be set as value 0.
I have verified these settings on real hardware.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.