Dear All,
I am trying to use GPMC for DSP to communicate with the FPGA.
I chose the CS_1 as the chip select line, thus the registers of GPMC_CONFIG(1~7)_1 is configured as follows:
0x28001010
0x00101080
0x00020201
0x0F031003
0x000F1111
0x0F030080
0x00000818
Also, I use statements such as '*gpmc_option_addr = trans_data' and ‘recv_data = *gpmc_option_addr ’ in my CCS project to write to and read from GPMC. I use the chip scope software to capture and study the level. It is surprising that the writing option is correct while the read option is not. When I first try to read from GPMC, I observe that the CS line is enabled sixteen times, the WE line is enabled twice during every time when CS line is enabled, and the address line is driven sixteen times and the output value increases by one each time. It seems as if GPMC completes a read burst though I have configured it as single read. After I try to read several times, the CS line will not be enabled. I even had no idea about the GPMC one week ago and I can't tell what's wrong with it by myself. Is anyone willing to help me? Thanks for your time!
BR,
Miao
