ILI9341 (with and without DMA support)
Архивный снимок от 2021-04-21 · Версия с источниками
victor_pv Mon Apr 27, 2015 4:04 pm Available here, until thoroughly tested, then will send a pull or merge or something to Roger: https://github.com/victorpv/TFT_ILI9163C To use it with the standard repo SPI library comment out these 3 lines in the header file: #define SPI_16BIT #define SPI_MODE_DMA 1 #define SPEED_UP 1 // Enables extra calculations in the circles routine to use fastVLine and fastHLine, only in DMA mode. To use DMA, uncomment those lines, and download the SPI library from my repo: https://github.com/victorpv/Arduino_STM … es/SPI/src Once all is tested the changes to the SPI library will be integrated in Roger’s repo. Please post here if you have any issues with DMA or non-DMA. ahull Fri Aug 28, 2015 11:18 pm Some ideas for improvement for this library from Paul Stoffregen are being discussed here. martinayotte Sat Aug 29, 2015 1:40 am Good catch ! Would it be easy to merge ? (I don’t have ILI8341 yet, maybe I should purchase one … ) bigplik Sat Aug 29, 2015 7:27 pm I’ll checked code above and unfortunately it is not working when I comment this lines in header file, anyone knows some good working code for stm32 and ILI9341? sheepdoll Sat Aug 29, 2015 7:47 pm bigplik wrote: I’ll checked code above and unfortunately it is not working when I comment this lines in header file, anyone knows some good working code for stm32 and ILI9341? bigplik Sat Aug 29, 2015 7:50 pm yes, some times ago I found one library for maple mini and it was working, but now can’t get if where I found it, maybe it was on arduino.cc forum mrburnette Sun Aug 30, 2015 12:27 pm bigplik wrote: yes, some times ago I found one library for maple mini and it was working, but now can’t get if where I found it, maybe it was on arduino.cc forum stanleyseow Sat Oct 10, 2015 12:04 pm Hi, I’ve a 3.2″ 320×240 ILI9320 Are they similar to the ILI9341 library ?? I just wanted the screen working first before focusing on the touchscreen… Thanks Stanley TFT320x240-2 by stanley_seow , on Flickr TFT320x240 by stanley_seow , on Flickr stanleyseow Sat Oct 10, 2015 3:56 pm Silly question.. Got the 2.2″ TFT ILI9341 working on SPI1 pins… How do I access the SPI2 and SPI3 pins coming from UNO with ONLY 1 SPI sets of pins.. I had to look at the Mini STM32 to lookup the SPI1 pin names.. Thanks mrburnette Sat Oct 10, 2015 7:38 pm stanleyseow wrote: Silly question.. Got the 2.2″ TFT ILI9341 working on SPI1 pins… How do I access the SPI2 and SPI3 pins coming from UNO with ONLY 1 SPI sets of pins.. I had to look at the Mini STM32 to lookup the SPI1 pin names.. Thanks zmemw16 Sat Oct 10, 2015 11:38 pm stanleyseow wrote: Silly question.. Got the 2.2″ TFT ILI9341 working on SPI1 pins… How do I access the SPI2 and SPI3 pins coming from UNO with ONLY 1 SPI sets of pins .. I had to look at the Mini STM32 to lookup the SPI1 pin names.. Thanks stanleyseow Sun Oct 11, 2015 8:24 am While running a benchmark graphicstest examples vs DigiX (DUE) , I notice the STM32 becomes slower from 3000+ msec to 8200+ msec after 20-30 interations.. The DigiX/DUE was 24609 msec , 21secs slower than the STM32 … Any idea why this happens ?? RogerClark Sun Oct 11, 2015 8:14 pm Sounds like the issue we have with the debug messages going slow if you don’t have the terminal window open. Try opening the serial terminal window and running the test again stanleyseow Mon Oct 12, 2015 4:04 am RogerClark wrote: Sounds like the issue we have with the debug messages going slow if you don’t have the terminal window open. Try opening the serial terminal window and running the test again RogerClark Mon Oct 12, 2015 5:57 am Hi Stanley, Its something we need to fix, but it didnt seem urgent, so I we forgot about it. I did some investigation into what was causing it, but it wasn’t obvious why it was happening. However I think we have a work around, as it is possible to determine the connection state of the Serial USB. So the work around is to make the internals of the Serial USB class, ignore any chars that are printed (or written etc) to it, unless the PC terminal is open. But we have yet to test in practice if this works, and whether it only works on the PC and with the IDE’s terminal or works for other terminal programs and on OSX and Linux… Things like this are not easy to fix as we need to test on multiple configurations. ahull Sat Nov 05, 2016 12:29 pm victor_pv wrote: Available here, until thoroughly tested, then will send a pull or merge or something to Roger: https://github.com/victorpv/TFT_ILI9163C To use it with the standard repo SPI library comment out these 3 lines in the header file: #define SPI_16BIT #define SPI_MODE_DMA 1 #define SPEED_UP 1 // Enables extra calculations in the circles routine to use fastVLine and fastHLine, only in DMA mode. To use DMA, uncomment those lines, and download the SPI library from my repo: https://github.com/victorpv/Arduino_STM … es/SPI/src Once all is tested the changes to the SPI library will be integrated in Roger’s repo. Please post here if you have any issues with DMA or non-DMA. victor_pv Fri Dec 23, 2016 11:15 pm ahull wrote: victor_pv wrote: Available here, until thoroughly tested, then will send a pull or merge or something to Roger: https://github.com/victorpv/TFT_ILI9163C To use it with the standard repo SPI library comment out these 3 lines in the header file: #define SPI_16BIT #define SPI_MODE_DMA 1 #define SPEED_UP 1 // Enables extra calculations in the circles routine to use fastVLine and fastHLine, only in DMA mode. To use DMA, uncomment those lines, and download the SPI library from my repo: https://github.com/victorpv/Arduino_STM … es/SPI/src Once all is tested the changes to the SPI library will be integrated in Roger’s repo. Please post here if you have any issues with DMA or non-DMA. dev Mon Feb 20, 2017 4:28 pm Hi, Will this library work with TFT_320QVT display(This is only mentioned on back)? But i think this lcd has SSD1289 IC driver. victor_pv Tue Feb 21, 2017 3:49 am dev wrote: Hi, Will this library work with TFT_320QVT display(This is only mentioned on back)? But i think this lcd has SSD1289 IC driver. zmemw16 Tue Feb 21, 2017 7:17 am there is a plethora of displays, any with between 32 to 50 pins in all likelihood use parallel data and 6800/8080 control lines. data 16 pins + 4? 6800/8080 + 4 sdcard + 4 or 5 touch + 1 backlight + power 2 ==> 32 as a minimum? there seems to be choice in the data format though. sdcard and touch are likely to be spi interfaces shield types – uno maybe 8 bit data, i suspect mega shields may well be 16 bit data, again sdcard and touch on spi connector pin layout – Oh let me count the ways matching a display to a board to the fsmc pinnings to software – i’m still working on that, try a google image search for “tft connector” reading sources of utft, u8glib or adafruit libraries may give you some insight about initialisation and use of the display, minimally what needs supplying is the init command sequence and plot(x,y). the rest is fonts and graphics stephen Share on Facebook
