PLLSAI for LCD-TFT clock

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
shinelikerain
Posts: 15
Joined: Mon Nov 25, 2013 11:10 am

PLLSAI for LCD-TFT clock

Post 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.
User avatar
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

Post 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
shinelikerain
Posts: 15
Joined: Mon Nov 25, 2013 11:10 am

Re: PLLSAI for LCD-TFT clock

Post by shinelikerain »

Thank you :)
Post Reply