Skip to main content
AD�?b
Senior
November 3, 2018
Question

What to do to use LSE?

  • November 3, 2018
  • 6 replies
  • 1069 views

STM32F746GDiscovery, CubeMX. Selecting RCC-> LSE causes the Clock Configuration error. I want to use this clock.

    This topic has been closed for replies.

    6 replies

    Tesla DeLorean
    Guru
    November 3, 2018

    >>I want to use this clock.

    To do what?

    Look at the RTC examples, and how they bring up HSE and HSI clocks.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    AD�?b
    AD�?bAuthor
    Senior
    November 5, 2018

    Example in the STM32Cube_FW-F7_V1,12.0 ... RCC library? No RTC.

    Tesla DeLorean
    Guru
    November 5, 2018

    STM32Cube_FW_F7_V1.12.0\Projects\STM32F767ZI-Nucleo\Examples\RTC\RTC_Calendar\Src\stm32f7xx_hal_msp.c

    STM32Cube_FW_F7_V1.12.0\Projects\STM32756G_EVAL\Examples\PWR\PWR_STANDBY\Src\stm32f7xx_hal_msp.c

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    AD�?b
    AD�?bAuthor
    Senior
    November 5, 2018
    1. I have STM32746GDiscovery. RTC does not exist there. Will it work?
    2. I wonder why I can not set LSE directly in CubeMX

    Tesla DeLorean
    Guru
    November 5, 2018

    >>I have STM32746GDiscovery. RTC does not exist there. Will it work?

    The board has both crystals placed, so I'd expect the RTC to work. You might have to port examples to the board, but that should not be an unduly complex task.

    >>I wonder why I can not set LSE directly in CubeMX

    I don't know, I'm not a user of CubeMX in my day-to-day work. I've used it in seminars, but it really doesn't address any higher order problems I have to deal with.

    Perhaps the board template is missing some pin designations or checkbox items.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    AD�?b
    AD�?bAuthor
    Senior
    November 6, 2018

    Thank you.