cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 tutorials?

luis
Associate II
Posted on October 02, 2014 at 19:55

Hi everyone, 

So i wanted to get into ST ARMs microcontrolers. I only used TI Tivas before but i wanted to try out the ST ones.

Well i would like to know if anyone could provide some links to tutorials and such. 

My main problem is the compiler. I can't seem to start a project in IAR workbench.

If anyone also has suggestions for other compilers i would appreciate it 

4 REPLIES 4
Posted on October 02, 2014 at 20:01

Most IDE's function in materially similar ways, I'd suggest you look at the Examples and project templates included with the Standard Peripheral Libraries. Understand the construction of those, the library files pulled in, the include paths, and compiler defines.

This covers the STM32F1, but might provide additional insight

http://www.cs.indiana.edu/~geobrown/book.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
luis
Associate II
Posted on October 02, 2014 at 20:06

Sincerely i spent hours trying to get a code to work. I use Cube examples and i was fine but i couldn't create a new project not even from a existing one nor the templates. A bit discouraging. I tried copying, editing, adapting the options and paths but nothing

I don't understand, i use IAR for the Tiva and i only take less than 2min now, it can't be that hard with the STM32.

megahercas6
Senior
Posted on October 03, 2014 at 10:56

Here is my quick start VIDEO how to set up STM32F4 in IAR IDE

https://www.youtube.com/watch?v=FV5x-RiyKqo&list=UUDBSFAz0IZN4Jjs07bH1XqQ

luis
Associate II
Posted on October 03, 2014 at 14:11

Thanks, i will check it out later more in depth but it seems exactly what i need