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 8 matches
CCS Forum Index
Author Message
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 8:38 pm   Subject: I2C Help
PCM programmer. I think you are right. Your program did not work either which makes me think there is a hardware error. Have you used an external oscillator for your slave? If so what was the frequenc ...
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 5:35 pm   Subject: I2C Help
Thank you guys, I will work on your suggestions and keep you updated.
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 1:52 pm   Subject: I2C Help
We looked at this with the logic analyzer and can see that the Master [NXT] I2C Read stops dead after the first two bytes are sent to the slave (PIC).
1st byte: 0xA1 (Read)
2nd byte: 0x02 ("Reg ...
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 1:11 pm   Subject: I2C Help
The pre-programmed chip has an address of A2. However, I have changed the master's program to call the 0XA0 address.
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Mon Jun 18, 2007 11:32 am   Subject: I2C Help
Yes I did. I have tested my circuit with a pre-programmed PIC from microchip and it works. Therefore, the problem is in the software for sure. However, I'm not using an external oscillator. I don't kn ...
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Sun Jun 17, 2007 9:20 pm   Subject: I2C Help
I'm using a LEGO Mindstorms NXT Brick to make a sensor for a LEGO Mindstorms NXT. The baud rate of the LEGO Mindstorms I2C is 9600 bits/s. If you need more information please use the link below.
htt ...
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Sun Jun 17, 2007 4:06 pm   Subject: I2C Help
Thank you. This helped a little bit. However, I still can't communicate with my master (an external device not a PIC). I was able to communicate with another pre-programmed chip from Microchip. So the ...
  Topic: I2C Help
RFID

Replies: 14
Views: 15567

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2007 4:40 pm   Subject: I2C Help
Hey Guys,
I'm using a PIC18F2420. I would like a very simple slave code that returns a "1" when the master asks for data. I've been trying the code that came with the compiler but it's not ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group