| Electronic Components Datasheet Search |
|
BMA400 Datasheet(PDF) 13 Page - Bosch Sensortec GmbH |
|
|
|||||||||||||||||||||||||||||
BMA400 Datasheet(HTML) 13 Page - Bosch Sensortec GmbH |
|
13 / 121 page ![]() Bosch Sensortec | BMA400 Data sheet 13 | 121 Modifications reserved | Data subject to change without notice Document number: BST-BMA400-DS000-13 Revision_2.2_012025 1. Example 1: Testing communication with the BMA400, switch to SPI communication, state data conversion, enable data ready interrupt and map it to INT1 pin -reading chip id (checking correct communication) using I2C or SPI power up chipid = read_reg(0x00) chipid = 0x90 ? communication: OK communication: ERROR Yes No I2C SPI/I2C I2C Sleep mode End End power up dummy = read_reg(0x00) chipid = 0x90 ? communication: OK communication: ERROR Yes No chipid = read_reg(0x00) SPI/I2C SPI SPI4 SPI4 sleep mode –switching from sleep to normal mode, then SPI3 mode, then enable data ready interrupt and map to pin int1 sleep mode Switch from sleep mode to normal mode: ACC_CONFIG0 write_reg(addr=0x19,val=0x02) wait(1500us) write_reg(addr=0x21,val=0x80) write_reg(addr=0x1A,val=0x38) range=2g, osr=3 (high perf), acc_odr=100Hz: ACC_CONFIG1 write_reg(addr=0x1B,val=0x04) Use acc_filt2 (100Hz fixed) as data source: ACC_CONFIG2 write_reg(addr=0x1F,val=0x80) Enable data ready interrupt: INT_CONFIG0 Map data ready interrupt to INT1 pin: INT_CONFIG1 write_reg(addr=0x7C,val=0x01) Switch from SPI4 mode to SPI3 mode: IF_CONF SPI4 SPI4 SPI4 SPI3 SPI3 SPI3 SPI3 Normal mode data conv enabled data ready int to int1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |