Datasheet

Page 11 /
Confidential
BST-BMA400-DS000-00 | Version 0.1 | November 2017 Bosch Sensortec
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
3. Quick Start Guide
The purpose of this chapter is to help developers who want to start working with the BMA400 by giving
you some very basic hands-on application examples to get started.
Note about using the BMA400:
The communication between application processor AP and BMA400 will happen either over
I2C or SPI interface. For more information about the interfaces, read the related chapter 6.
Digital Interfaces.
For information about connecting the BMA400 to the host (AP), read the related chapter 7
where you find Pin-out and Connection Diagrams.
First application setup examples algorithms:
After correct power up by setting the correct voltage to the power pins, the BMA400 enters
automatically into the Power On Reset (POR) sequence, also called boot sequence. After having
completed boot, the BMA400 enters sleep mode where it consumes 200nA. No data conversions
happen in this phase, but register read-out and write is possible. Communication can start in I2C or
SPI mode. The BMA400 automatically detects which format is used. When SPI format is used, the
BMA400 switches to SPI4 mode and remains in this mode until reset. The switching to SPI requires
to send the very first SPI packet twice: the first packet will be ignored by the BMA400.
If SPI3 communication is desired, a write to register IF_CONF ( write_reg(IF_CONF, 0x01) ) switches
the communication protocol to SPI3.
In order to properly make use of the BMA400, certain steps from host processor side are needed. The
most typical operations will be explained in the following application examples in form of flow-diagrams.
Confidential and under NDA
Seeed Studio
Confidential and under NDA
Seeed Studio
Confidential and under NDA