Any opinions on where is the best place (performance wise/code neatness) to initialise the LCD-TFT clock PLL (PLLSAI)?
In stm32_clock_init() within a #if STM32_ACTIVATE_PLLSAI?
Or in board.c?
Thank you.
PLLSAI for LCD-TFT clock
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: PLLSAI for LCD-TFT clock
Hi,
Usually it should go in the stm32_clock_init() with all the settings coming from mcuconf.h and checked in hal_lld.h.
Giovanni
Usually it should go in the stm32_clock_init() with all the settings coming from mcuconf.h and checked in hal_lld.h.
Giovanni
-
shinelikerain
- Posts: 15
- Joined: Mon Nov 25, 2013 11:10 am