cancel
Showing results for 
Search instead for 
Did you mean: 

What to do to use LSE?

AD�?b
Senior

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

6 REPLIES 6

>>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 Venmo Up vote any posts that you find helpful, it shows what's working..
AD�?b
Senior

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

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 Venmo Up vote any posts that you find helpful, it shows what's working..
AD�?b
Senior
  1. I have STM32746GDiscovery. RTC does not exist there. Will it work?
  2. I wonder why I can not set LSE directly in CubeMX

>>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 Venmo Up vote any posts that you find helpful, it shows what's working..
AD�?b
Senior

Thank you.