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

Driver CCS AD7190

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



Joined: 08 May 2015
Posts: 2

View user's profile Send private message

Driver CCS AD7190
PostPosted: Mon Oct 03, 2016 12:46 pm     Reply with quote

Hi. I need driver to AD7190. Can someone help me?
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Oct 03, 2016 7:57 pm     Reply with quote

That chip has an SPI interface so it can easily communicate to a PIC with HW SPI. You should show us your effort for a driver, what requirements you need, which PIC you have, type of hardware (home made or commercial (with links)).
I'd start off with the basic 'hello AD7190' type program to be sure hardware is correct !
You might try 'Google' to see what others, using other languages have done. Since the device only has 40 pages in the datasheet, it is a fairly simple device to cut a driver for. Not having that chip I can't test what I cut as code though.

Jay
dyeatman



Joined: 06 Sep 2003
Posts: 1935
Location: Norman, OK

View user's profile Send private message

PostPosted: Mon Oct 03, 2016 8:48 pm     Reply with quote

A driver implementation can be found here:
https://wiki.analog.com/resources/tools-software/uc-drivers/renesas/ad7190
_________________
Google and Forum Search are some of your best tools!!!!
servicemedical



Joined: 08 May 2015
Posts: 2

View user's profile Send private message

PostPosted: Tue Oct 11, 2016 10:48 am     Reply with quote

I set RENESAS file. But he gives errors in CCS. Does anyone know where I can get this driver for the AD7190 to be used in the PIC 18F46K22?
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Tue Oct 11, 2016 1:22 pm     Reply with quote

How long have you been programming PIC's ?

The code at the link you were shown does not look that hard to modify for CCS.

Hence my question about how much successful code you have written in the past.
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