Software User Guide
SmartMotion ICM-42688-P
March 03, 2020
Version 2.0
2
TABLE OF CONTENTS
1. Useful Links ........................................................................................................................................... 3
2. Overview ................................................................................................................................................ 3
2.1. Introduction .................................................................................................................................... 3
2.2. ICM-426xx Basics ......................................................................................................................... 3
3. Hardware Platform ................................................................................................................................. 4
3.1. SmartMotion Platform Connectivity ............................................................................................... 4
3.1.1. Jumpers configuration ............................................................................................................... 4
3.1.2. Daughter boards........................................................................................................................ 5
3.1.3. Illustration of the configuration for SPI and I2C ........................................................................ 5
3.1.4. Getting traces on the SmartMotion platform ............................................................................. 6
4. Software Environment............................................................................................................................ 7
4.1. Prerequisite ................................................................................................................................... 7
4.2. Package Description ..................................................................................................................... 7
4.3. Flashing Binaries ........................................................................................................................... 7
4.4. Opening examples projects ........................................................................................................... 8
5. Example applications ........................................................................................................................... 10
5.1. Commonalities............................................................................................................................. 10
5.1.1. Interfaces ................................................................................................................................. 10
5.1.2. DMP configuration ................................................................................................................... 10
5.2. Algo Example .............................................................................................................................. 11
5.3. EIS Example................................................................................................................................ 15
5.4. Pedometer Example .................................................................................................................... 17
5.5. Raise to Wake Example .............................................................................................................. 19
5.6. Raw AG Example ........................................................................................................................ 21
5.7. Raw Data Registers Example ..................................................................................................... 24
5.8. Sanity Example ........................................................................................................................... 25
5.9. Self-test Example ........................................................................................................................ 26
5.10. SMD Example ............................................................................................................................. 27
5.11. Tap Example ............................................................................................................................... 28
5.12. Tilt Example ................................................................................................................................. 29
5.13. WOM Example ............................................................................................................................ 30
6. Code size ............................................................................................................................................. 32