Page 1 of 1

16F88 and Internet Board.

Posted: Mon Mar 07, 2011 6:10 pm
by Screed
Hi,

Can someone help me. I'm trying to use I2C on the 16f88 chip with the e-block internet board on port B to transmit a joystick position on port A to the network.
I can complie my program to a 18F448 and the program works fine I can also complie it to a 16f873 (but have not tested it).
To save resource I want to use a 16f88 but when I complie the program I get the following error "Chip does not have master I2C capability"
I have set the pins up on the I2C_MASTER software properties to read port B, RB4 for SCL AND RB1 for SDA this did not work, same error occured, nor did it work when I changed these to port A and used pins RA1 for SDA AND RB0 for SCL.

Anyone any suggestions or should I just stick with the 18f448
Thanks
Screed.

Re: 16F88 and Internet Board.

Posted: Mon Mar 07, 2011 6:26 pm
by Benj
Hi Screes,

I'm afraid you cannot use the Internet E-block with the 16F88 device as it does not have the required I2C master peripheral to drive the internet component. A suitable alternative would be a 16F877A which does have required the component.

The I2C component is different to the internet component as this can be bit banged without the need for the I2C peripheral.

Re: 16F88 and Internet Board.

Posted: Mon Mar 07, 2011 6:36 pm
by Screed
Hi Benj,

Thanks for this info. Trying it all day to get project back on line should have posted earlier.
Will try 16f887A

Regards,
Mark.