Hi,all
I am new to use icm sensor, I want to read its acceleration value by spi. I've did some settings in MCU, such as spi_init(spi's initialization) and write_read() function. Before reading the acceleration value, I define a function to read the device's default ID(0x12) and verify it. But the value received was 0x00, the spi transmitter function seemed to be normal to send data, but it read a abnormal value. And the acceleration value read from the sensor were also 0x00, no matter how I shake the device. I have no idea about this problem, if anyone have any advice?
Thanks a lot.
Jerry