bestcomm and i2c
I am to use the bestcomm API with 2.4.25 denx to control the i2c Someone already used it ?
Could provide a example /
Thanks
Iida
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · iida
I am to use the bestcomm API with 2.4.25 denx to control the i2c
Are you really sure you want to do that ?
Your peripheral really require such I2C bandwidth that you just can't use the actual code ?
Quoted 1 line
Someone already used it ? Could provide a example /
Well, my last attempt was just to use interrupt to know when a transfer was done instead of busy waiting. And I never got any interrupts for the second I2C controller ( the one wired on the lite5200 board ) unless I init both I2C controllers. I haven't yet figured why ...
To get back at your original question, IIRC the BestCommAPI package(Some big zip freescale will send you if you ask several times ;) ) has some code example of all devices, somewhere in a "validation" directory. I can't send it, it's (c) Freescale.
Sylvain
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/