BMI270 Self Test

Materials

Example

Introduction

This example will run the sensor’s self test feature. This will return an error code to indicate whether the test was successful.

Procedure

Connect the AMB82-mini to I2C_SDA and I2C_SCL of the sensor as shown in the diagram below.

image01

Open the example in “File” -> “Examples” -> “AmebaWire” -> “BMI270” -> “SelfTest”.

image02

Compile and run the example.

The error code will be printed out if the test was unsuccessful.

image03