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 2 matches
CCS Forum Index
Author Message
  Topic: FRAM FM25L256 read/write problem
microWip

Replies: 3
Views: 4028

PostForum: General CCS C Discussion   Posted: Sun May 20, 2007 3:16 am   Subject: FRAM FM25L256 read/write problem
Thank you very much !!! Exclamation

I followed al your suggestions and it worked:

I added in the inititalisation:
setup_spi(SPI_MASTER | SPI_MODE_1_1 | SPI_CLK_DIV_4);
output_hig ...
  Topic: FRAM FM25L256 read/write problem
microWip

Replies: 3
Views: 4028

PostForum: General CCS C Discussion   Posted: Sat May 19, 2007 4:03 pm   Subject: FRAM FM25L256 read/write problem
Hello

I'm using a PIC 18F6722 to read and write to a FRAM chip through SPI.

I use this code:


// OP codes
#define WREN 0x06
#define WRSR 0x01
#define READ 0x03
#define WRITE 0x02

/ ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group