How to use nrf52832 spi to set icm42670p internal clock running during setup progress?

Thanks in advanced. Based on nRF5_SDK_17.0.2, I can use i2c with icm42670p normally. Due to power consideration, I need to r/w this imu with spi either to decide which is the lower power design. But what makes me confused is: I can r/w icm42670p's register with spi normally, but always get wrong MCLK_RDY value(in function: inv_imu_switch_on_mclk, icm42670p eMD). I noticed that AN-000352 is mentioned when use spi interface, but unfortunately I can't find this sheet. Would any experts tell me how to get it? Or point out what key steps I missed directly. I will provide more details if needed. Thanks again.

Parents Reply
  • I see. No, I am not aware of this AN. You should reach out to invensense and ask about it. Alternatively, describe to them what you do and what is not working. I don't have the sensor, or any more knowledge about it than you do (probably even less). 

    I see that there are some drivers for this sensor in Zephyr. Are those the ones that you are using?

    Best regards,

    Edvin

Children
Related