Lab 07 · FPGAcademy handout edition 21.1

Accelerometer

Relate motion to an acceleration reading.

The remote DE1-SoC Linux activity is still in development. You can read the original handout below or choose a Linux activity you can run now.

Parts in handout order

  1. Part I
    Read acceleration registers through memory-mapped I/O

    Handout only

    Original handout PDF

  2. Part II
    Expose accelerometer samples through a character device

    Handout only

    Original handout PDF

  3. Part III
    Configure and calibrate the sensor with driver commands

    Handout only

    Original handout PDF

  4. Part IV
    Detect taps and double taps

    Handout only

    Original handout PDF

Original starter files

lab7_design_files.zip