cancel
Showing results for 
Search instead for 
Did you mean: 

help me STM32

bicmosit
Associate
Posted on October 04, 2010 at 14:11

help me STM32

3 REPLIES 3
Posted on May 17, 2011 at 14:10

hy all,I am newbie,I want to learn programming STM32.

how to configure GPIO ports, clock,etc?

Fantastic. Please refer to the technical reference manual (RM0008) for details of the port structure, clock trees and configuration options. The example code supplied with the ST Firmware Library, and Keil/IAR compilers, also provides a slew of example for how to use the peripherals within the STM32.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
bicmosit
Associate
Posted on May 17, 2011 at 14:10

I use the IAR compiler version 5.4 and would like to turn the LED every 1 sec, some simple program as a starting point?

thanks alls

Posted on May 17, 2011 at 14:10

I use the IAR compiler version 5.4 and would like to turn the LED every 1 sec, some simple program as a starting point?

Indeed, this sounds exactly like the BLINKY (Keil), GPIO\IOToggle (ST Lib v2) and GPIOToggle (ST Lib v3) type application provided in the demo/example/library code, and with the compilers in most cases.

Go to http://www.st.com/stm32-discovery  and download the library/firmware source file, or pick a library version more suited for the STM32 variant you are using.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..