Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Synchronisation of BMI270, BMM150 with external host

    Synchronisation of BMI270, BMM150 with external host

    Deljo
    New Poster

    Hi Team,

    I am using BMI270 and BMM150 . BMM150 is connected on the Aux interface of BMI270.

    And I need to synchronise both sensor with the host processor.  What is the best way to do this? Is it possible to give interrupt to sensor from host processor for starting the measurement ?

    5 REPLIES 5

    BSTRobin
    Community Moderator
    Community Moderator

    Hello Deljo,

    The host can read sensor data through I2C or SPI when it needs to read data. Normally, the interrupt from the host to the sensor is not required.

    Hi Robin,

    I know data can read through I2C but my concern is on the Synchronisation.  I need  some communication from IMU side before starting measurement or after finishing measurement . There will be one real time clock running on my host processor and when i get an measurement start/finish interrupt from IMU i can note that time. So the IMU will be in sync with time. I have other sensors also in my device. And all sensors should be sync with time. MIne is a handheld device. So this IMU is very improtant.

    Another option is i can give interrupt to INT pins of the IMU and IMU can start measurement after getting interrupt from processor. Any of these 2 possible ?

    BSTRobin
    Community Moderator
    Community Moderator

    Hello Deljo,

    For example, if you configure the IMU ODR to be 100 Hz, IMU will start measuring periodically with an interval of 10ms. Instead of starting the measurement after receiving the interrupt from the host.
    You could use data ready interrupt to triggle host to sync the time if you could accept to receive interrupt from sensor to host every 10 ms.

    Hi Robin,

    Can you confirm whether my below understanding is correct or not?

    In BMI270 There are 3 data ready interrupts each for Accelaro, gyro, magnetometer at aux interface. First we should map the DATA ready interrupt to INT1 or INT2 pin and when we get an interrupt on the INT pin host processor can check in the INT_STATUS_1 register to understand which one of the Accelaro, gyro, magneto sensor is responsible for the interrupt.   So host can understand new data has generated and available on the corresponding sensor DATA registers.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist