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

MSP430 MASTER - PIC 16F876A SLAVE
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19587

View user's profile Send private message

PostPosted: Fri Jan 14, 2011 4:02 am     Reply with quote

The SSP interrupt will only trigger if it sees an address that matches it's slave address (or if a general call is seen, with GCA enabled, on chips that support this).
Texas were the people who always used 7bit addressing, so have you tried setting the address in the PIC, to 0xA0, and the address in the Texas unit as 0x50?.

Best Wishes
stelios1988



Joined: 10 Jan 2011
Posts: 13

View user's profile Send private message

PostPosted: Fri Jan 14, 2011 9:14 am     Reply with quote

That worked, the #INT_SSP works but after a lot of time. I have a timer that sends I2C address and data every 1 second and it takes time for the interrupt to happen. I've tried 1.8K , 2.4K and 10K resistors but with the same result. Late I2C. And if I send one data it doesn't get it right. Only on periodic sends.
The data I send is from 0 to 0xC8.
stelios1988



Joined: 10 Jan 2011
Posts: 13

View user's profile Send private message

PostPosted: Fri Jan 14, 2011 5:47 pm     Reply with quote

Nothing on that Ttelmah?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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