Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMI085 accelerometer selftest problem

    BMI085 accelerometer selftest problem

    tk_don
    Member

    Hi,

    I am trying to get the self-test working for the accelerometer of the BMI085. It seems to work fine with the gyroscope part. I have followed section 4.6.1. of the data sheet, but my problem is that applying particularly the negative self-test polarity seems random at best - most times, it does not seem like it is applied to the MEMS structure. The positive one is applied, but it seems when the accelerometer is placed flat, e.g. zero gravitational force on X/Y, there is only very little positive self-test charge applied to it, like 20 mG. Between retries, I do a full reset. Otherwise the accelerometer works well.

    I notice that during the self-tests interrupts are changed to 50 Hz instead of the 200 Hz, I'm usually running, but I suppose it is not a problem to retrieve data based on data ready during self-tests, instead of manually polling for values.

    My question is thus: Is there anything known bugs or erratas with the self-test of the accelerometer internally in the BMI085? Is the description of Section 4.6.1. fully correct?

    2 REPLIES 2

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your message. Please note that for BMI085 accelerometer self-test in section 4.6.1 you need to set the accelerometer to +/-16g full scale range and 1.6KHz output data rate. If you enable DRDY interrupt signal, then you should see 1.6KHz pulses. Please follow the procedure for acceleromter self-test described in section 4.6.1 of BMI085 datasheet.

    Hi,

    First and foremost, thank you very much for responding so quickly - apologies for not following up on this. I found the mistake due to your help - about how the 1.6 kHz SHOULD be visible on interrupt. But my problem was actually due to a mistake in the datasheet in section 4.6.1 in step 2, where I'm instructed to write 0xA7 to ACC_CONF. This is incorrect, as the ODR is 0x07 (50 Hz) and not 1.6 kHz. The bullet points below are correct, although terms such as norm_avg4 etc. is not used elsewhere in the data sheet - so skipped them completely. So instead 0xAC should be written to ACC_CONF, and then the self-test works well, at least for the single unit I tried this on Smiley Happy

    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