2023-04-27 09:10 PM
I want the cortex-m4 to do
So, I write simple code to do PWM and find out the RCC in stm32cubeIDE not work because linux take control the clock config.
My question is, What is the best way to configure clock In my situation.
Is it better to modify clock on linux command? or would it better to modity it in device tree?
and where can I find the manual to modify it on devicetree?
Thanks
2023-04-28 03:12 AM
Hi @MJo.3
wiki is a large source of informations
you could start with
https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2
then also read
https://wiki.st.com/stm32mpu/wiki/How_to_assign_an_internal_peripheral_to_a_runtime_context
https://wiki.st.com/stm32mpu/wiki/Clock_overview
https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_development_guidelines
Regards,
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
2023-05-08 10:39 PM
I read the link and find out the clock can't be configured on M4 using cubeIDE while I'm using product mode(pin 1,2 are on). If it's not right, please reply it.
thanks.