| Electronic Components Datasheet Search |
|
BHA250 Datasheet(PDF) 19 Page - Bosch Sensortec GmbH |
|
|
|||||||||||||||||||||||||||||
BHA250 Datasheet(HTML) 19 Page - Bosch Sensortec GmbH |
|
19 / 80 page ![]() BHA250(B) Data sheet Page 19 BST-BHA250(B)-DS000-01 | Revision 1.2 | Mar 2017 Bosch Sensortec © Bosch Sensortec GmbH reserves all rights even in the event of industrialproperty rights. We reserve all rights of disposal such as copyingand passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany. Note: Specifications within this document are preliminary and subject to change without notice. 6. Device Initialization and Startup The procedure in order to initialization and startup the BHA until it reaches its normal operation mode consist mainly of the following steps: 1. Power on or reset the device 2. Wait for Interrupt 3. Upload the Firmware (RAM patch) 4. Switch into main execution mode 5. Wait for Interrupt 6. Configure the sensors and meta events 7. Configure the FIFO buffers 8. Configure the host interrupt setting Once this procedure is successfully finished, the host can go into sleep mode and wait for the BHA’s interrupt, according to the defined conditions (see step 6). If the host receives an interrupt request from the BHA250, it can simply read out the FIFO buffer and parse the obtained data. (See section 13 for details on how to read the FIFO buffer) 6.1 Reset The BHA does not provide a specific hardware pin for a reset. A reset can be triggered due to • Power On Reset • Watchdog Reset • Host initiated Reset Request In order to trigger a reset request, the host has to write a 1 into the Reset_Request register (Address 0x9B in the register map). This bit automatically clears to 0 after reset. 6.2 Boot Mode The ROM is split into two parts, a small boot loader and the larger set of libraries and drivers which can be used by a RAM-based firmware or “patch.” It is this latter part of the ROM which provides most of the functionality required for sensor fusion, host interface interactions, data batching, and so on. However, without a RAM patch, none of these more advanced behaviors can occur. This is where boot loading comes in. When the BHA first comes out of reset it executes the ROM boot loader. The boot loader performs the default initialization of the BHA, apply factory trim values, initialization of the host interrupt line, etc, generates an interrupt request to the host and goes into halt mode. In halt mode, the host may directly load a RAM patch using the firmware update interface registers (Address 0x94-0x9A in the register map) in the Fuser Core Config & Status block. After the firmware upload procedure is finished successfully, the host can switch the BHA250 into the main execution mode by writing a 1 to bit 0 (CPU_Run_Request) of the Chip Control register (Address 0x34). A successful execution of the CPU_Run_Request can be detected by checking the RAM Version registers (Address 0x72-0x73). Before execution of the RAM patch, the RAM Version registers will contain 0. 6.3 Main Execution Mode Once in this mode, the full Android host interface and sensor suite is available. The BHA indicates its readiness by inserting an initialized meta event in the FIFO. The host should wait for this before attempting to query or configure sensors or other features. If an incorrect RAM patch has been loaded (for example, is built for a different sensor suite), the FIFO will instead contain one or more Sensor Error or Error meta events. |
|
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 |