Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    bmi08a_write_feature_config question

    bmi08a_write_feature_config question

    Guest
    Member

    hi!

    i load config file success(the BMI08_REG_ACCEL_INTERNAL_STAT is 0x01)

    then i read the FEATURE_CFG REG in bmi08a_write_feature_config()

    i use sync function reg_addr is 0x02 reg_len is 1,so i need read 6byte data in FEATURE_CFG 

    data is: 0x80 0x2e 0x18 0x00 0x80 0x2e ,then i fix last two data => 0x02 0x00 and write in the FEATURE_CFG 

    but i can't read right data in GP0 GP4,and i find ACC_INT_STAT_0 is always 0 that means no sync data ready.

    is it FEATURE_CFG read data wrong?

    thank!

    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Guest,

    Could we know why do you need to read the configuration file and modify it?

    hi BSTRobin !

    because bmio8x api do that

    now i can successful use sync data function, i suggest you add a NOTE in sync data example,that is :

    except for config acc int input in int1/int2 and config gyro drdy int output in int3/int4,user MUST config sync data rdy int in int1/int2

    without this config,GP0 GP4 never return value.

     

    and i still have a question: in the mm feature manual(an000.pdf),i see a part named AUX,and i find that is a MAG,also i can read the aux_dev_id=0x20,which is match in the pdf,so i try to set aux to data mode and read R X Y Z(HA HA,R is obviously the MAG axis strength) but the readout data seems invalid,the <BMI088 - MM Feature Set Application Note>say that also have register to config AUX output data rate,i want to know how to use aux part,or this part isn't open to outside?

    thank you for your reply~

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Guest,

    Thank for your suggestion.
    BMI08x didn't support AUX interface to access Mag sensor.

    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