Not sure I understand fully the implications of using this library, so I have a couple of questions. @KurtE I'd appreciate your input, or anyone else who knows.
In non-DMA mode, is SPI running in a polled mode, or interrupt driven? I don't see any reference to a call to SPI using interrupts, in your code. If it is using interrupts, can you point me where it is set?
For DMA mode, I take it that one prepares a buffer, and perhaps a clip window ahead of time, and then one triggers the DMA? And once the trigger is pulled, the display routine returns and exits? And DMA uses SPI resources in the background until the clip window (or full window) is painted?
Which SPI peripheral is actually doing the work? A FlexSPI, or LPSPI instance? I am using "SPI0", the first SPI for my display. If it's LPSPI, isn't the clock limited to 30MHz, according to the chip spec? But I can change _SPI_CLOCK to 60 MHz?
Thanks. Appreciate any and all help on this.
In non-DMA mode, is SPI running in a polled mode, or interrupt driven? I don't see any reference to a call to SPI using interrupts, in your code. If it is using interrupts, can you point me where it is set?
For DMA mode, I take it that one prepares a buffer, and perhaps a clip window ahead of time, and then one triggers the DMA? And once the trigger is pulled, the display routine returns and exits? And DMA uses SPI resources in the background until the clip window (or full window) is painted?
Which SPI peripheral is actually doing the work? A FlexSPI, or LPSPI instance? I am using "SPI0", the first SPI for my display. If it's LPSPI, isn't the clock limited to 30MHz, according to the chip spec? But I can change _SPI_CLOCK to 60 MHz?
Thanks. Appreciate any and all help on this.