From 1ccbcb30a350a052949ad280b92f2f6b206b4bb3 Mon Sep 17 00:00:00 2001 From: simodido Date: Mon, 27 Feb 2023 12:02:16 +0000 Subject: [PATCH] Fixed readme file for ADXL317 demo git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16115 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- .../STM32F4xx/I2C-PWM-ADXL317/readme.txt | 44 +++++++++++++++---- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/testex/STM32/STM32F4xx/I2C-PWM-ADXL317/readme.txt b/testex/STM32/STM32F4xx/I2C-PWM-ADXL317/readme.txt index 86d5eca49..0d6dee22b 100644 --- a/testex/STM32/STM32F4xx/I2C-PWM-ADXL317/readme.txt +++ b/testex/STM32/STM32F4xx/I2C-PWM-ADXL317/readme.txt @@ -1,20 +1,46 @@ ***************************************************************************** -** ChibiOS/RT port for ARM-Cortex-M4 STM32F469. ** +** ChibiOS/HAL + ChibiOS/EX - I2C + PWM + ADXL317 demo for STM32F4xx. ** ***************************************************************************** ** 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 flashes the board LEDs using a thread, by short circuiting ARD-A0 -to GND the test procedure is activated with output on the serial port SD5 -(USART5, mapped on the CMSIS DAP Virtual COM Port). +The application demonstrates the use of the STM32F4xx I2C driver in order +to acquire data from ADXL317 using ChibiOS/EX. + +** 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 ** -The demo has been tested by using the free Codesourcery GCC-based toolchain -and YAGARTO. just modify the TRGT line in the makefile in order to use -different GCC toolchains. \ No newline at end of file +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 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 \ No newline at end of file