From 723766c08127d3f489d90ea94bc090d9481bbebb Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Tue, 21 Jan 2020 11:41:07 +0300 Subject: New FMC settings for STM32. --- stm-fmc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stm-fmc.c b/stm-fmc.c index 62b6433..b5e79e8 100644 --- a/stm-fmc.c +++ b/stm-fmc.c @@ -149,14 +149,14 @@ void fmc_init(void) // don't care in sync mode fmc_timing.DataSetupTime = 255; - // not needed, since nwait will be polled manually + // not needed fmc_timing.BusTurnAroundDuration = 0; // use 45 MHz to match what FMC arbiter in the FPGA expects - fmc_timing.CLKDivision = 4; + fmc_timing.CLKDivision = 4; // 180/4 - // use 4 to match what FMC arbiter in the FPGA expects - fmc_timing.DataLatency = 4; + // use 6 to match what FMC arbiter in the FPGA expects + fmc_timing.DataLatency = 6; // don't care in sync mode fmc_timing.AccessMode = FMC_ACCESS_MODE_A; -- cgit v1.2.3