Hi Alan,

Thanks.. 

BTW: I found a minor mistake in my Touch Controller Adapter Board design, I 
don't know (yet) how our touchscreen input driver handles PENIRQ\ (if it is 
used), the R3 should normally be pull-up to Vcc but I connected it to GND by 
mistake. I'll correct it.

Regards,
Murat

On 2021/08/03 17:59:04, Alan Carvalho de Assis <acas...@gmail.com> wrote: 
> Hi Murat,
> 
> All you need to do is to define:
> 
> CONFIG_INPUT_TOUCHSCREEN (and enable your touchscreen driver)
> 
> and
> 
> CONFIG_EXAMPLES_LVGLDEMO_CALIBRATE
> 
> Your touchscreen device needs to be at /dev/input0
> 
> Look at apps/examples/lvgldemo, it is very straightforward.
> 
> If your touchscreen is not /dev/input0, you need to setup
> CONFIG_EXAMPLES_LGVLDEMO_DEVPATH with a new device path (i.e.
> /dev/touch2).
> 
> BR,
> 
> Alan
> 
> On 8/3/21, murat tologlu <mtolo...@hotmail.com> wrote:
> > Hi @Barbiani,
> >
> > I got a 3.2" resistive touch panel from Buydisplay, however I would like to
> > use it with ADS7843e controller using nuttx/drivers/input/ads7843e.c instead
> > of connecting it direct to ESP32 ADC inputs as you did, however I'm not
> > experienced enough in lvgl so I don't know how to make the integrating with
> > lbgl. I appreciate very much your comments.
> >
> > I started a topic here in Nuttx Discord channel for this application, maybe
> > you visit:
> > https://discordapp.com/channels/716091708336504884/872142546929877042/872142551539409007
> >
> >
> > Regards,
> > Murat
> >
> >
> > On 2021/06/25 19:39:49, Barbiani <barbi...@gmail.com> wrote:
> >> Hi,
> >>
> >> I have put together a touch screen driver for this board using a separate
> >> touch glass placed over the tft display.
> >>
> >> It is resistive and the connections are described in the source file.
> >>
> >> https://github.com/lvgl/lv_drivers/blob/master/indev/AD_touch.c
> >>
> >>
> >> On Fri, Jun 25, 2021, 16:17 Gustavo Henrique Nihei <ghni...@gmail.com>
> >> wrote:
> >>
> >> > Hi Murat,
> >> >
> >> > Just to add to Alan's answer, this is actually the Slideshow mode for
> >> > the
> >> > LVGL Widgets example.
> >> > You may disable it via "CONFIG_EXAMPLES_LVGLDEMO_WIDGETS_SLIDESHOW".
> >> > Then the example application will just wait for the user input.
> >> >
> >> > Best regards,
> >> > Gustavo.
> >> >
> >> > On Fri, Jun 25, 2021 at 4:12 PM Alan Carvalho de Assis
> >> > <acas...@gmail.com>
> >> > wrote:
> >> >
> >> > > Hi Murat,
> >> > >
> >> > > The LVGL moving up and down it not a bug, it is by design.
> >> > >
> >> > > LVGL guys did it as as way to show all the screen exactly for board
> >> > > that doesn't have a touchscreen to interact with it. Otherwise you
> >> > > should think it was crashed/freeze, don't you? :-)
> >> > >
> >> > > Hmm, maybe we can use a BackBerry TouchPad as mouse.
> >> > >
> >> > > Matias, do you think it is possible? Probably we will need to
> >> > > implement a driver to make it behavior like a mouse to be used on
> >> > > NuttX.
> >> > >
> >> > > BR,
> >> > >
> >> > > Alan
> >> > >
> >> > > On 6/25/21, murat tologlu <mtolo...@hotmail.com> wrote:
> >> > > > Dear Gustavo,
> >> > > >
> >> > > > Thanks you very much for your interested and for the informations
> >> > you've
> >> > > > provided.
> >> > > >
> >> > > > I wasn't aware that the esp-wrover-kit doesn't have any touch
> >> > > > keypad, I
> >> > > am
> >> > > > very much surprised about that. That's why I talked about an
> >> > > > improper
> >> > > lvgl
> >> > > > operation, I was expecting to interact with the display as I do
> >> > normally
> >> > > > with many other boards :) I think this is a weakness of the
> >> > > esp-wrover-kit,
> >> > > > do we have to use a separate keypad in case a user entry is
> >> > > > required?
> >> > > >
> >> > > > On the other hand the display is not stable, it moves up and down
> >> > > > as
> >> > > seen on
> >> > > > old-time TVs, it is a synch problem, it can be related to frame
> >> > > > rate, I
> >> > > will
> >> > > > try  overclocking the SPI bus as you've suggested.
> >> > > >
> >> > > > Best regards,
> >> > > > Murat
> >> > > >
> >> > > > On 2021/06/25 12:13:40, Gustavo Henrique Nihei <ghni...@gmail.com>
> >> > > wrote:
> >> > > >> Hi Murat,
> >> > > >>
> >> > > >> I've just watched your video after you made it public.
> >> > > >> It seems to be working as expected for the "esp32-wrover-kit:lvgl"
> >> > > >> configuration.
> >> > > >> What exactly do you mean by frequency mismatch? I can see some
> >> > > >> stripes
> >> > > in
> >> > > >> the video, but I believe this is probably due to the video
> >> > > >> recording.
> >> > > >> If the issue is regarding the framerate, you may tweak the
> >> > configuration
> >> > > >> in
> >> > > >> order to increase it (e.g. overclocking the SPI bus via
> >> > > >> CONFIG_ESP32_LCD_OVERCLOCK)
> >> > > >> Also, the ESP-WROVER-KIT does not provide a touch sensor.
> >> > > >>
> >> > > >> Best regards,
> >> > > >> Gustavo.
> >> > > >>
> >> > > >> On Fri, Jun 25, 2021 at 1:05 AM murat tologlu
> >> > > >> <mtolo...@hotmail.com>
> >> > > >> wrote:
> >> > > >>
> >> > > >> > Hi,
> >> > > >> >
> >> > > >> > Brand new ESP-WROVER-KIT V4.1, loaded with latest nuttx and
> >> > > >> > apps,
> >> > > >> > without
> >> > > >> > any jumper modification
> >> > > >> >
> >> > > >> > https://youtu.be/17vXIOFpU5c
> >> > > >> >
> >> > > >> > Seems like a frequency mismatch, touch input doesn't work as
> >> > > >> > well..
> >> > > >> > what
> >> > > >> > can be the reason?
> >> > > >> >
> >> > > >>
> >> > > >>
> >> > > >> --
> >> > > >> Gustavo Henrique Nihei
> >> > > >>
> >> > > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Gustavo Henrique Nihei
> >> >
> >>
> >
> 

Reply via email to