I2C-tiny-USB data transfer
Posted: Mon Nov 03, 2008 9:54 pm
Hi Guys,
I'm not sure if this is the right place to ask the question but here goes.
I'm writing a python module to access the I2C bus via I2C-tiny-USB.
I'm doing this through libUSB so it can be used on Linux and Windows. I'm using the pyUSB project as a wrapper to get to libUSB.
I'm not sure whether my questions relates to USB in general or libUSB.
My question is how many bytes can I transfer at a time to the I2C bus.
I want to be able to read/write to I2C memory (24LCxx parts) which are able to do page read and write. All the examples that come with I2C-tiny-USB only do a byte or word read and write.
Can I throw, say, 32 bytes at the device or will have I to do 32 individual read/write instruction.
Thanks
Alan
I'm not sure if this is the right place to ask the question but here goes.
I'm writing a python module to access the I2C bus via I2C-tiny-USB.
I'm doing this through libUSB so it can be used on Linux and Windows. I'm using the pyUSB project as a wrapper to get to libUSB.
I'm not sure whether my questions relates to USB in general or libUSB.
My question is how many bytes can I transfer at a time to the I2C bus.
I want to be able to read/write to I2C memory (24LCxx parts) which are able to do page read and write. All the examples that come with I2C-tiny-USB only do a byte or word read and write.
Can I throw, say, 32 bytes at the device or will have I to do 32 individual read/write instruction.
Thanks
Alan