Author |
Message |
Topic: MicroSD can't read individual byte address |
tidushuu
Replies: 3
Views: 5118
|
Forum: General CCS C Discussion Posted: Wed Oct 31, 2012 12:35 pm Subject: Reply |
Thanks for reply.
About my hardware, its correct because a few weeks ago I could run with my SD card wtihout any problems. Now I use micro SD, I can still get mmc_init and reset work well, but when I ... |
Topic: MicroSD can't read individual byte address |
tidushuu
Replies: 3
Views: 5118
|
Forum: General CCS C Discussion Posted: Wed Oct 31, 2012 11:14 am Subject: MicroSD can't read individual byte address |
I got a terrible problem in MicroSD interface with pic18F4620.
When I try to read each byte address in microSD, example my code
mmc_readblock(0,data_fat.buff);
A data_fat.buff
mmc ... |
Topic: Can't setup_spi2(mode) for Pic18f4431 ? |
tidushuu
Replies: 1
Views: 4792
|
Forum: General CCS C Discussion Posted: Wed Oct 17, 2012 10:38 am Subject: Can't setup_spi2(mode) for Pic18f4431 ? |
Using PCWHD 4.104 , I saw datasheet of Pic18f4431 and it have 2 SPI port, but when i try to setup_spi2, the compiler show error.
My test code is here
#include <18F4431.h>
#device adc=8
... |
Topic: VS1011 got crash sound when play MP3 |
tidushuu
Replies: 1
Views: 4370
|
Forum: General CCS C Discussion Posted: Tue Oct 02, 2012 6:44 am Subject: VS1011 got crash sound when play MP3 |
I can play mp3 with vs1011 up to 320kbit, it play smooth but after 1 or 2 sec it sometime interrupt zzz, it same with lowest bitrate 32kbit. It's strange because 320kbit and 32kbit still play OK but ... |
Topic: SPI_write using other PORT ? |
tidushuu
Replies: 3
Views: 5105
|
Forum: General CCS C Discussion Posted: Mon Oct 01, 2012 6:19 am Subject: SPI_write using other PORT ? |
thank for your reply and i made it ok .
But i have a questtion about speed ? what is better between SPI Hardware and SPI Software and can i use both in code ? ex : Setup_SPI for default port and #US ... |
Topic: SPI_write using other PORT ? |
tidushuu
Replies: 3
Views: 5105
|
Forum: General CCS C Discussion Posted: Sun Sep 30, 2012 11:01 pm Subject: SPI_write using other PORT ? |
I want to use SDO, CLK for my select Port, example : SDO=B2,CLK=B3.
I tried this code but it didn't work.
void spi_own_write(char aa){
output_low(PIN_B3);
output_bit(P ... |
Topic: Help me, i cant play sine test with Pic16f887 + VS1011 |
tidushuu
Replies: 2
Views: 4679
|
Forum: General CCS C Discussion Posted: Sat Sep 29, 2012 8:47 am Subject: Work |
Wow thanks.
I finally made it work, reason as your comment, I didn't set volume on my code. |
Topic: Help me, i cant play sine test with Pic16f887 + VS1011 |
tidushuu
Replies: 2
Views: 4679
|
Forum: General CCS C Discussion Posted: Sat Sep 29, 2012 7:16 am Subject: Help me, i cant play sine test with Pic16f887 + VS1011 |
I starting test sine tone with my vs1011 breakboard, but i didn't hear anything. I dont know my hardware problem or my code.
Anyone did it work plz help me for my project.
Here is my code.
#incl ... |
|