CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PIC16F84A I2C slave mode??

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Duncan
Guest







PIC16F84A I2C slave mode??
PostPosted: Tue Jul 01, 2003 4:24 am     Reply with quote

Dear all:
I want to use PIC16F84A for I2C slave mode ,but I don't know
how to write.
Is there any sample code that I can refer to?
Thank you very much!!
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515680
R.J.Hamlett
Guest







Re: PIC16F84A I2C slave mode??
PostPosted: Mon Jul 07, 2003 8:06 am     Reply with quote

:=Dear all:
:= I want to use PIC16F84A for I2C slave mode ,but I don't know
:=how to write.
:= Is there any sample code that I can refer to?
:= Thank you very much!!
Basically, you won't.
You will have to go completely 'DIY', and probably write a tight handler, using the interrupt input, controlled by the incoming I2C clock, to get the sort of response required.
The CCS software I2C, does not support slave operation, except on chips that have I2C hardware. It'd be much easier to use a latter chip, that has I2C hardware built in...

Sorry.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515770
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group