Jump to content

Tomasz

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Tomasz

    LT7381 driver

    Hi, Thank you guys for prompt response and hints. I will check the olimex example. However, I 'm not sure this will fix the problem fully. This is not a typical 9bit SPI. The whole byte (0x00 or 0x80) needs to be send prior data/command bytes. Please see the attached code snippet from their app note.
  2. Tomasz

    LT7381 driver

    Hi, I'm trying to develop LT7381 driver using SPI interface and framebuffer mode for ESP32. I've successfully initialized the display by using modified SSD2119 init code but framebuffer implementation seems to be problematic. LT display doesn't use D/C line and additional byte needs to be send every time to distinguish between data and command bytes. I hope somebody can give ma a hint because I've stuck right now. I couldn't find any code example for such an interface configuration. All existing gdisp drivers use D/C line for SPI interface, I believe.
  3. I've been trying to debug the code using GDB and Eclipse. I've noticed that when the button hangs in "pressed" state GetMouseReading functions gets z=1 instead of z=0. please see my Breakpoint in Step2: static void GetMouseReading(GMouse *m) { GMouseReading r; // Step 1 - Get the Raw Reading { m->flags &= ~GMOUSE_FLG_NEEDREAD; if (!gmvmt(m)->get(m, &r)) return; } // Step 2 - Handle touch and button 0 debouncing { // Clean off button garbage r.buttons &= GINPUT_MOUSE_BTN_MASK; and code seems to be stuck in sem_wait() function: err = lll_futex_wait (&isem->value, 0,isem->private ^ FUTEX_PRIVATE_FLAG); I'm not sure if this information is relevant but I've stuck now and don't know how to find the root cause of this issue. Thanks,
  4. Hi, I'm using Linux event driver for my 5 inch touch screen and I've noticed strange behavior. Button remains in "pressed" state after the finger has been lifted. Looks like the release event hasn't be recognized or missed for some reason. It happens from time to time but actually quite frequently. I've been trying to adjust GMOUSE_LINUX_EVENT_FINGER_CLICK_ERROR and GMOUSE_LINUX_EVENT_FINGER_MOVE_ERROR values in "gmouse_lld_linux_event_board.h" file based on the results from "touch driver test" demo but without success. Would be great if somebody could give me a hint how to resolve this issue. Thanks in advance, Tomasz
  5. Hi, Thank you for the prompt reply. Best regards,
  6. Hi All, I have a problem with my 7'' 800x480 TFT and framebuffer driver. The "landscape" orientation works OK but when I'm trying to rotate the screen to the "portrait" mode, all the shapes and images are slightly distorted. They look "squeezed" (circle changes to oval shape). I'm not sure if this is a hardware or software related problem. Thank you in advance, Tomasz
  7. Hi All, Maybe I should start the new topic but ma setup is very similar and I have a building problem as well. I'm trying to make the first step and familiarize myself with uGFX but I can't build the basics demo without errors. My Host OS is Ubuntu 16.4 and target is OPOS6UL board (ARM Cortex-A9). Please find attached building log and makefile. Would be great if somebody could help me in this case so I can make a progress. Thanks in advance, building log.odt Makefile
×
×
  • Create New...