chipKIT® Development Platform

Inspired by Arduino™

SPI works on uC32 but not Uno32?

Created Wed, 28 Aug 2013 22:11:55 +0000 by unexpectedly


unexpectedly

Wed, 28 Aug 2013 22:11:55 +0000

I'm almost total newb to chipKIT but I have a bit of experience with Arduinos. I got my favorite TFT/Joystick shield working on my uC32 (see this thread, which also has zip of code). So to help Adafruit, I tried it on my Uno32. Doesn't work. Not with DSPI or SPI libs. I also tried adding back into the code all the delay()s from Arduino land. Nope.

Is it expected that the same SPI software and hardware would work on a uC32 and not on a Uno32? I've read through the docs on the product pages and see no reason this wouldn't work. The code was working on a Mega with its 8K of SRAM, so I'm pretty sure the Uno32's 16k is good enough. ;)

I'm not going to use this Uno32 (I need the RAM of the uC32) so can I send it to someone to verify it good or bad?

The board is REV C and barcode sticker next to it says D474507 mpide is mpide-0023-windows-20130715

Thanks, Chris


majenko

Wed, 28 Aug 2013 22:25:31 +0000

Just a thought - have you checked the master/slave jumper settings on the Uno32?


unexpectedly

Thu, 29 Aug 2013 00:56:10 +0000

Yes, double and triple checked everything. :) Even restarted the mpide when I would switch boards or swap out ST7735. And the pin 10 jumpers are the same. I made sure everything was the same between the boards.