chipKIT® Development Platform

Inspired by Arduino™

DSPI0 and DSPI2 Reversed

Created Wed, 02 Mar 2016 23:10:44 +0000 by FredCailloux


Wed, 02 Mar 2016 23:10:44 +0000

After uploading a sketch with DSPI1 object and using it in good running condition I decided to revert back to DPSI0 JD connector (since JE is related to UART and I need it to send back some data to the Serial Terminal). Anyway, I switched back to DSPI0 (JD connector) and could not get any signal whatsoever. It took me quite a while to figure out that the DSPI CLK, SS and MOSI is coming out of JF instead of JD. My sketch very clearly indicate DSPI0 as the SPI object. So, following this finding I revert back my sketch to request DSPI2 object (which is suppose to use JF) and found that now I have my 3 output signals SS, CLK and MOSI coming out of JD pins 1 2 4 :o

What happened to my board MX7cK ? Reversed JF and JD is certainly not proper. Is there something that changed in the DSPI definition since my update of UECIDE ?

Id appreciate some hints to understand this one. Thank, help is always appreciated.


Wed, 02 Mar 2016 23:38:55 +0000

Quite possibly. All related to the changes in how the SPI library works. A fix has been developed already that will allow them to swap back again and will be being rolled out soon enough.

Sent from my SM-T555 using Tapatalk