fpga_timing_init_struct.asyn_access_mode = EXMC_ACCESS_MODE_A; // 异步访问模式
fpga_timing_init_struct.syn_data_latency = EXMC_DATALAT_2_CLK; //配置数据延迟
fpga_timing_init_struct.syn_clk_division = EXMC_SYN_CLOCK_RATIO_2_CLK; //配置时钟分割比
fpga_timing_init_struct.bus_latency = 0; //配置总线延迟
fpga_timing_init_struct.asyn_data_setuptime = 15; //配置数据设置时间
fpga_timing_init_struct.asyn_address_holdtime = 3; //配置地址保持时间
fpga_timing_init_struct.asyn_address_setuptime = 8; //配置地址设置时间
fpga_init_struct.norsram_region = EXMC_BANK0_NORSRAM_REGION0; //使用0
fpga_init_struct.cram_page_size = EXMC_CRAM_AUTO_SPLIT; //页地址大小
fpga_init_struct.write_mode = EXMC_ASYN_WRITE; // 异步写模式
fpga_init_struct.extended_mode = DISABLE; //
fpga_init_struct.asyn_wait = DISABLE;
fpga_init_struct.nwait_signal = DISABLE;
fpga_init_struct.memory_write = ENABLE;
fpga_init_struct.nwait_config = EXMC_NWAIT_CONFIG_BEFORE;
fpga_init_struct.nwait_polarity = EXMC_NWAIT_POLARITY_LOW;
fpga_init_struct.burst_mode = DISABLE;
fpga_init_struct.databus_width = EXMC_NOR_DATABUS_WIDTH_16B;
fpga_init_struct.memory_type = EXMC_MEMORY_TYPE_SRAM;
fpga_init_struct.address_data_mux = DISABLE;
//fpga_init_struct.read_write_timing = &fpga_timing_init_struct;
//fpga_init_struct.write_timing = &fpga_timing_init_struct;
exmc_norsram_init(&fpga_init_struct);
exmc_norsram_enable(EXMC_BANK0_NORSRAM_REGION0);//根据实际情况修改 |