A
aerona
hello guys.. I wonder if someone can help me....
I''m having trouble with a project i've undertaken recently where i am
trying to interface a Anybus module to a PIC18f452. Everything was
going fine until i found that I don't have enough I/O pins to address
the Anybus module's 12bit address. Therefore I wanted to use a PCF8575
I/O expander chip which uses I2C interface. But I'm already using the
pins SCL and SDA pins for the DAC which I use (its interfaced using the
SPI interface) hence I've got a problem. I'm already using PORTD an
PORTE for the Parallel Slave Port (PSP) to get data to the Anybus and
PORTA is used for the Analog to Digital converter and I only have PORTB
(8bits) left. I've tried to implement a latching system where i address
the 12bits with 8bits by de-multiplexing but its very complex. I'm
using the PIC18f452 chip as stated before with MICRO CHIP MPLAB C18
compiler.
thanks....
I''m having trouble with a project i've undertaken recently where i am
trying to interface a Anybus module to a PIC18f452. Everything was
going fine until i found that I don't have enough I/O pins to address
the Anybus module's 12bit address. Therefore I wanted to use a PCF8575
I/O expander chip which uses I2C interface. But I'm already using the
pins SCL and SDA pins for the DAC which I use (its interfaced using the
SPI interface) hence I've got a problem. I'm already using PORTD an
PORTE for the Parallel Slave Port (PSP) to get data to the Anybus and
PORTA is used for the Analog to Digital converter and I only have PORTB
(8bits) left. I've tried to implement a latching system where i address
the 12bits with 8bits by de-multiplexing but its very complex. I'm
using the PIC18f452 chip as stated before with MICRO CHIP MPLAB C18
compiler.
thanks....