XC-2 and VS1053, SPI related questions.

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
Juhizo
Member
Posts: 11
Joined: Thu Dec 10, 2009 10:16 pm
Location: Finland
Contact:

XC-2 and VS1053, SPI related questions.

Postby Juhizo » Fri Dec 18, 2009 6:02 pm

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/product_info.php?products_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?

Return to “Development Tools and Programming”

Who is online

Users browsing this forum: No registered users and 7 guests