Open
Description
Currently trying to use the FMC to interface with SRAM. I really just need to be able to do a read. There isn't a structure for SRAM. Only SDRAM and Nand. I am trying to use SDRAM in place of SRAM. There are a bunch of initialization parameters for SdramChip
that I don't think really pertain to me.
const MODE_REGISTER: u16 = 0x0000;
const CONFIG: SdramConfiguration = SdramConfiguration {
column_bits: 8,
row_bits: 13,
memory_data_width: 16,
internal_banks: 2,
cas_latency: 0,
write_protection: true,
read_burst: true,
read_pipe_delay_cycles: 0,
};
const TIMING: SdramTiming = SdramTiming {
startup_delay_ns: 0,
max_sd_clock_hz: ?????,
refresh_period_ns: ?????,
mode_register_to_active: ????,
exit_self_refresh: ?????,
active_to_precharge: ?????,
row_cycle: ????,
row_precharge: ????,
row_to_column: ????,
}
Is there a way to interface with SRAM without supplying these parameters or dummy parameters that I can provide?
Metadata
Metadata
Assignees
Labels
No labels