In fact, also the I2C driver which is part of the SDK, is bit-banging, but then on driver level.
In the driver, you even can choose to use "regular" I/O pins or the "canonical" ones. On the FoxBoard, there's (unfortunately) not something such as a hardware I2C bus. Like John mentioned, there's an example of how to use I2C calling the I2C driver itself. However, the only difference is that the Acme examples are in user space, the example given by John is using the kernel space driver from user space. Best rgds, --Geert --- In [email protected], "linu13x" <[EMAIL PROTECTED]> wrote: > > Hi to all fox users. > > It's the first time that I'm working on the foxboard and I've some > questions. > I have to use the I2C-bus to communicate with a 12-bit A/D-converter. > I must use the canonical I2C lines and not the general I/O lines. > > Can anybody tell me, which drivers I have to include? > Is there allready an existing code for a simple communication that you > could send me? > Unfortunately, I can not use the example from acmesystems.it ("bit > banging") because I must use the canonical I2C lines. > > Best regards > > Steff >
