Skip to content

nt4t/Chibios-STM32F051-DISCOVERY-lis302dl-spi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F0-Discovery-example-code

This is my example code for the STM32F0 Discovers using the RTOS ChibiOS.

requirements

  • Chibios 2.5.0+ (or a recent development snapshot)
  • arm toolchain (e.g. arm-none-eabi from summon-arm)

features

  • background blinker thread
  • lis302dl acceleration measurement

usage

  • edit the Makefile and point "CHIBIOS = ../../chibios" to your ChibiOS folder
  • make
  • connect the STM32F0 Discovery with TTL/RS232 adapter, PA2(TX) and PA3(RX) are routed to USART2 38400-8-N-1.
  • connect lis302dl to portB 12-15 pins.
  • flash the STM32F0
  • use your favorite terminal programm to connect to the Serial Port 38400-8n1

About

STM32F051 lis302 digital accelerometer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages