gregtomasch / USFSMAX_MMC_Module

Test sketches and information to use the improved USFSMAX Module with MMC5983 magnetometer
9 stars 2 forks source link

Clarity on the behavior of the DRDY pin #6

Open teknoman117 opened 2 months ago

teknoman117 commented 2 months ago

Hello!

I just wanted to ask what the behavior of the DRDY pin is.

Does it go high/stay-high until the uC reads the DRDY register? Does it stay high until all new data has been read? Is it just a timed pulse? My application doesn't really care about any data other than the fused quaternion, so if I don't read new values out of the sensor (for the gyro / accelerometer / barometer), what happens with the DRDY pin?

gregtomasch commented 2 months ago

Hi Nathan,The DRDY is a fast positive-going pulse, 10 microseconds in duration of my memory serves me properly. You don’t have to do anything; it doesn’t set the DRDY pin level high until the data is read or any of that jazz. Not reading doesn’t affect the fusion rate either. You just get a blip to let you know the update is ready…Sent from my iPhoneOn Oct 1, 2024, at 11:08 AM, Nathan Lewis @.***> wrote: Hello! I just wanted to ask what the behavior of the DRDY pin is. Does it go high/stay-high until the uC reads the DRDY register? Does it stay high until all new data has been read? Is it just a timed pulse? My application doesn't really care about any data other than the fused quaternion, so if I don't read new values out of the sensor (for the gyro / accelerometer / barometer), what happens with the DRDY pin?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>