Kendrick Shaw
2012-07-14 11:16:57 UTC
Dear libopencm3 developers,
Would you be interested in an SPI example for the STM32F4-Discovery
board and/or
additional notes for new users?
We recently worked through the process of communicating with an SPI
device using
the Discovery board via USB. The libopencm3 library proved extremely
useful fo
r this process and we are grateful to have this as a resource.
The SPI examples provided for the f1 and f2 chips were very helpful, but
we stru
ggled with some of the f4 specific configuration. Using the STM32F4
reference d
ocumentation combined with these examples, we were eventually able to
get readin
gs from the accelerometer on the STM32F4-Discovery board via SPI.
As novices to embedded development, it also took us some time to get a
working b
uild and flash process, so we also documented this. Perhaps these notes
might be
useful to future developers new to the STM32F4-Discovery board.
If any of this sounds useful to include in the libopencm3 project, we'd
be happy
to contribute it. Also, we are happy to make changes for easier
upstream inclus
ion.
Our notes, examples, and Makefies currently reside on github:
https://github.com/ericherman/stm32f4-discovery-example
Thank you very much for all of the work on libopencm3,
Kendrick Shaw
Eric Herman
Would you be interested in an SPI example for the STM32F4-Discovery
board and/or
additional notes for new users?
We recently worked through the process of communicating with an SPI
device using
the Discovery board via USB. The libopencm3 library proved extremely
useful fo
r this process and we are grateful to have this as a resource.
The SPI examples provided for the f1 and f2 chips were very helpful, but
we stru
ggled with some of the f4 specific configuration. Using the STM32F4
reference d
ocumentation combined with these examples, we were eventually able to
get readin
gs from the accelerometer on the STM32F4-Discovery board via SPI.
As novices to embedded development, it also took us some time to get a
working b
uild and flash process, so we also documented this. Perhaps these notes
might be
useful to future developers new to the STM32F4-Discovery board.
If any of this sounds useful to include in the libopencm3 project, we'd
be happy
to contribute it. Also, we are happy to make changes for easier
upstream inclus
ion.
Our notes, examples, and Makefies currently reside on github:
https://github.com/ericherman/stm32f4-discovery-example
Thank you very much for all of the work on libopencm3,
Kendrick Shaw
Eric Herman