21 lines
718 B
Plaintext
21 lines
718 B
Plaintext
|
*********************************************************************
|
||
|
** ChibiOS/RT I2C test demo for Freedom Board K20D50M. **
|
||
|
*********************************************************************
|
||
|
|
||
|
** TARGET **
|
||
|
|
||
|
The test runs on an Freescale Freedom K20D50M board.
|
||
|
|
||
|
** The Demo **
|
||
|
|
||
|
This test tries to access the onboard MMA8451 chip using the I2C bus.
|
||
|
It sends the command WHO_AM_I which has a standard answer that can be
|
||
|
verified. If the correct answer is received the GREEN led will blink.
|
||
|
If no answer or invalid answer is received the RED led will blink.
|
||
|
|
||
|
** Build Procedure **
|
||
|
|
||
|
This test was built using the ARM GCC toolchain available at:
|
||
|
|
||
|
https://launchpad.net/gcc-arm-embedded
|