STM32F469I-DISCO Board clock setup

For general Flowcode discussion that does not belong in the other sections.
stefan.erni
Valued Contributor
Posts: 1025
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

Re: STM32F469I-DISCO Board clock setup

Post by stefan.erni »

Hi Leigh

would it be possible to add more clock settings?
or can I do this in my program as C code?
These settings here are not enough for the display probably
2024-12-18_16-19-05.PNG
2024-12-18_16-19-05.PNG (239.04 KiB) Viewed 2601 times

LeighM
Valued Contributor
Posts: 458
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 82 times
Been thanked: 246 times

Re: STM32F469I-DISCO Board clock setup

Post by LeighM »

What extra settings do you need?
What do you think is missing?

stefan.erni
Valued Contributor
Posts: 1025
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

Re: STM32F469I-DISCO Board clock setup

Post by stefan.erni »

I don't understand how this works but we can test these settings first
already exists
PLL /N
PLL /P
PLL /Q
PLL /R

missing
PLLSAI /N
PLLSAI /P
PLLSAI /Q
PLLSAI /R

Details:
2024-12-19_08-56-15.PNG
2024-12-19_08-56-15.PNG (120.68 KiB) Viewed 2560 times
Overview:
2024-12-19_08-26-49.PNG
2024-12-19_08-26-49.PNG (262.82 KiB) Viewed 2560 times

LeighM
Valued Contributor
Posts: 458
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 82 times
Been thanked: 246 times

Re: STM32F469I-DISCO Board clock setup

Post by LeighM »

Ah, well spotted, looks like that LCD clock needs some attention then.
I'd forgotten that this device has an LCD controller, it's been quite a few years since I worked with this device.
I am still somewhat limited in the time I can put to technical investigations, hopefully someone can get there before me :D

LeighM
Valued Contributor
Posts: 458
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 82 times
Been thanked: 246 times

Re: STM32F469I-DISCO Board clock setup

Post by LeighM »

Here's a bit of a shot in the dark :D ...
Attachments
32F469DiscoveryLCD.fcdx
(37.81 KiB) Downloaded 81 times

stefan.erni
Valued Contributor
Posts: 1025
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

Re: STM32F469I-DISCO Board clock setup

Post by stefan.erni »

Hi Leigh

I have tried but there is a small problem.

Flowcode10_LCD_Test.c: In function 'main':
Flowcode10_LCD_Test.c:3537:26: error: 'rCC_PLLSAIInitStruct' undeclared (first use in this function)
Flowcode10_LCD_Test.c:3537:26: note: each undeclared identifier is reported only once for each function it appears in
Error(s) in build

LeighM
Valued Contributor
Posts: 458
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 82 times
Been thanked: 246 times

Re: STM32F469I-DISCO Board clock setup

Post by LeighM »

Please try this ...
Attachments
32F469DiscoveryLCD.fcdx
(37.16 KiB) Downloaded 51 times

stefan.erni
Valued Contributor
Posts: 1025
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

Re: STM32F469I-DISCO Board clock setup

Post by stefan.erni »

Yes compile works,
I have tested different settings
but the display only works correct, if I increase the delay time from 8 to 16Mhz, but then I2c and UART no longer work properly.

I will test the settings again and maybe we should have a look at the reset pin of the display LCD_reset

Post Reply