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 8 matches
CCS Forum Index
Author Message
  Topic: MMC initialization Set Block Length
gbie

Replies: 3
Views: 3875

PostForum: General CCS C Discussion   Posted: Tue May 05, 2009 1:19 am   Subject: MMC initialization Set Block Length
I got the right responses by adding more clock cycles between commands.

Next problem: I can't get the data block response after a write anymore. I do get a busy signal though. A long block of 0x00. ...
  Topic: MMC initialization Set Block Length
gbie

Replies: 3
Views: 3875

PostForum: General CCS C Discussion   Posted: Tue May 05, 2009 12:45 am   Subject: MMC initialization Set Block Length
Actually, I see that I'm getting a response in the middle of a command.

I send CMD0, get 0x01. Good.
I send CMD1, after 2 tries, I get 0x00. Good.

I send CMD16, I get a 0x07 response in the mid ...
  Topic: MMC initialization Set Block Length
gbie

Replies: 3
Views: 3875

PostForum: General CCS C Discussion   Posted: Tue May 05, 2009 12:07 am   Subject: MMC initialization Set Block Length
my initialization stopped working. when i send CMD16, i get a R1 response of 00000111, which means illegal command + erase/reset + idle?


// Got out of idle response
SPI_WRITE(0xF ...
  Topic: playing audio (MMC question)
gbie

Replies: 0
Views: 2428

PostForum: General CCS C Discussion   Posted: Fri May 01, 2009 5:00 pm   Subject: playing audio (MMC question)
i wrote a .wav file to an mmc card.
when i do a block read, it seems like it is written high (11111111) for the last 80 or so bytes of every block. is that normal? and if it is, is there a way to wor ...
  Topic: DAC help!
gbie

Replies: 1
Views: 3769

PostForum: General CCS C Discussion   Posted: Thu Apr 30, 2009 1:17 am   Subject: DAC help!
Trying to get my DAC0800 working with my pic16f886 so that I can output audio. I use a function generator to input a sine wave into the ADC and then output it to the DAC. It looks great up until about ...
  Topic: pic16f886 mmc read/write help
gbie

Replies: 4
Views: 6420

PostForum: General CCS C Discussion   Posted: Wed Apr 22, 2009 5:01 pm   Subject: pic16f886 mmc read/write help
problem fixed:
i was sending the wrong data start byte.
  Topic: pic16f886 mmc read/write help
gbie

Replies: 4
Views: 6420

PostForum: General CCS C Discussion   Posted: Wed Apr 22, 2009 11:08 am   Subject: pic16f886 mmc read/write help
#define SPI_MODE_0 (SPI_L_TO_H | SPI_XMIT_L_TO_H)
#define SPI_MODE_1 (SPI_L_TO_H)
#define SPI_MODE_2 (SPI_H_TO_L)
#define SPI_MODE_3 (SPI_H_TO_L | SPI_XMIT_L_TO_H)

SETUP_SPI(SPI_MASTER | SP ...
  Topic: pic16f886 mmc read/write help
gbie

Replies: 4
Views: 6420

PostForum: General CCS C Discussion   Posted: Wed Apr 22, 2009 2:38 am   Subject: pic16f886 mmc read/write help
MMC initializes fine.
When I do a write and get the response at the end, it turns up as 00000010 | 10000000... for the busy, when the expected is 00000101|000000...

When I do a read after that, I ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group