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 3 matches
CCS Forum Index
Author Message
  Topic: Problem with I2C slave with PIC16F1827
qipan

Replies: 4
Views: 10850

PostForum: General CCS C Discussion   Posted: Thu Apr 29, 2010 8:14 am   Subject: Problem with I2C slave with PIC16F1827
After more testing, I have some good news here. The PIC16F1827 I2C slave can actually work if the code is built and downloaded in MPLAB debugger mode with ICD3. However, if it is done in the programme ...
  Topic: Problem with I2C slave with PIC16F1827
qipan

Replies: 4
Views: 10850

PostForum: General CCS C Discussion   Posted: Thu Apr 29, 2010 2:09 am   Subject: Problem with I2C slave with PIC16F1827
Sorry, here is the initialization for MSSP2

void I2C2Init(void)
{

UINT8 backup;
backup = GIE; //save interrupt state for the time being
GIE = 0; //disable all ...
  Topic: Problem with I2C slave with PIC16F1827
qipan

Replies: 4
Views: 10850

PostForum: General CCS C Discussion   Posted: Wed Apr 28, 2010 2:53 am   Subject: Problem with I2C slave with PIC16F1827
Hi

The MSSP2 serial port on the PIC16F1827 has been configured as an I2C slave and I believe the configuration is right after checking live numbers of SFRs in MPLAB. But it fails to acknowledge the ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group