System Clock Configuration for STM32MP1 #51933
Replies: 3 comments 1 reply
-
The clock_stm32_ll_mp1.c might be a good starting point to be completed |
Beta Was this translation helpful? Give feedback.
-
In usual case, we expect A9 core to set up M4 clock. Are you sure you want to deviate from this use case ? |
Beta Was this translation helpful? Give feedback.
-
Right the clock tree is managed by Linux on the Cortex-A9. The Cortex-M4 has just to enable/disable peripheral clock to maintain the clock. |
Beta Was this translation helpful? Give feedback.
-
We are trying to develop a function which is very much similar to what STM32 Cube IDE generate for system clock configuration. We are using zephyr and I want to add that into our project. We are using STM32MP1 series controller for M4 controller and that is without using HAL of ST. If anyone has done this or have any idea apricate your input. Also I see that in engineering mode M4 is works with 64MHz and that is what I am trying to modify this and take it to 209MHz in engineering mode too.
Reference:
Reference to Function, similar to which we are trying to develop with zephyr https://github.com/eziya/STM32_SPI_MCP2515/blob/master/Src/main.c#L148
(I am looking to have function like SystemClock_Config(void) in above mentioned link)
@FRASTM @erwango
Beta Was this translation helpful? Give feedback.
All reactions