Hi there,
I'm wondering if anybody has come across any Quad SPI libraries that could be used as examples or used directly. I'm communicating with and one of Bridgetech's FT813 TFT displays and I use the standard single channel mode with MOSI as input from the master andMISO as output to the masterSPI mode. However, the FT813 is capable of operating Dual SPI mode or Quad SPI mode with the addition of another 2 I/O's, see chapter 4 of their manual, here.
In dual or quad mode the manual notes that the SPI data port I/O's become unidirectional where the host drives them while chip select is active and the slave drives them when it is inactive. This complicates things from a code perspective and probably means a normal SPI library would not be easy to re-purpose. However, I'm aware that the Teensy 4.1 communicates with a QSPI flash chip (Winbond 25Q128JVSQ) and wondering if this interface operates on a similar principle and hence could be used a a template for Dual / Quad SPI to the TFT? Or better still using another of the SPI ports along with 2 more spare I/O's.
I draw a lot of bitmaps to the screen and while performance is okay, it would be a good bit better with QSPI so I'd really like to try and get it working if its workable. I have many Teensy 3.6's, a couple of Teensy 4.1's, and a good few FT813 TFT's to test with. This is something I've been wondering about for a long while and thought I'd ask the question here to see if anyone can provide any advice on how to achieve it, or even any warnings to tell me it is a waste of time. Any advice would be very helpful. Thanks.
I'm wondering if anybody has come across any Quad SPI libraries that could be used as examples or used directly. I'm communicating with and one of Bridgetech's FT813 TFT displays and I use the standard single channel mode with MOSI as input from the master andMISO as output to the masterSPI mode. However, the FT813 is capable of operating Dual SPI mode or Quad SPI mode with the addition of another 2 I/O's, see chapter 4 of their manual, here.
In dual or quad mode the manual notes that the SPI data port I/O's become unidirectional where the host drives them while chip select is active and the slave drives them when it is inactive. This complicates things from a code perspective and probably means a normal SPI library would not be easy to re-purpose. However, I'm aware that the Teensy 4.1 communicates with a QSPI flash chip (Winbond 25Q128JVSQ) and wondering if this interface operates on a similar principle and hence could be used a a template for Dual / Quad SPI to the TFT? Or better still using another of the SPI ports along with 2 more spare I/O's.
I draw a lot of bitmaps to the screen and while performance is okay, it would be a good bit better with QSPI so I'd really like to try and get it working if its workable. I have many Teensy 3.6's, a couple of Teensy 4.1's, and a good few FT813 TFT's to test with. This is something I've been wondering about for a long while and thought I'd ask the question here to see if anyone can provide any advice on how to achieve it, or even any warnings to tell me it is a waste of time. Any advice would be very helpful. Thanks.