XC-2 and VS1053, SPI related questions.

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
Juhizo
Member
Posts: 11
Joined: Thu Dec 10, 2009 10:16 pm
Location: Finland

XC-2 and VS1053, SPI related questions.

Post by Juhizo »

So, I've tried many many ways to implement or redesign exists SPI codes, but no luck. Can't get to work on core 3. VS1053 is an mp3/ogg/midi codec chip http://www.sparkfun.com/commerce/produc ... ts_id=8954, but haven't got any luck to make it work with XC-2. As I said, connected to core3 ports as follows:
X3D0 P1A SO Header 3a
X3D1 P1B CS
X3D10 P1C SCLK
X3D11 P1D SI
X3D12 P1E DREQ Header 3b
X3D13 P1F Reset

Anyone can give me any hint what to do? How to implement working SPI code to core 3, define inputs and outputs correctly etc..

Thanks :)

Edit:
Got it work on core3, but.... The SPI "reference" design fights against me. Timings aren't anything they should be. Any sources for good SPI code?


Post Reply