2016-05-02 01:50 AM
Hi. I'm trying to set LTDC clock to 54MHz but I am measuring 385.7kHz instead of the true value with oscilloscope. Scope has 350 MHz bandwidth.
I'm configuring the PLLSAI with std_periph libraries; RCC_PLLSAIConfig(432, 2, 2); RCC_LTDCCLKDivConfig(RCC_PLLSAIDivR_Div2); RCC_PLLSAICmd(ENABLE); while(RCC_GetFlagStatus(RCC_FLAG_PLLSAIRDY) == RESET) {} Am I missing something? Thanks.2016-05-02 09:24 AM
Hi kasapoglu.orkun,
First, take into account that for STM32F429, the LTDC clock output frequency is limited to 42MHz as mentioned in its (Table107. LTDC characteristics) I suggest that you refer to the LTDC examples in (since you are using it) ; LTDC_Display_1Layer as example where you can reconfigure the PLLSAI perscalers to get you desired frequency. The example is under the following path: STM32F4xx_DSP_StdPeriph_Lib_V1.7.1\Project\STM32F4xx_StdPeriph_Examples\LTDC\LTDC_Display_1Layer -Hannibal-