Hello everyone, my question now is that when using DMA to read data from the FIFO of FPGA on the EIM interface, both the CS signal and OE signal are normal. However, when using direct memory reading and writing, the CS signal remains invalid. Here is my code. Does anyone know what the problem is?
#define FPGA_BASE 0x50000000
#define REG_PULSE (*((volatile unsigned short *) (FPGA_BASE + 0x0002)))
BOARD_InitPins();
BOARD_BootClockRUN();
BOARD_InitMemory();
BOARD_InitDebugConsole();
BOARD_InitModuleClock();
SystemInitIrqTable();
while (1)
{
REG_PULSE = temp;
temp = FPGA_BASE;
}
Board_ InitMemory() uses code from the official SDK and has not made any modifications。