mjs513
Senior Member+
@pd0lew
ok. messed it up - think I got my branches confused. I pull all the changes now into the RA8875 branch( https://github.com/mjs513/RA8875/tree/RA8875_t4 ). With the corrections to a couple of the files in the subdirectories (yes I missed those but I went over each one individually to make sure - already caught your comment in post #23.
Made one other change for the 1062:
so the display should be supported on all SPI ports (SPI, SPI1 and SPI2).
@KurtE - did I do that one right or did I miss something? Your RA8875 display may work now for you.
ok. messed it up - think I got my branches confused. I pull all the changes now into the RA8875 branch( https://github.com/mjs513/RA8875/tree/RA8875_t4 ). With the corrections to a couple of the files in the subdirectories (yes I missed those but I went over each one individually to make sure - already caught your comment in post #23.
Made one other change for the 1062:
Code:
#elif defined(__IMXRT1062__)
//always uses SPI transaction
if ((_mosi == 11 || _mosi == 26 || _mosi == 35) && (_miso == 12 || _miso == 1 || _miso == 34) && (_sclk == 13 || _sclk == 27 || _sclk == 36)) {//valid SPI pins?
if (_mosi != 11) SPI.setMOSI(_mosi);
if (_miso != 12) SPI.setMISO(_miso);
if (_sclk != 13) SPI.setSCK(_sclk);
} else {
_errorCode |= (1 << 1);//set
return;
}
if (!SPI.pinIsChipSelect(_cs)) {
_errorCode |= (1 << 2);//set
return;
}
pinMode(_cs, OUTPUT);
SPI.begin();
digitalWrite(_cs, HIGH);
@KurtE - did I do that one right or did I miss something? Your RA8875 display may work now for you.