04-26-2022 09:59 PM
Hi,
Is it possible to connect the AK09915 to the auxiliay i2C interface of BHI260AB (pin 22 & 30)?
if yes, how to setup the board cfg file in BHI260AB sdk? Does this configuration correct?
sif_cfg,1
#Physical Drivers
#DriverID,Bus,Addr,GPIO,Cal0,Cal1,Cal2,Cal3,Cal4,Cal5,Cal6,Cal7,Cal8,Off0,Off1,Off2,maxRate,Range
12,i2c0,12,-, 0,-1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 200.000000, 0 #AK09915Mag
Thanks
04-27-2022 03:44 AM
Hi tonny1010,
Yes, BHI260AB supported AK09915 via AUX interface. The firmware is ready, you could directly use "Bosch_SHUTTLE_BHI260_AK09915.fw".
04-27-2022 02:19 PM
Hi BSTRobin,
In effect, we need to remaping the orientation of bhi260 and ak09915. I think I must build the firmware myself. does the i2c aux interface is selected like this?
sif_cfg,1
#Physical Drivers
#DriverID,Bus,Addr,GPIO,Cal0,Cal1,Cal2,Cal3,Cal4,Cal5,Cal6,Cal7,Cal8,Off0,Off1,Off2,maxRate,Range
12,i2c0,12,-, 0,-1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 200.000000, 0 #AK09915Mag
Thanks
04-28-2022 08:27 AM
Hi tonny1010,
If your requirement is remaping the orientation of BHI260 and AK09915. In BHI260AP data sheet, chapter "20.3 Sensing axes and axes remapping" described how to do it. Axis mapping does not require firmware modification.
If you don't know how to configure through the driver, you can provide the following information and we will help you configure.
What are your device coordinates?
How is BHI260AP placed on the board?
How is AK09915 placed on the board?
It is better to take a clear picture for them.