ms45xx driver : how to read 0 byte
Posted: Sat Aug 20, 2016 6:12 pm
Hello,
I am implementing an i2c driver for the ms45xx pressure sensors family.
The method to trigger a new measure consists of reading 0 bytes (start;address;ack;stop)
ms45xx i2c protocol
but the chibios driver forbid this behavior,
what's the best solution to do this ?
ps : reading actual values does not trigger measure, so the trick that i tried first : discard the first measure does not work
Alexandre
I am implementing an i2c driver for the ms45xx pressure sensors family.
The method to trigger a new measure consists of reading 0 bytes (start;address;ack;stop)
ms45xx i2c protocol
but the chibios driver forbid this behavior,
what's the best solution to do this ?
ps : reading actual values does not trigger measure, so the trick that i tried first : discard the first measure does not work
Alexandre