Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: sepp89117

Search: Search took 0.00 seconds.

  1. So now I had time to take care of the problem....

    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...
  2. Thank you for your prompt reply! Did you watch...

    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....
  3. Hello everyone, the continuation of my project is...

    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:...
  4. Yes, of course, unfortunately I didn't think that...

    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...
  5. Hello everybody, I have a suggestion to further...

    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...
  6. Doesn't x change permanently and y only rarely...

    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.
  7. @KurtE Is that twice "_changed_min_x = 0x7fff;"...

    @KurtE Is that twice "_changed_min_x = 0x7fff;" Intention?
    ILI9341_t3n.h @line 866
  8. My project with ILI9341 (320x240) and the _t3n...

    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...
  9. I have it! :D The RPi display now runs on Teensy...

    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.
  10. I optimized the initialization and reduced the...

    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...
  11. okay I forgot to mention that no read is...

    okay

    I forgot to mention that no read is possible. The display has no MISO. Is that a problem with your lib?
  12. I have tested ILI9488 and HX8357 lib out of the...

    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...
  13. I am now using the latest version of Teensyduino...

    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...
  14. The library with which the display works on the...

    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);
    }
  15. I'm using Teensyduino 1.8.5? The last update was...

    I'm using Teensyduino 1.8.5? The last update was probably a long time ago. Download 1.52 now. Thanks for the hint!
  16. Yes I also saw "self.spi.max_speed_hz = 125000"....

    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...
  17. Hi, I got the delivery today. After a lot of...

    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...
  18. Hello everybody, do you see a chance to get...

    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...
  19. Hello everybody! Coincidentally, is anyone...

    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...
  20. I am sure that the display is broken. It was...

    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.
  21. Thank you! I will now put the display in the...

    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...
  22. Okay thanks. I have already installed a pullup....

    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 ->...
  23. Is it a problem that I have not connected CS from...

    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...
  24. Hi there a good idea with the delays but...

    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...
  25. Yes, now i did. I tested the "ImpulseAdventure /...

    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 ...
  26. Good morning from Germany! It seems we are...

    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:...
  27. The program (Waveshare GraphicsTest) outputs...

    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 ...
  28. Yes i did. I will try the wave share software...

    Yes i did.

    I will try the wave share software again

    Looks crazy what you're doing. :D
  29. Another question: I need a 4 inch display that...

    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
  30. I connected the reset pin of the display to PIN...

    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...
  31. Whenever I change the spi clock, something...

    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:...
  32. Therefore I asked if it is theoretically possible...

    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...
  33. Of course I connected 5V to the power supply of...

    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...
  34. Is it normal for the displayed settings to differ...

    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...
  35. Hi there, I have now carried out several tests....

    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...
  36. Here you find an interface definition. Among...

    Here you find an interface definition. Among them is SPI.
    http://www.lcdwiki.com/3.5inch_Arduino_Display-Mega2560
  37. Hello everybody, I have a 4inch ILI9486 with...

    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...
  38. Good work! Works well! I already had a problem...

    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...
  39. Hi, thanks for the quick response! I use a Teensy...

    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...
  40. 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...
Results 1 to 40 of 41