I'm going to use a PIC16F88 as I2C master. It has SSP hw device and not mssp. so I'm forced to use Software I2C routine instead of HW. should I use PINs B1 and B4 to implement my I2C software BUS or can I use whatever PIN i want to do this job? are there some PIN i shouldn't use?
Thanks
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun Jan 14, 2007 8:16 pm
To find a pin description, look in the "Device Overview" section of the
16F88 data sheet. All PIC data sheets will describe the pins in that
section. It shows that pin RA5 is an input-only pin, so you shouldn't
try to use it for your software i2c master.
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
Posted: Sun Jan 14, 2007 11:40 pm
I would use the SSP pins just in case you want the device to ever be a slave. Also, a future chip with the same pin out could have the hardware master and you might decide to use it later.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum