Page 1 of 1

PLLSAI for LCD-TFT clock

Posted: Thu Aug 21, 2014 12:46 pm
by shinelikerain
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.

Re: PLLSAI for LCD-TFT clock

Posted: Thu Aug 21, 2014 3:04 pm
by Giovanni
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

Re: PLLSAI for LCD-TFT clock

Posted: Thu Aug 21, 2014 3:10 pm
by shinelikerain
Thank you :)