Search results

  1. S

    Highly optimized ILI9341 (320x240 TFT color display) library

    Hello, everyone, I found a way to accelerate ILI9341_t3n with a double buffer, for my purposes. Here are the results of the graphic test in three stages: ----- None buffered ----- Benchmark Time (microseconds) Screen fill 205325 Text 10503 Lines...
  2. S

    Highly optimized ILI9341 (320x240 TFT color display) library

    @KurtE @mjs513 Hi, can someone list the color TFT libraries that use frame buffers? I am currently writing a library for a graphical user interface and would like to increase the compatibility. I thank you! https://github.com/sepp89117/Teensy_UI
  3. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    So now I had time to take care of the problem. The solution was to adjust the init_commands for Power control 1 (C0h). The standard parameters are obviously not good. I have set both parameters from 0Eh to 17h. Now it runs without flickering.
  4. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Thank you for your prompt reply! Did you watch my video? The code initially runs smoothly. Only when the display gets warm, with high outside temperatures, does it start to look like in the video. I think it is due to some parameters in the initiation of the display, wrongly configured...
  5. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hello everyone, the continuation of my project is almost finished. Unfortunately I still have a problem with the display. It flickers in some modes. You may have a look here: https://www.youtube.com/watch?v=Z3tFuwl-68Q Does anyone have a tip to get this under control? Thank you!
  6. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Yes, of course, unfortunately I didn't think that far. For each pixel a "setAddr" has to be executed and a RAMWR command has to be sent ... Stupid of me. That with the tiles is a good idea. One could write an algorithm that calculates the optimal number of tiles. I probably cannot leave it and...
  7. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hello everybody, I have a suggestion to further reduce SPI transfer when using framebuffer. It is based on "updateChangedRange", but more efficient when used correctly. Unfortunately, more memory is required, namely an eighth of the resolution of the display. However, most people should have...
  8. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Doesn't x change permanently and y only rarely when using the frame buffer? Maybe only check if x has changed if framebuffer is not active.
  9. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    @KurtE Is that twice "_changed_min_x = 0x7fff;" Intention? ILI9341_t3n.h @line 866
  10. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    My project with ILI9341 (320x240) and the _t3n lib (SPI @ 80Mhz) runs super fast on teensy 4.0! No parallel mode necessary. My new project with ILI9486 (480x320 @ 4inch) is slower because of the higher resolution, but thanks to the "_updateChangedAreasOnly" funktion it is also acceptable. I am...
  11. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I have it! :D The RPi display now runs on Teensy 4.0 with the t3n lib. I will now clean up the lib and make it available afterwards.
  12. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I optimized the initialization and reduced the Waveshare lib to the bare minimum. https://github.com/sepp89117/Waveshare_ILI9486_t4 I can now run it at 45Mhz. I need the buffer that I know from ILI9341_t3n. Unfortunately I can't get the conversion of the t3n lib done.
  13. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    okay I forgot to mention that no read is possible. The display has no MISO. Is that a problem with your lib?
  14. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I have tested ILI9488 and HX8357 lib out of the box and with customized init. I also noticed the RAMWR in the Waveshare lib. But only in the following functions: inline void lcdWriteDataRepeat(uint16_t data, unsigned long count) { lcdWriteReg(0x2C); //RAMWR digitalWrite(LCD_DC, HIGH)...
  15. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I am now using the latest version of Teensyduino and Arduino IDE. There are no delays in the working lib that I have not transferred to the t3n. When I insert delays in beginSPITransaction or endSPITransaction or writecommand_cont or waitTransmitComplete nothing works anymore. The wiring is good.
  16. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    The library with which the display works on the Teensy contains the following: inline void lcdWriteReg (uint8_t reg) { digitalWrite (LCD_DC, LOW); SPI.transfer (0); SPI.transfer (reg); } How can I write 0 in t3n lib? I just tried it like this: void writecommand_cont(uint8_t c)...
  17. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I'm using Teensyduino 1.8.5? The last update was probably a long time ago. Download 1.52 now. Thanks for the hint!
  18. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Yes I also saw "self.spi.max_speed_hz = 125000". It really confused me because the article description says "125Mhz High-Speed SPI". https://www.waveshare.com/4inch-rpi-lcd-c.htm I am now back from work and will continue to work on the display. EDIT: If I configure it at 125000Hz, it doesn't work.
  19. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hi, I got the delivery today. After a lot of trying it works now. I use the init commands from https://github.com/996refuse/waveshare4c/blob/master/const.py and had to set the SPI frequency to 19Mhz. With 20Mhz there are errors and it crashes. With 18Mhz it stays white. Does anyone have any idea...
  20. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hello everybody, do you see a chance to get the RPI display running with the Teensy 4.0? https://www.waveshare.com/wiki/4inch_RPi_LCD_(C) Unfortunately I don't find a suitable 4 inch display. Thank you!
  21. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hello everybody! Coincidentally, is anyone interested in an image editing program that can import from C as well as export to C? So it specializes in graphics creation for Arduino based systems. I have been working on it for a few days now and would be happy to find beta testers :) It is written...
  22. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I am sure that the display is broken. It was suddenly white and flickered slightly. I tried everything to get it back ... If it helps you, I can tell you the imprint on the registers.
  23. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Thank you! I will now put the display in the trash. I connected it again to the mega. It worked and suddenly stopped. Now nothing works anymore. I have now ordered an ST7796S. As I read, it should be controlled just like an ILI9342. Delivery time can be 4 weeks. :(...
  24. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Okay thanks. I have already installed a pullup. Not working. But graphicstest output changes to 10:39:43.406 -> ILI9488_t3n: (T4) SPI automatically selected 10:39:43.406 -> 10:39:43.406 -> MOSI:11 MISO:12 SCK:13 10:39:43.406 -> ILI9488 Test! 10:39:43.406 -> Display Power Mode: 0xFF...
  25. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Is it a problem that I have not connected CS from the Touch and CS from the SD card? Because, of course, SD card, touch and display are connected to the same MISO and MOSI. However, I only use the display for testing. Maybe the shift registers cannot work without the CS of the other two?
  26. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hi there a good idea with the delays but unfortunately it doesn't work. Today I had the idea to connect an ili9341. Without changes to the code or lib. Lo and behold, the display shows at least reaction. Of course, the configuration and the resolution are not correct, but it reacts...
  27. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Yes, now i did. I tested the "ImpulseAdventure / Waveshare_ILI9486" lib with the Teensy. Before that, I adjusted the pins in DEV_Config. //LCD #define LCD_CS 10 #define LCD_CS_0 digitalWrite(LCD_CS, LOW) #define LCD_CS_1 digitalWrite(LCD_CS, HIGH) #define LCD_BL 16 #define...
  28. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Good morning from Germany! It seems we are working with different libs. Sorry that I have not clearly stated what I am working with. The display on the Mega worked with the lib available here: https://github.com/MHotchin/Waveshare4InchTftShield/tree/master/src Later I will look at the lib you...
  29. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    The program (Waveshare GraphicsTest) outputs information via serial monitor. The display remains white. 21:16:33.194 -> Benchmark Time (microseconds) 21:16:33.194 -> Screen fill 798811 21:16:34.501 -> Text 29693 21:16:37.700 -> Lines...
  30. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Yes i did. I will try the wave share software again Looks crazy what you're doing. :D
  31. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Another question: I need a 4 inch display that works with the Teensy 4.0. Do you have a tip? SPI would be desirable. Thanks
  32. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I connected the reset pin of the display to PIN 15 from Teensy. Unfortunately pin 8 is occupied. Of course I defined the pin: #define TFT_RST 15 Unfortunately I don't know how to find out if the pin on the display is really connected to it. Edit: Reset seems to work. 20:43:25.080 -> HX8357...
  33. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Whenever I change the spi clock, something changes in the configuration. Is that normal? 20:04:34.989 -> HX8357 Test! 20:04:34.989 -> _t3n::begin mosi:11 miso:12 SCLK:13 CS:10 DC:9 SPI clocks: 20000000 2000000 20:04:34.989 -> T4 setup CS/DC 20:04:35.601 -> _t3n::begin - completed...
  34. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Therefore I asked if it is theoretically possible to use lib for Arduino. I've tried almost everything in the meantime ... The original lib from Waveshare (which works with Mega) and the associated graphicstest example. Just changed the pin config in lib. I'm currently trying the HX8357...
  35. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Of course I connected 5V to the power supply of the display. On the board of the display is a Voltage Regulator (AMS1117) which makes it 3.3V. What I mean is MISO and MOSI. Do they run on 5V on Arduino and 3.3V on Teensy? I can't imagine it, but I don't know what to do ... I actually made all...
  36. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Is it normal for the displayed settings to differ from the configuration? 17:51:32.809 -> Display Power Mode: 0x80 17:51:32.809 -> MADCTL Mode: 0x80 17:51:32.809 -> Pixel Format: 0x87 17:51:32.809 -> Image Format: 0x87 17:51:32.809 -> Self Diagnostic: 0x87 Edit: I think may i have a problem...
  37. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hi there, I have now carried out several tests. I have transferred the init commands from the waveshare lib to your HX8357 lib. Without success. Then I tested the original Waveshare lib with the teensy. Does not work either. Is it even possible with a lib written for Arduino to use it for a...
  38. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Here you find an interface definition. Among them is SPI. http://www.lcdwiki.com/3.5inch_Arduino_Display-Mega2560
  39. S

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Hello everybody, I have a 4inch ILI9486 with SPI from Waveshare. I have already asked KurtE at Github how I can get it to work with a Teensy 4.0. As KurtE already wrote, I got the display to work with the Waveshare lib and an Arduino Mega, but not with the t3n lib. Hello KurtE, I have already...
  40. S

    Need help for my ILI9341 project, need font char byte for byte

    Good work! Works well! I already had a problem with the swap function with ILI9341_t3. I have to rename this to solve the problem (swap> swapp), also with ILI9341_t3n. I increased the speed in my project from about 12fps to about 29fps. I have #define ILI9341_SPICLOCK 30000000u to #define...
  41. S

    Need help for my ILI9341 project, need font char byte for byte

    Hi, thanks for the quick response! I use a Teensy 4.0. Memory size shouldn't be the problem. Unfortunately I have not seen your lib yet. I will now install and test it in my project (github.com/sepp89117/Opel-Astra-H-opc-CAN-Gauge). Thank you!
  42. S

    Need help for my ILI9341 project, need font char byte for byte

    Hello, i am working on a library for an ILI9341 which is based on a different principle than the known libraries. The basic principle is that the entire screen to be displayed is designed first and only then drawn as a whole. The advantage is that you can work with layers that are placed on top...
Back
Top