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 CCS Technical Support

Search found 6 matches
CCS Forum Index
Author Message
  Topic: I2C master\slave
ddscott

Replies: 8
Views: 9572

PostForum: General CCS C Discussion   Posted: Wed Aug 24, 2005 10:28 am   Subject: I2C emulators
It should work just fine with any emulator. Just be wary that the way PIC stores it's address might be different than how the emulator sends the address. If I want my i2c emulator to talk to address ...
  Topic: I2C master\slave
ddscott

Replies: 8
Views: 9572

PostForum: General CCS C Discussion   Posted: Tue Aug 23, 2005 9:01 am   Subject: I2C master\slave
I don't know if you ever got a solution to your problem, but this is what I use to handle the i2c interrupt. It seems to work as desired, I use an Aardvark I2C emulator to communicate with the slave ...
  Topic: I2C Interrupt Handling
ddscott

Replies: 2
Views: 4535

PostForum: General CCS C Discussion   Posted: Fri Aug 19, 2005 1:00 pm   Subject: I2C Interrupt Handling
Thanks, that works. I was trying to use gloabals earlier, but had other issues with my code. Thanks for getting me back on track.
  Topic: I2C Interrupt Handling
ddscott

Replies: 2
Views: 4535

PostForum: General CCS C Discussion   Posted: Fri Aug 19, 2005 11:52 am   Subject: I2C Interrupt Handling
I am attempting to read in a byte of data from the i2c port. The PIC is configured to operate in the slave mode. I wish to pass the data off after it is received to perform some function depending o ...
  Topic: i2c slave operation
ddscott

Replies: 2
Views: 5401

PostForum: General CCS C Discussion   Posted: Wed Aug 17, 2005 4:53 pm   Subject: i2c slave operation
Thanks for the help. I came to the same conclusion about the time I opened my email. What was also confusing was that to get the PIC to respond to an address call of 0x20 from the emulator, you have ...
  Topic: i2c slave operation
ddscott

Replies: 2
Views: 5401

PostForum: General CCS C Discussion   Posted: Wed Aug 17, 2005 11:07 am   Subject: i2c slave operation
I am attempting to use a 16f767 as an i2c slave. The address for the slave is set to 0x21. I am using an Aardvark i2c interface module to communicate with the PIC. When I send data to the PIC at ad ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group