cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I would like to convert Arduino code to STM32 Cube IDE code. Could you please help me ?

cewqss
Associate

Thank you from now.

3 REPLIES 3
Laurent Ca...
Lead II

Dear @cewqss​ 

I don't think your question is related to STM32 Motor Control Topic, is it?

Can I/you edit topics?

Best regards

mattias norlander
ST Employee

Hi @cewqss​,

ST has an initiative called STM32duino. Personally I don't know much about it, nor about the AdaFruit provided libraries you are trying to use and their dependencies. So I don't know "how deep the rabbit hole goes".

In STM32 world, you could also try the alternative approach of using CubeMX to configure the required peripherals to do what is needed. But you need to study the Arduino code and libraries and also the STM32 peripherals. I don't see an easy turn-key solution.

mattias norlander
ST Employee

Maybe you can also have a look here if you want to go the STM32Cube way:

https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:STM32_Advance_MotorControl