Digilee Beginner

  • Member since Feb 11th 2019
Last Activity

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Digilee -

    Replied to the thread Touchscreen stops responding after ~65 seconds.

    Post
    Hi Sven, Thanks for your responses. My BSP_TS_GetState() always returns the last 'touch' position, so when the button is released, it will always be the last touch position. However, you pointed me to the solution. The touch driver starts returning a…
  • Digilee -

    Replied to the thread Touchscreen stops responding after ~65 seconds.

    Post
    k_TouchUpdate() is called in a timer IRQ every 100ms or so. C Source Code (35 lines)
  • Digilee -

    Replied to the thread Touchscreen stops responding after ~65 seconds.

    Post
    Hi Sven, Not sure what you mean about a short example. Do you want me to post the project as a zip file? I have cut it down considerably, but it still compiles out to a 234K image. It includes FreeRtos and a number of ST libraries for SDRAM, touch…
  • Digilee -

    Replied to the thread Touchscreen stops responding after ~65 seconds.

    Post
    After a little more checking, I found that if I bring up a dialog box with an OK and Cancel button, and then just let it sit for a minute, the first message I get when I press either OK or Cancel is WM_PID_STATE_CHANGED, followed by WM_TOUCH and…
  • Digilee -

    Posted the thread Touchscreen stops responding after ~65 seconds.

    Thread
    After porting a project from the IAR environment to the Atollic Studio environment, I have run into an odd problem that I'd like to solicit your advice. When the project starts, the touch screen works fine, with the IRQ calling GUI_TOUCH_StoreStateEx()…
  • Digilee -

    Replied to the thread Correct configuration for STemWin drivers.

    Post
    Hi Sven, That did the trick, thanks! Although I found that at least in my setup there are two definitions of GUI_USE_ARGB - one in GuiConf.h and the other in GuiConfDefaults.h. I had already changed the one in GuiConfDefaults.h, but I guess I missed…
  • Digilee -

    Replied to the thread Touchscreen works once then freezes.

    Post
    This sounds like an interrupt handler problem. I had a similar issue and resolved it, but I don't really remember what I did. It does seem that it had to do with the interrupt handler for the touch screen driver. Good Luck, Lee
  • Digilee -

    Posted the thread Correct configuration for STemWin drivers.

    Thread
    Hi, I hope you can help with this. I am having trouble selecting the correct drivers and color conversion configuration. It seems no matter what combination I try, something is wrong. I am using the LTDC_PIXEL_FORMAT_ARGB8888 pixelFormat specifier on my…