Maker Pro
Maker Pro

Pic 18F code

M

MarkW

Jan 1, 1970
0
Hi Y'all

Does anyone have a source code example for the 18F range of microchip
processors that will handle interface to I2C devices using a set of the
normal
I/O ports on the processor. We using the 18F452 that runs at 40mhz (10Mhz
xtal)

The hardware port for I2c is used for SPI already so we need to use other
I/O to
implement interface to I2C memory.

Thanx!

Mark W

[email protected]
 
B

Bob Stephens

Jan 1, 1970
0
Hi Y'all

Does anyone have a source code example for the 18F range of microchip
processors that will handle interface to I2C devices using a set of the
normal
I/O ports on the processor. We using the 18F452 that runs at 40mhz (10Mhz
xtal)

The hardware port for I2c is used for SPI already so we need to use other
I/O to
implement interface to I2C memory.

Thanx!

Mark W

[email protected]

IIRC, there is a "bit-banged" example on Microchips website.

Bob
 
W

Wouter van Ooijen

Jan 1, 1970
0
Does anyone have a source code example for the 18F range of microchip
processors that will handle interface to I2C devices using a set of the
normal I/O ports on the processor.

The library that comes with the Jal compiler has bit-banged I2C.


Wouter van Ooijen

-- ------------------------------------
http://www.voti.nl
PICmicro chips, programmers, consulting
 
Top