AKM_REG_WHOAMI communication Through SPI

By cyd , 10 July 2018

I am utilizing the motion driver 6.12 with SPI communication following the app notes. While porting to the nRF52582 by Nordic Semiconductor the firmware fails at setting up the compass. The BYPASS_EN is set in the int_pin_cfg and then four SPI communications are sent to the MPU9250 0x80, 0x80, 0x80 and 0x80. I think these are an attempt to ask the AKM who it is, are you 0x0C, 0x0D, 0x0E, or 0x0F. My ported firmware utilizes SPI communication and fails to utilize device address as it is not necessary with SPI. I have made available the st.chip_cfg.BYBASS_MODE for testing communication with the AKM.

Question: Besides the i2c communication registers 0-4 is there a way that SPI communicates with the AKM in bypass mode?

Thank you for considering my problem!

phpbb Topic ID
36996