Fixed readme file for ADXL317 demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16115 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
24da50d517
commit
1ccbcb30a3
|
@ -1,20 +1,46 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
** ChibiOS/RT port for ARM-Cortex-M4 STM32F469. **
|
** ChibiOS/HAL + ChibiOS/EX - I2C + PWM + ADXL317 demo for STM32F4xx. **
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
** TARGET **
|
** TARGET **
|
||||||
|
|
||||||
The demo runs on an ADI EVAL-SDP-CK1Z board.
|
The demo runs on an ADI EVAL-SDP-CK1Z board. It has been tested
|
||||||
|
connecting an external the EVAL-ADXL317Z.
|
||||||
|
|
||||||
** The Demo **
|
** The Demo **
|
||||||
|
|
||||||
The demo flashes the board LEDs using a thread, by short circuiting ARD-A0
|
The application demonstrates the use of the STM32F4xx I2C driver in order
|
||||||
to GND the test procedure is activated with output on the serial port SD5
|
to acquire data from ADXL317 using ChibiOS/EX.
|
||||||
(USART5, mapped on the CMSIS DAP Virtual COM Port).
|
|
||||||
|
** Board Setup **
|
||||||
|
|
||||||
|
With reference to the schematic of EVAL-ADXL317Z and
|
||||||
|
to the Schematic of the SDP-K1 the following connection
|
||||||
|
are needed:
|
||||||
|
---------------------------------------------
|
||||||
|
| EVAL-ADXL317Z | SDP-K1 |
|
||||||
|
|---------------------------------------------|
|
||||||
|
| | |
|
||||||
|
| P1.1 | ARD_GND |
|
||||||
|
| P1.5 | ARD_3 |
|
||||||
|
| P1.7 | ARD_D15 |
|
||||||
|
| P1.8 | ARD_D14 |
|
||||||
|
| P1.9 | ARD_3V3 |
|
||||||
|
---------------------------------------------
|
||||||
|
|
||||||
|
On the SDP-K1 move the Jumper P14 to 1.8V.
|
||||||
|
|
||||||
** Build Procedure **
|
** Build Procedure **
|
||||||
|
|
||||||
The demo has been tested by using the free Codesourcery GCC-based toolchain
|
The demo has been tested using the free Codesourcery GCC-based toolchain
|
||||||
and YAGARTO. just modify the TRGT line in the makefile in order to use
|
and YAGARTO.
|
||||||
different GCC toolchains.
|
Just modify the TRGT line in the makefile in order to use different GCC ports.
|
||||||
|
|
||||||
|
** Notes **
|
||||||
|
|
||||||
|
Some files used by the demo are not part of ChibiOS/RT but are copyright of
|
||||||
|
ST Microelectronics and are licensed under a different license.
|
||||||
|
Also note that not all the files present in the ST library are distributed
|
||||||
|
with ChibiOS/RT, you can find the whole library on the ST web site:
|
||||||
|
|
||||||
|
http://www.st.com
|
Loading…
Reference in New Issue