2010-10-04 05:11 AM
help me STM32
2011-05-17 05:10 AM
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.2011-05-17 05:10 AM
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 alls2011-05-17 05:10 AM
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.