Re: iio: v2, add support for HMC5883/HMC5883L to HMC5843 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

> > the driver has a severe limitation: X/Y/Z must ALL be read to allow new
> > data to become available (the device goes into a locked state until all
> > are read)

> Thats a limitation comming from the data sheet right?

yes, it affects all devices (hmc5843/5883/5883l)

> Are you suggesting a read all and report only requested?
> to work round that.

probably yes

I brought it up to see if there are ideas for a solution; maybe the issue 
is more common and this should be solved at iio core level?

with individual reads for X/Y/Z there is no guarantee that all values come 
from the same measurement cycle ('atomic read')

the hmc58x3 'solves' this with the lock logic and introduces another issue

maybe iio should only allow reads to all data elements at once?

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux