Various aspects of home brew inverters


Author Message
gaspo
Regular Member

Joined: 25/06/2018
Location: Australia
Posts: 65
Posted: 11:18am 07 Nov 2018      

  poida said  
What IDE or tool chain are you using?
Could I try and find a cheap STM32 ? maybe
this ebay cheapie will be close enough to run the code you develop?


Poida, you can go Arduino way as noneyabussiness suggested. It will get you going fast with familiar library functions. It took me less than 20 minutes to get the blinking LED program going. Here is the list of supported STM32F103 boards.

For Arduino development I use VS Code with Arduino add on, mostly because it offers intellisense.

I have that STM32F030 development board. I used it over a year ago to learn STM32. I went the hard way using the reference manual and writing my own C++ library for the peripherals I needed.

Coding for STM32 is significantly more involved than for ATMEGA 8-bit chips. Learning cure is really steep.

I use Eclipse IDE with CDT (C/C++ development) and GNU MCU (ARM support) add ons.
ST Link adapter is also invaluable device allowing to program/debug code via SWD interface present on ARM Cortex cores.

You can also use ST supplied Standard Peripheral or HAL libraries. ST even provide configuration tool where you can graphically select peripheral functionality you need and it will then produce code for you.

It really depends on what you prefer in terms of development.