Author |
Message |
Topic: SPI problem with PIC18F4520 |
sven_1669
Replies: 6
Views: 9793
|
Forum: General CCS C Discussion Posted: Sat Apr 01, 2006 7:05 pm Subject: SPI problem with PIC18F4520 |
alright....thanks for the help....back to the head scratching.... |
Topic: SPI problem with PIC18F4520 |
sven_1669
Replies: 6
Views: 9793
|
Forum: General CCS C Discussion Posted: Sat Apr 01, 2006 2:09 pm Subject: SPI problem with PIC18F4520 |
I changed the code from if (input(PIN_B6))
{
output_a(0x01);
delay_ms(100);
output_b(0x00);
delay_ms(100);
spi_write (mp3[j] ... |
Topic: SPI problem with PIC18F4520 |
sven_1669
Replies: 6
Views: 9793
|
Forum: General CCS C Discussion Posted: Sat Apr 01, 2006 1:51 pm Subject: SPI problem with PIC18F4520 |
pin b6 is the data_req pin from the sta013. When it is high, the decoder wants more data. I will try not setting it all to zero's, and see what that does. Also, I am not using a debugger, so that w ... |
Topic: SPI problem with PIC18F4520 |
sven_1669
Replies: 6
Views: 9793
|
Forum: General CCS C Discussion Posted: Sat Apr 01, 2006 1:13 pm Subject: SPI problem with PIC18F4520 |
I am trying to use SPI interface to connect to the STA013 mp3 decoder IC. It looks like it sends the first byte, but then it stops sending the data.
Any ideas???
int8 const mp3 |
Topic: PIC18F4520 problem |
sven_1669
Replies: 2
Views: 5738
|
Forum: General CCS C Discussion Posted: Tue Mar 28, 2006 4:24 pm Subject: PIC18F4520 problem |
I am building an mp3 player using the STA013 decoder chip. It requires you to send 2007 address-data pairs to configure it. I am using the PIC18F4520, and trying to send these pairs using an array. ... |
|