16F88 and Internet Board.

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
Screed
Posts: 5
Joined: Mon Dec 20, 2010 9:51 am

16F88 and Internet Board.

Post 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.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 16F88 and Internet Board.

Post 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.

Screed
Posts: 5
Joined: Mon Dec 20, 2010 9:51 am

Re: 16F88 and Internet Board.

Post 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.

Post Reply