Skip to main content
N ORhan
Associate III
Jul 26, 2018 12:54 PM UTC
Question

FMC Timing registers can not be written!

Im working to use external SDRAM for STM32F746DISCO board and configuring associated FMC register. When ia start to debug i see that all of SDTR (timing) register bits are valued as F. I can write to SDCR and SDCMR registers but can not write to timing registers. What is the reason for that and how can i fix this problem?

Thanks

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    Jul 26, 2018 8:22 PM UTC

    Having a hard time visualizing this issue, show some configuration code and register view from the debugger.

    Review and test the code examples from the repository, and compare-and-contrast with what you are doing.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    N ORhan
    N ORhanAuthor
    Associate III
    Jul 27, 2018 6:16 AM UTC

    Thank for your answer Clive. i fixed that problem. These register's reset value are 0xFFFFFFFF so when i "ORed (|=)" the register with my values, all of the bits remain as F.