Hi
In our custom AM5748 design we use the GPMC interface to connect a SRAM and MRAM to the Sitara. The SRAM uses CS0 and MRAM CS1. The interface consists of 8 data bits, 20 address bits, WEN and OEN_REN.
- SRAM is located at 0x0100'0000
- MRAM is located at 0x0200'0000
In PinMux tool we configured the interface as "non-multiplexed 8b NOR type - asynchronous" with default timing.
The problem we experience is that the first 32kB are mirrored throughout the wole address range (2Mbyte). The behaviour is the same for SRAM and MRAM. The device tree under Linux looks ok. We were able to see that address signal A15 of the GPMC interface is never high, the voltage is stuck at around 650mV. I checked the PinMux output file "genericFileFormatPadConf.txt and there I noticed that the MuxMode hasn't been set correctly.3
Screenshot "genericFileFormatPadConf.txt"
In the output file ball N2 is set to MuxMode 14, which according to the datasheet is correct. However MuxMode 14 is also for pgio2_28 and gpmc_a25.
According to the TRM the corresponding register only supports:
- gpmc_wait0
- gpio2_28
- Driver off
Screenshot datasheet
Screenshot TRM
Screenshot PinMux tool
it seems that ball N2 is configured as gpio2_28 and input functionality. How can I configure N2 to have the functionality of GPMC_A15? Why does MuxMode 14 contain 3 different signal names (functions)?
Thanks for your help.
Best regards,
Roger