ChibiOS/testex/ADUCM/SPI-ADXL355
Rocco Marco Guglielmi db3586adf7 Updated ADXL355 demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in ADXL355.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15436 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 17:37:18 +00:00
..
cfg Added a new CH_CFG_HARDENING_LEVEL option to RT. 2021-12-13 15:44:12 +00:00
.cproject Added a new ChibiOS EX demo used to test the SPI driver of the ADUCM360 2020-06-02 13:05:32 +00:00
.project Added a new ChibiOS EX demo used to test the SPI driver of the ADUCM360 2020-06-02 13:05:32 +00:00
Makefile Makefile mass update, all paths changed to new ARMv7-M port. 2020-07-12 16:37:17 +00:00
main.c Updated ADXL355 demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in ADXL355. 2022-02-07 17:37:18 +00:00
readme.txt Added a new ChibiOS EX demo used to test the SPI driver of the ADUCM360 2020-06-02 13:05:32 +00:00

readme.txt

*****************************************************************************
** ChibiOS/HAL + ChibiOS/EX - SPI + ADXL355 demo for ADUCM360.             **
*****************************************************************************

** TARGET **

The demo runs on an ADI ADICUP360 board. It has been tested 
connecting an external the EVAL-ADXL355.

** The Demo **

The application demonstrates the use of the ADUCM360 SPI driver in order
to acquire data from ADXL355 using ChibiOS/EX. The data is printed on the
User USB port.

** Board Setup **

With reference to the ADI UG-1030 (EVAL-ADXL354/EVAL-ADXL355 User Guide) and
to the schamatic of the ADICUP360 the following connection
are need:
 ---------------------------------------------
|     EVAL-ADXL355     |      ADICUP360       |
|---------------------------------------------|
|                      |                      |
|         P1.1         |      ARD_IOREF       |
|         P1.3         |       ARD_3V3        |
|         P1.5         |       ARD_GND        |
|                      |                      |
|         P2.2         |         CS           |
|         P2.4         |        SCLK1         |
|         P2.5         |        MISO1         |
|         P2.6         |        MOSI1         |
 ---------------------------------------------
 
To redirect P0.6 and P0.7 to the User COM port  and to connect the SPI pin to 
the PWMH connector it is required to setup the switch matrix as:
 - S1 -> 1
 - S2 -> 0
 - S3 -> 1
 - S4 -> 0
 
** Build Procedure **

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.analog.com