Hi,
I am working on SPI communication for a DMD display.i am Coding in ccs reffering to example code in Aurdino for TM4C1294NCPDT.
Bellow is the code
DMD()
{
// initialize the SPI port
SPI.begin(); //
SPI.setBitOrder(MSBFIRST); //
SPI.setDataMode(SPI_MODE0); // CPOL=0, CPHA=0
SPI.setClockDivider(SPI_CLOCK_DIV4);
}
I have configured code for SPI as above except setBitOrder. I didn't find any API as Such to send LSB or MSB or nether in registers. And on testing the Code without setting setBitOrder in display am not getting desired o/p. i think i cannot neglect it.