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 15 matches
CCS Forum Index
Author Message
  Topic: checksum
pr83

Replies: 2
Views: 4261

PostForum: General CCS C Discussion   Posted: Wed Jan 03, 2007 7:41 am   Subject: checksum
Thanks Ttlmah.
You are correct.
  Topic: checksum
pr83

Replies: 2
Views: 4261

PostForum: General CCS C Discussion   Posted: Tue Jan 02, 2007 7:08 pm   Subject: checksum
I have an array of 12 data bytes. I wrote code for checksum, where the check sum is the one's compliment of the sum of the 12 data bytes. I have pasted the code below. Do you see any mistakes, cause I ...
  Topic: Bit Conversion
pr83

Replies: 5
Views: 5665

PostForum: General CCS C Discussion   Posted: Tue Jan 02, 2007 6:59 pm   Subject: Bit Conversion
I have a 16 bit variable. How do I convert it into a 8 bit variable such that the 8 bit variable contains the bits(10,9,8,7,6,5,4,3,2) of the 16 bit variable.
Any suggestions!!
  Topic: I2C issue
pr83

Replies: 2
Views: 4197

PostForum: General CCS C Discussion   Posted: Sun Dec 24, 2006 4:09 pm   Subject: I2C issue
Thank you PCM Programmer. You are correct I can treat them as Rs in Parallel.
  Topic: I2C issue
pr83

Replies: 2
Views: 4197

PostForum: General CCS C Discussion   Posted: Sun Dec 24, 2006 10:20 am   Subject: I2C issue
I had a couple of questions.
I am trying to implement I2C interface between a master and slave device.
1. I see there are pull up resistors connected to the SDA and SCL line of both the device(Maste ...
  Topic: I2C Slave (read command)
pr83

Replies: 0
Views: 3452

PostForum: General CCS C Discussion   Posted: Mon Oct 16, 2006 3:25 pm   Subject: I2C Slave (read command)
I have two questions!!
1. Since the control byte for the READ or WRITE command is as follows:
Bit 0, 1, 2, 3 : Slave address
Bit 4,5,6 : Don�t care
Bit 7: R/W

I have 2 situations when the Mast ...
  Topic: I2C Slave addressing Issue
pr83

Replies: 13
Views: 20692

PostForum: General CCS C Discussion   Posted: Mon Oct 16, 2006 2:40 pm   Subject: I2C Slave addressing Issue
Dear PCM Programmer,
Thanks a ton for the EEPROM data sheet. It was very helpfull.
  Topic: I2C Slave addressing Issue
pr83

Replies: 13
Views: 20692

PostForum: General CCS C Discussion   Posted: Sun Oct 15, 2006 9:14 pm   Subject: I2C Slave addressing Issue
OOpppsss!!!
I apologize for that. I have disabled the HTML. I was just wanting to know if my approach is correct.
And if you think I have understood the I2C this time!!

Questions:
1. (MASTER)Wh ...
  Topic: I2C Slave addressing Issue
pr83

Replies: 13
Views: 20692

PostForum: General CCS C Discussion   Posted: Sun Oct 15, 2006 4:20 pm   Subject: I2C Slave addressing Issue
Thanks for your help. I have 3 conditons in total. I have written code for all it. I wanted to know if I am on the right track.

DECLERATIONS:
Slave Address: 0xa0

CONDITION 1:
The Master is ...
  Topic: I2C Slave addressing Issue
pr83

Replies: 13
Views: 20692

PostForum: General CCS C Discussion   Posted: Sun Oct 15, 2006 4:06 pm   Subject: I2C Slave addressing Issue
Thanks for the Help.
I have posted another message with my code. I wanted to know if it makes sense!!
  Topic: I2C Slave addressing Issue
pr83

Replies: 13
Views: 20692

PostForum: General CCS C Discussion   Posted: Sun Oct 15, 2006 2:39 pm   Subject: I2C Slave addressing Issue
I am using a PIC18F2520 as a SLAVE in an I2C protocol.


� When the master sends the start command, it succeeds with a command that includes the address of the SLAVE.
� There are two types of dat ...
  Topic: PIC 18F2520 I2C
pr83

Replies: 1
Views: 3763

PostForum: General CCS C Discussion   Posted: Fri Jul 21, 2006 2:12 pm   Subject: PIC 18F2520 I2C
I have a PIC18F2520 that does some math and generates an array of 5 float values.
I have another PIC18F2520 that I would like to use to talk to the first PIC and be able to retrieve the array of 5 va ...
  Topic: Thank you
pr83

Replies: 5
Views: 6064

PostForum: General CCS C Discussion   Posted: Fri Jul 21, 2006 7:30 am   Subject: Thank you
Thanks for the reply.

I did try your suggestions, but it didnt change the output.
I have posted one more message. But this time it has my code in it.
  Topic: Thank you
pr83

Replies: 1
Views: 3258

PostForum: General CCS C Discussion   Posted: Fri Jul 21, 2006 7:27 am   Subject: Thank you
Thank You
  Topic: Thank you
pr83

Replies: 5
Views: 6064

PostForum: General CCS C Discussion   Posted: Thu Jul 20, 2006 9:41 pm   Subject: Thank you
Thank You
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group