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 5 matches
CCS Forum Index
Author Message
  Topic: i2c and LTC2631 DAC
niloc

Replies: 7
Views: 11482

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 11:07 pm   Subject: i2c and LTC2631 DAC
Seems as though the DAC chip is at fault, the SCL line, pin 2 has an internal fault to gnd at pin 4. New chips on order. Ah the joys of prototyping!!! Crying or Very sad

It is too easy to blame the code when ...
  Topic: i2c and LTC2631 DAC
niloc

Replies: 7
Views: 11482

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 9:30 pm   Subject: i2c and LTC2631 DAC
CA0 and CA1 are at GND which according to data sheet gives address of 0010000
That's correct, but in your code you have 3 leading zeros on the address.
It should be only 2. The slave address is lef ...
  Topic: i2c and LTC2631 DAC
niloc

Replies: 7
Views: 11482

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 9:10 pm   Subject: i2c and LTC2631 DAC
Couple of quick comments...I make the assumption this is real hardware and NOT a simulation (Proteus,etc.)


1) In...
void out_DAC() //Function to write to D/A via I2C
{ ...
  Topic: i2c and LTC2631 DAC
niloc

Replies: 7
Views: 11482

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 9:01 pm   Subject: i2c and LTC2631 DAC
What connections do you have to pins CA0 and CA1 on the LTC2631 ?

CA0 and CA1 are at GND which according to data sheet gives address of 0010000
  Topic: i2c and LTC2631 DAC
niloc

Replies: 7
Views: 11482

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2011 8:21 pm   Subject: i2c and LTC2631 DAC
Could someone please help me with my code and please forgive my newbieness. I know the code looks untidy. I am using CCS compiler ver 4.112.

I thought I had this code running in my hardware but no ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group