Are there possibilities to emulate an i2c device on an bifferboard
running inside qemu?
I followed instruction on http://www.irky.org/home/tmp102 , I could
succesfully run the command: insmod i2c-gpio-custom bus0=0,11,12
Hanno
*Might* be possible using the GPIO Patch Panel
https://sites.google.com/site/bifferboard/Home/howto/qemu but you'd
obviously need to write your own PC-side device-emulation code.
(assuming the patch panel is fast enough for i2c?)
Lurch
Yes, it should work.
I suspect the device emulation code has already been written and just
needs to be ported, because many microcontroller families have
application notes about i2c device emulation. It makes sense to port
it to Python though, to make connection to the panel easier, but it
can still by done in C if you copy-paste the tcp/ip stuff from the
Bifferboard Qemu port.
regards,
Biff.