WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ADS7846 touchscreen calibration steps & tcz package for the latest picore 12.x  (Read 1006 times)

Offline titusece

  • Newbie
  • *
  • Posts: 1
Hi Experts,
I have interfaced the HDMI display along with ADS7846 SPI based touchscreen to my RPI board for 12.x tiny core Linux.

Tried both changes for touchscreen to work correctly.
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=1,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900

http://www.tinycorelinux.net/12.x/armv7/releases/RPi/src/kernel/

I can see the driver is loaded correctly and can see events with libinput, also can see cursor moving but not in correct direction, its kind of flipped, so I would like to do touchscreen calibration to calibrate it correctly.
And I am not quite sure what package I should use for the same for picore as I am new to picore.
Thats where I got stuck and unable to proceed. Would be great if someone share their insights on this.
Thanks!