I2C bus

Milosch Meriac meriac at bitmanufaktur.de
Wed Jul 18 03:56:11 UTC 2007


Dear Dave,

Kn1ght L0rd:
> Is the I2C defined in the include files for use?  I was looking through
> the source files and found a few things but not very much on the bus
> addresses and registers.  I also didn't see any functions defined for
> sending/recieving data on each bus so I am just verifying that
> information.  Thanks.

I2C is not implemented yet, but pretty straightforward to implement if
you don't need DMA -just refer the AT91SAM7 datasheet.
Anyway I suggest to connect OpenPCD/OpenPICC by using the serial debug
terminal - just connect RX to TX of OpenPCD to TX and RX of OpenPICC
(like a null modem cable). This allows you to use the existing debug
functions to transmit and receive data between two devices. You can set
the baud rate to a much higher value in this case.

Milosch
-- 
Bitmanufaktur :: Schwedter Strasse 23 :: 10119 Berlin
Fon +49 (0)30 4172 5006 :: Fax +49 (0)30 4172 5054
meriac at bitmanufaktur.de :: http://bitmanufaktur.de



More information about the openpcd-devel mailing list