Hi guys, I just want to know if there's a way for the above and how if yes.
Hi guys, I just want to know if there's a way for the above and how if yes.
Hello,
I have not heard about this specific sensor, but you could see the usage of the SPIM driver demonstrated in the nrfx SPIM example from the SDK.
From there, you would either have to implement the sensor specific SPI interface from the datasheet(assuming this is the right datasheet. I might be mistaken), or finding a similar implementation and seeing if you can make it work on your device.
A quick search on github yielded multiple public repositories with drivers for the ICM 20601, which might be very useful to have a look at.
Best regards,
Karl
Hi,
Recently I tried to read some data from icm20602 sensor by spi. But I had some trouble, it seemed that code can't read the right data from the sensor, such as sensor's default device ID(0x12). I'm confused about it. If you have some suggentions? Or do you have any examples?
Thanks a lot
Jerry
Hello Jerry,
Jerryxu said:I had some trouble, it seemed that code can't read the right data from the sensor, such as sensor's default device ID(0x12). I'm confused about it. If you have some suggentions? Or do you have any examples?
What do you mean that it cant read the right data? Are you able to read anything at all from the sensor, or do you mean that whatever you are able to read is not as expected?
Do you notice any other unexpected behavior when you attempt this; does the device suddenly reset, or stop advertising, for example?
Could you also describe how you have connected the sensor to your device, and do you have access to a logical analyzer so we could take a closer look at exactly what is happening on the lines?
Best regards,
Karl
emmmm.....
Do I need to post the question in new tickets.....maybe it would be better
Yes, I think that would be best - since the question seem to be specific to your implementation / application, rather than a general question about the the sensor itself such as in the original post here.
Opening a new ticket will keep the forum tidy and easy to navigate, so thank you for considering this! :)
Best regards,
Karl