STM32F4DISCOVERY: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
K (serialUSB)
KKeine Bearbeitungszusammenfassung
Zeile 13: Zeile 13:
http://libopencm3.git.sourceforge.net/git/gitweb-index.cgi
http://libopencm3.git.sourceforge.net/git/gitweb-index.cgi


== Serial USB USART ==
== my Code Examples ==
* creates a ttyACMx device to communicate with
* serialUSB
* Code Example: https://www.das-labor.org/trac/browser/microcontroller/src-stm32f4xx/serialUSB
* flash your code into SRAM
* breakpoint on main, edit gdbscript if you don't want a breakpoint
* Timer1 PWM + DMA Events
* no need to install driver on Linux, Windows: find out by yourself
* Timer12 CH1 clock input
* open /dev/ttyACM0 with any terminal programm
* Timer4 PWM
* Timer2 starts on ETR, is clocked from ITR2
* DMA SRAM to PORTA, Circular mode
 
http://redmine.das-labor.org/projects/stm32f4xx

Version vom 30. Januar 2012, 22:46 Uhr

STM32F4

Compiling IDE for linux

ST-Link

http://cu.rious.org/make/stm32f4-discovery-board-with-linux/

Free Code Examples for STM32F4

http://libopencm3.git.sourceforge.net/git/gitweb-index.cgi

my Code Examples

  • serialUSB
  • flash your code into SRAM
  • Timer1 PWM + DMA Events
  • Timer12 CH1 clock input
  • Timer4 PWM
  • Timer2 starts on ETR, is clocked from ITR2
  • DMA SRAM to PORTA, Circular mode

http://redmine.das-labor.org/projects/stm32f4xx