The Chipkit forum is broken (I can’t get the confirmation email for registration) and I haven’t had any luck emailing digilent directly so here I am.
There is a known issue posted all over their forum about how if you enable DSPI and try to read a single byte in Serial the board crashes because of some interrupt pin sharing issue. The issue has been known since at least June of 2011. Here is the latest post I can find about the error:
There are all sorts of hacks people tried without saying what specifically worked for them with regards to their setup (DSPI0, 1, Serial1, 2, etc). I’ve tried doing a few things but have gotten nowhere.
Does anyone out there have a work around for this that I can follow? I would like DSPI0 (default J13 pins) and USB serial to work together. I am not using interrupt driven SPI, btw, just spi.transfer();