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 support@ccsinfo.com

Handling a DAC SPI MCP4821

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Whalua
Guest







Handling a DAC SPI MCP4821
PostPosted: Tue Aug 01, 2006 2:43 pm     Reply with quote

Hi all
Does any of you have esperience in connecting this integrated circuit to a PIC (for example a 18F2420) ?
I've tried in many mode, using th built in functions of CCS compiler, but I don't have any result: the output is always 0 for any value I send via SPI
Can you help me ?
Thank you very much
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Aug 01, 2006 3:48 pm     Reply with quote

This chip looks very similar to the MCP4921 and CCS has a driver
for that chip. Look for the MCP4921.c file in this folder:
Quote:
c:\Program Files\Picc\Drivers
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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