I have been trying to eek the most out of my SPI display. I can’t figure out how to increase the speed of the SPI port. I have tried to change the clock divisor using
SPI.setClockDivider(SPI_CLOCK_DIV2); but I don’t see any difference. I have tried SPI_CLOCK_DIV2, SPI_CLOCK_DIV4 and some others and can’t see any difference in the timing on my code. - I have not yet looked at a scope of the signal. Reading the web on what this function call does it very confusing. Can someone explain how the
SPI.setClockDivider() affects the speed at which we can clock data out on the SPI port?
Also there was some discussion over using the builtin DMA on the SPI port, does the Spark use the DMA or is it using software SPI?
I need to get faster updates on my LCD display. Unfortunately there are not enough I/O ports to use I2C, 8-bit I/O to a display and also read the Touch Screen - otherwise I would use an 8-bit interface on the display. So I was hoping to push up the speed on the SPI to see if I can get acceptable refresh rates.