diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2020-01-21 11:41:07 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2020-01-21 11:41:07 +0300 |
commit | 723766c08127d3f489d90ea94bc090d9481bbebb (patch) | |
tree | 01ea4f3243c25291e0049247f68cd1547b33cd58 | |
parent | fbce36388c455b9633a25eb4ce872940ae6f72fa (diff) |
New FMC settings for STM32.fmc_clk
-rw-r--r-- | stm-fmc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |