RFR: DIO-12 [I2C] 10-bit i2c addressing is not supported

boris kvartskhava boris.kvartskhava at oracle.com
Wed Feb 10 17:27:11 UTC 2016


issue: https://bugs.openjdk.java.net/browse/DIO-12
webrev: http://cr.openjdk.java.net/~onazarkina/DIO-12/

This change is adding combined i2c transactions support, actuay 
(https://bugs.openjdk.java.net/browse/DIO-10)
and resoves a number of related issues that reveal on the fix applied:
https://bugs.openjdk.java.net/browse/DIO-10
           [I2C] Impl combined message support for Linux

https://bugs.openjdk.java.net/browse/DIO-13
           [I2C] wrong handling of clock frequency

https://bugs.openjdk.java.net/browse/DIO-14
          [I2C] impossible to communicate to two slaves simultaneously 
(raspberry pi)

https://bugs.openjdk.java.net/browse/DIO-15
          Unable to simply skip some bytes.

Fix design notes:
    unlike of SPI where SPIDevice does not have semantic dependencies on 
SPICompositeMessage-s,
     I2CDevice encapsulates the notions under I2CCombinedMessage. Thus, 
the fix with delayed
     buffers' data synchronization can legally affect both I2CDevice and 
I2CCombinedMessage.




More information about the dio-dev mailing list