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 27 matches
CCS Forum Index
Author Message
  Topic: Serial communications between two PIC's
bestbuylvr

Replies: 8
Views: 9530

PostForum: General CCS C Discussion   Posted: Thu Mar 29, 2007 7:35 am   Subject: Serial communications between two PIC's
Thank you for clearing that up, the program now works as it was intended. I now am trying to use an RF transmitter over the serial connection between the PIC's and the program is interrupting on the g ...
  Topic: Serial communications between two PIC's
bestbuylvr

Replies: 8
Views: 9530

PostForum: General CCS C Discussion   Posted: Wed Mar 28, 2007 6:54 am   Subject: Serial communications between two PIC's
OK, so I programmed the interrupt as you sugested and moved the variable declarations. I now have the following programs written trying to talk serially. I am only trying for one way at the moment, an ...
  Topic: Serial communications between two PIC's
bestbuylvr

Replies: 8
Views: 9530

PostForum: General CCS C Discussion   Posted: Mon Mar 26, 2007 2:16 pm   Subject: Serial communications between two PIC's
Thank you guys for the help, I got the serial to work using the carriage return and declaring the variables in the right spot (dumb mistake, thank you) and I will try using the interrupt on it shortly ...
  Topic: Serial communications between two PIC's
bestbuylvr

Replies: 8
Views: 9530

PostForum: General CCS C Discussion   Posted: Mon Mar 26, 2007 12:38 pm   Subject: Serial communications between two PIC's
I have a bit of really simple code I wrote up here trying to just make 2 PIC's talk back and forth to each other. I never really got to making any indicators (LED's) on the master 1st PIC because I ca ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Mon Mar 19, 2007 7:28 am   Subject: I2C Communication problems between 2 PIC's
I tried the separate write sequence idea, but the program just seems to freeze up every time after the write process. Does anyone know of an existing I2C Slave program capable of writing and reading t ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Thu Mar 15, 2007 1:22 pm   Subject: I2C Communication problems between 2 PIC's
Sorry, I missed your last post. It appears that this has become even more complicated... I'll re-examine this to see if it is worth the re-writing of the EX_SLAVE.c program. If you have any easy modif ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Thu Mar 15, 2007 1:19 pm   Subject: Update
OK, here is the story. I skimmed this down to next to nothing, and it still doesnt work when trying to send multiple bits. When I comment out the sections making the program send more than one byte, i ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Thu Mar 15, 2007 12:48 pm   Subject: I2C Communication problems between 2 PIC's
Is the method I'm using to write the data correct?
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Thu Mar 15, 2007 12:26 pm   Subject: I2C Communication problems between 2 PIC's
OK, so here is the story. I tried to take the numbers out and put only a zero in the last i2c_read, but now the program just freezes and does not output anything. I did research this a bit, and tried ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Thu Mar 15, 2007 7:05 am   Subject: I2C Communication problems between 2 PIC's
OK, so I attempted to apply that to what I am doing with the I2C communications between the PICs. I am just trying to see if it works by sending a 1 and seeing what it sends back. I recieve a -.000000 ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Tue Mar 13, 2007 12:37 pm   Subject: I2C Communication problems between 2 PIC's
how do you go about splitting it and re-assembling it?
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Tue Mar 13, 2007 12:21 pm   Subject: I2C Communication problems between 2 PIC's
I understand that a floating point variable uses a 4 byte size, I just don't know how to send 4 bytes over the I2C as one number. I am assuming the error in the code is in the writing and reading of t ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Tue Mar 13, 2007 12:03 pm   Subject: Success, new problem
I actually managed to figure out the I2C communications between 2 pics. I then expanded that to 3 PICs and got one to send characters. I am trying to transmit a float variable over the I2C, but have n ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Mon Mar 12, 2007 6:28 am   Subject: Still Having Problems
I have tried both the programs I have posted here and the programs you suggested, and I cannot seem to get the PIC's to communicate. I tried using different pins just in case it was a pin problem, but ...
  Topic: I2C Communication problems between 2 PIC's
bestbuylvr

Replies: 20
Views: 26685

PostForum: General CCS C Discussion   Posted: Thu Mar 08, 2007 8:29 am   Subject: I2C Communication problems between 2 PIC's
I am currently trying to get two Pic 18F452's to send data back and forth between each other through an I2C connection. I have wired then together, pulling the SDA and SCL wires up to +5V through 1K r ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group