Skip to content

This repository contains code that demonstrates how to create an application using the Sensiml Knowledge Pack

License

Notifications You must be signed in to change notification settings

sensiml/avr128da48-template

 
 

Repository files navigation

MCHP

Application Template using AVR128DA48 Curiosity Nano

| :--: |

The demo project runs on the AVR Curiosity Nano with the Bosch BMI160 (Mikroe IMU2 click board) or TDK ICM42688 (Mikroe IMU14 click board) sensors.

Related Documentation

Software Used

Hardware Documentation

Data Collection Firmware

To build data logging firmware for different sensor configurations, visit the ml-avrda-cnano-imu-data-logger repository.

Sensor Configuration

The sensor configuration used in this demo is summarized in the table below. These settings can be changed by modifying app_config.h.

IMU Sensor Axes Sampling Rate Accelerometer Range Gyrometer Range
Bosch BMI160 Ax, Ay, Az, Gx, Gy, Gz 100Hz 2G 125DPS

Firwmare Operation

The firmware will reflect the state of operation of the demo using the onboard LEDs; this behavior is summarized in the table below.

In addition, the firmware also prints the classification output for each inference over the UART port. To read the UART port output, use a terminal emulator of your choice (e.g., PuTTY) with the following settings:

  • Baudrate 115200
  • Data bits 8
  • Stop bits 1
  • Parity None

The terminal output should look similar to the figure shown below.

Terminal output
UART Terminal Output

Firmware Benchmark

Measured with the BMI160 sensor configuration, -O2 level compiler optimizations, and 4MHz clock

  • 30kB Flash
  • 2.6kB RAM
  • 24ms Inference time (average)

Summary

This example includes a knowledge pack that will generate a test pattern 1,2,3,3,2,1..

About

This repository contains code that demonstrates how to create an application using the Sensiml Knowledge Pack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.2%
  • Other 0.8%