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 4 matches
CCS Forum Index
Author Message
  Topic: 18f452 interface with spi flash device
chrmjenkins

Replies: 8
Views: 10352

PostForum: General CCS C Discussion   Posted: Mon Apr 28, 2008 5:47 pm   Subject: 18f452 interface with spi flash device
You got a nice set of defines for the SPI modes and then you write the setup like: setup_spi( SPI_MASTER | SPI_H_TO_L | SPI_XMIT_L_TO_H | SPI_CLK_DIV_64);Don't you think it is easier to rea ...
  Topic: 18f452 interface with spi flash device
chrmjenkins

Replies: 8
Views: 10352

PostForum: General CCS C Discussion   Posted: Mon Apr 28, 2008 9:36 am   Subject: 18f452 interface with spi flash device
I've modified the original code I was given (quite a lot). I know I'm writing to the flash, but I can't see any response that the flash is taking the read. I don't see any data coming out of the flash ...
  Topic: 18f452 interface with spi flash device
chrmjenkins

Replies: 8
Views: 10352

PostForum: General CCS C Discussion   Posted: Wed Mar 26, 2008 8:38 am   Subject: 18f452 interface with spi flash device
Well, now I've heavily modified the code that I was given to begin with, and it turns out that I think our flash is bad :-/

Anyone with experience with these modules? I'm getting a constant 36 mA ...
  Topic: 18f452 interface with spi flash device
chrmjenkins

Replies: 8
Views: 10352

PostForum: General CCS C Discussion   Posted: Thu Mar 06, 2008 5:05 pm   Subject: 18f452 interface with spi flash device
Ok, I've been writing code to interface a 18f452 through the SPI interface with flash memory. No matter what I do with my code (I've commented it all but a simple debug routine to clock an output), th ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group