First C3 question?
Ravenkallen
Posts: 1,057
Hey all. I just got my C3 in the mail and i have been playing around with it since... I just connected usb and a tv and the demo popped right up. I then played some of the demo games and it worked flawlessly. It seems really cool so far...Only one thing is confusing me, and that is the SPI interface. I know other programs will run on the C3 with a little work, but i don't really how to go about doing it. Like how would one use FSRW with the C3? Would you need to add some code at the beginning of a program to make it select the right SPI channel? I have read the Unleashing the C3 e-book and Andre did a good job, but i still can't wrap my head around the SPI channel select concept. I also assume that one has to change the spi channel every time the program wants to use a different peripheral? ...I look forward to using the C3 a lot more. Thanks for the help:)
Comments
I think Andre has provided an SD card driver for the C3; you might check the files folder for it. Better to use code that's been pre-tested on the platform.
Andre'
p.s. Also, many drivers that use SPI protocol seem to have little bugs where they don't release the chip select, or drop a line back down to 0, etc. but, things worked out since the CS logic is a single line. On the C3 however, when you port these apps, these bugs get uncovered, so be careful that you follow SPI protocol and if some object doesn't work even after you put the code to properly select the SPI chip on the C3 then chances are there is a bug in it, but just happens to work. We found this problem with some of the SD drivers for example from the object exchange -- so just be careful