IAM 20381

By vineethncdacin , 21 January 2021

Hi Team,
I am trying to develop a tilt detector using IAM-20381 IC. I have already read the datasheet and I have some doubts in it. The following will be my questions for now,

1. How do we read the data from IAM-20381 using SPI. What will be commands required for it. All I see is register map and register address in the datasheet. Where I can find the command set for READ, WRITE and other operations from IAM-20381?

2. If I somehow read the data from respective X,Y and Z result registers, how can I convert the obtained result to understandable form?

3. If there is any sample C code available for Tilt detection using IAM-20381 ? Can IAM-20381 be used for tilt detection?

Best Regards,
Vineeth N

phpbb Topic ID
38814