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

External eeprom

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



Joined: 06 Jan 2013
Posts: 39

View user's profile Send private message

External eeprom
PostPosted: Wed Jan 16, 2013 7:07 pm     Reply with quote

I want to connect an SPI eeprom to a controller. My problem is i don't know where to start.

Firstly is able to to write code in C for this issue or i need to move to assembly ????

I don't have experience with ccs so i will need help.

Can i find an example to start?
temtronic



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

View user's profile Send private message

PostPosted: Wed Jan 16, 2013 7:27 pm     Reply with quote

where to begin...

1) read PIC101 thread here

2) read the datasheets of the PIC and EEPROM you want to use

3) read the examples that CCS kindly supplies in the 'examples' folder.

4) search this forum and the code library forum

hth
jay
Tom1234



Joined: 06 Jan 2013
Posts: 39

View user's profile Send private message

External eeprom
PostPosted: Thu Jan 17, 2013 7:35 pm     Reply with quote

For the (1) do you mean this ???
http://www.ccsinfo.com/forum/viewtopic.php?t=47549
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jan 17, 2013 10:33 pm     Reply with quote

Here are some CCS driver files for SPI eeproms:
Code:

c:\program files\picc\drivers\25160.c   
c:\program files\picc\drivers\25640.c
c:\program files\picc\drivers\25080.c 
c:\program files\picc\drivers\25040.c   
c:\program files\picc\drivers\25320.c 
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