cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMx 6.13 SystemClock_Config code generation issue for STM32MP257f-ev1

MBassi
Associate III

Hello,

I'm trying to generate code from a CubeMX project for STM32MP257f-ev1: my concern is that I've turn on PLLs from CubeMx Clock Configuration tab but code for PLLs clock configuration is not generated in SystemClock_Config function. In main.c I get only the following:

void SystemClock_Config(void)
{
__HAL_RCC_MCO1KERCLK_SETSOURCE(RCC_MCO1CLKOUTPUTSOURCE_CLK_MCO1);
}

Maybe I missed something but I can't find out, can someone please help me?

In attachment you can find the project .ioc file

Marco.

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @MBassi ,

You are refering to M33 corprocessor generated code. 

On STM32MP25, with A35 as Trusted CID (only configuration supported today) all clock configurations are done on OpenSTLinux side running on A35. 

All the clock tuning you made might be visible in the DeviceTree generated for the CA35. 

For further information, please refer to our Wiki documentation starting from Yocto-based OpenSTLinux software architecture overview - stm32mpu 

Hope it help 

Olivier 

 

 

 

 

 

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Ok, thank you very much @Olivier GALLIEN for fast replying,

I understand but now the question is: if I want to write code for M33 to test with the stm32mp257f-ev1 in developer (engineering) mode I have to write the code for Clock configuration by myself or I can use some other tool which help me writing clock configuration code?

Marco.