IPB

Welcome Guest ( Log In | Register )

> I2c Harware Support On 16f946
robert
post Jun 30 2007, 12:39 PM
Post #1


Newbrie


Group: EstablishedMember
Posts: 7
Joined: 25-May 05
Member No.: 721



Hello,

I'am trying to implement i2c master on a 16F946; from the datasheet this device seems to have hardware support, but I didn't found anything about SSPCON1 and SSPCON2 needed by i2c_driver.h.

It's possible to implement i2c in hardware with this device ?

Thanks
update Picpack 3.0 Released
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
emte
post Jul 1 2007, 02:39 AM
Post #2


Super Enthusiast
***

Group: EstablishedMember
Posts: 378
Joined: 8-December 06
From: Victoria, BC, Canada
Member No.: 2,230



Writting your own i2c drivers is pretty simple depending on the complexity you need.
But basic interfacing is trivial.

Depending on "canned" libraries is not always a good thing.


--------------------
Good intentions always exist, intelligent thought patterns ... not quite as much

Are you linked in?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 3rd September 2010 - 02:47 PM