Dear all,
Processor Dm8168 2.1version.
Fpga is connected to Gpmc with CS1.
Configuration of Chip Select One (CS1)
1:Async Mode
2:Non Multiplexed address and data 16 bit.
3:Wait0
The below following link we refered:
http://e2e.ti.com/support/omap/f/849/t/306389.aspx
for example
#define GPMC_BASE_ADDR 0x50000000 -------->Gpmc Base Address
#define GPMC_FPGA_CS1_CONFIG_REG1 (0x00000060 + (0x00000030 * 1)) ------->Chip Select1 Configuration one register Base address
#define CS_SIZE_16M 0xF
---------------------------------------------------------------------------------------------------------------------------------------
please verify the below Base address calculation for fpga access is correct or not
fpga register offset is 0x00
0x04
0x08
gpmc_to_fpga_base_addr = ioremap((GPMC_BASE_ADDR + GPMC_FPGA_CS1_CONFIG_REG1 + CS_SIZE_16M), 0x8);
--------------------------------------------------------------------------------------------------------------------------------------
1:How to Calculate the base address for CS1 to access Fpga?
2:Can we access Fpga with out using Dma?
3:what is the difference in access of fpga using dma and without using dma?
do we have any sample code to access fpga is simple way?
Thanks,
Narthan S