an awesome video, thanks dude, using stm32f411 blackpill edition for touchGFX project. on the bottom of the board there is an eeprom pattern. for the next project, can you make a video about touchgfx + eeprom w25qxx series? it will really help us microcontroller lovers who haven't been able to buy a mcu that supports qspi. Thank You.
You read my mind, Poncolongok! I just completed a more robust version of the library with an easier dragging handling (so an easier sliders, scroll lists, ... handling). I'm working on a video showing it. In the meanwhile I'm starting testing the external single-SPI flash handling. But I need some more time. Unfortulately, that's just my hobby!
Uri, the ILI9341 communicates via serial or parallel port, but in the video I'm not using (only) that driver: I am using a board mounting a display and the ILI9341. Some boards expose the ILI parallel port pins, while others expose the serial ones. There are advantages and disadvantages to using one port over the other. The main advantage of using SPI instead of FSMC is that the former requires (many) fewer pins, allowing the display (the driver) to be managed even with smaller uCs or when the pins are involved in other activities. I'm thinking to do some test even with parallel port handled displays.
What should I modify to be able to use dragging? Now scroll list on TouchGFX doesn't work (only selects elements in list, but doesn't scroll it) ua-cam.com/video/p7GTPM2xNww/v-deo.html&ab_channel=STMicroelectronics
Hi Coppertail, driver handles communication between TouchGFX and the display, should not affect TouchGFX features. ... or it does? ... Try to disable the key repeat feature (set _DELAY_TO_KEY_REPEAT_ to _0_ in _z_touch_XPT2046.h_ ) That's the only thing I can suppose having impact on dragging. Let me know.
Also one thing I noticed, is that in simulation, when you press and hold button, it changes color and stays until you release button. On my application using this library, when you press a button, it only changes color for a brief moment (almost unnoticable)
@@bluewat Then DELAY_TO_KEY_REPEAT = 0 doesn't disable it. It sets flipTouch to 0, therefore setting isTouch to 0. I'm now trying to find a solution.. This method solves drag problem, but then other screens acts weird (I have onscreen keyboard, buttons shows being pressed, but text doesn't appear in typing box ua-cam.com/video/uE6eiTjOP-g/v-deo.html&ab_channel=EEbyKarl) z_touch_XPT2046.c: (modify last function) uint8_t Touch_TouchGFXSampleTouch(int32_t *x, int32_t *y){ uint8_t isTouch=0; // preset to no touch uint16_t xx=0,yy=0; // need to convert library coordinates type (uint16_t) to TouchGFX one (int32_t) if (Touch_GotATouch(0)) // polls interrupt flag not resetting it { Touch_GetXYtouch(&xx,&yy,&isTouch); // get touch sensor position if (isTouch)// received a "no touch" { isTouch=1; *x=xx; *y=yy; } else Touch_GotATouch(1); }
you are so amazing...😭👏👏👏
Hoping that's a compliment: thank you!
an awesome video, thanks dude, using stm32f411 blackpill edition for touchGFX project. on the bottom of the board there is an eeprom pattern. for the next project, can you make a video about touchgfx + eeprom w25qxx series? it will really help us microcontroller lovers who haven't been able to buy a mcu that supports qspi. Thank You.
You read my mind, Poncolongok! I just completed a more robust version of the library with an easier dragging handling (so an easier sliders, scroll lists, ... handling). I'm working on a video showing it. In the meanwhile I'm starting testing the external single-SPI flash handling. But I need some more time. Unfortulately, that's just my hobby!
@@bluewat I'm looking forward to your next video. happy working, hopefully healthy always.
im not sure where or how youre telling touchgfx what display you have and how it knows how to use it
you should find answers here: ua-cam.com/video/g1siKaPox88/v-deo.html
please watch the previous video to understand this video
@@bluewat hi i am able to display but touch is not working
Why you use SPI interface for ILI9341 if it is use FSMC ?
Uri, the ILI9341 communicates via serial or parallel port, but in the video I'm not using (only) that driver: I am using a board mounting a display and the ILI9341.
Some boards expose the ILI parallel port pins, while others expose the serial ones.
There are advantages and disadvantages to using one port over the other. The main advantage of using SPI instead of FSMC is that the former requires (many) fewer pins, allowing the display (the driver) to be managed even with smaller uCs or when the pins are involved in other activities.
I'm thinking to do some test even with parallel port handled displays.
@@bluewat but parallel mode is 16 times faster !( instead of sending 1 bit I send 16).
@@urichaplin1424
… advantages and disadvantages…
What should I modify to be able to use dragging? Now scroll list on TouchGFX doesn't work (only selects elements in list, but doesn't scroll it) ua-cam.com/video/p7GTPM2xNww/v-deo.html&ab_channel=STMicroelectronics
Hi Coppertail,
driver handles communication between TouchGFX and the display, should not affect TouchGFX features.
... or it does? ... Try to disable the key repeat feature (set _DELAY_TO_KEY_REPEAT_ to _0_ in _z_touch_XPT2046.h_ ) That's the only thing I can suppose having impact on dragging.
Let me know.
@@bluewat Nope, didn't fix it
Also one thing I noticed, is that in simulation, when you press and hold button, it changes color and stays until you release button. On my application using this library, when you press a button, it only changes color for a brief moment (almost unnoticable)
@@just5444 you definitely still have active key repeat.
@@bluewat Then DELAY_TO_KEY_REPEAT = 0 doesn't disable it. It sets flipTouch to 0, therefore setting isTouch to 0.
I'm now trying to find a solution.. This method solves drag problem, but then other screens acts weird (I have onscreen keyboard, buttons shows being pressed, but text doesn't appear in typing box ua-cam.com/video/uE6eiTjOP-g/v-deo.html&ab_channel=EEbyKarl)
z_touch_XPT2046.c: (modify last function)
uint8_t Touch_TouchGFXSampleTouch(int32_t *x, int32_t *y){
uint8_t isTouch=0; // preset to no touch
uint16_t xx=0,yy=0; // need to convert library coordinates type (uint16_t) to TouchGFX one (int32_t)
if (Touch_GotATouch(0)) // polls interrupt flag not resetting it
{
Touch_GetXYtouch(&xx,&yy,&isTouch); // get touch sensor position
if (isTouch)// received a "no touch"
{
isTouch=1;
*x=xx;
*y=yy;
}
else
Touch_GotATouch(1);
}
return isTouch;
}