Search the Community
Showing results for tags 'demos'.
Found 1 result
I have attached a PmodMTDS touch screen display to a WF32 using JC of a chipKit PmodUNO Shield. Out of the box Demos 1,2,4,5,6,and 7 work as explained in the software comments in the sketch ino files. However MtdsDemo3 repeadedly reports "mtds.begin() failed". After changing line 128 from fStat = mtds.begin(pinMtdsSelStd, 12000000); to fStat = mtds.begin(pinMtdsSelStd, frqMtdsSpiDefault);, the sketch runs as expected. I find that the default SPI bit rate parameter for the PIC32MX and PIC32MZ is set to 3500000 in the library file "mtdsHal.h". My assumption is that the parameter SPI bit rate of "12000000" is too fast for the PmodMTDS. None of the these sketches will not compile if using the WiFire (Rev C).