2

EDIT: This is the the screen I bought

This is my first post here so I hope I do not screw up too much...

I have a raspberry pi3 with 3.5inch tft resistive touchscreen display (720x480) connected via SPI (GPIO pins).

I would like to use it for a project, but the problem is that the screen is too small and windows cant fit inside. I need to fit at least 1280x720 (1920x1080 would be better) into a 720x480 screen.

The screen is installed using this repository and I have already tried things mentioned in this post. I am currently at a loss for what to try next. I will also attach my current /boot/config.txt file, to make it easier to explain what to do.

Thanks in advance for any tips and suggestions.

my /boot/config.txt file:

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1920
framebuffer_height=1080

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=82
hdmi_cvt=1024 720 60 1 0 0 0

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
enable_uart=1
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=tft35a
#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900
dtoverlay=vc4-kms-v3d
9
  • I assume you mean this TFT screen? If so here is a tutorial learn.adafruit.com/… Also FYI there are images at the bottom that have everything already good to go if you just want the screen to work
    – Eric F
    Apr 12 '19 at 17:46
  • Check my edit, it is a different screen. Also check the github link.
    – Luk164
    Apr 12 '19 at 18:04
  • Check my edit. It is the exact one I ordered.
    – Luk164
    Apr 12 '19 at 18:09
  • Hm sorry I am not any help past what you tried. Hopefully someone else comes along to help
    – Eric F
    Apr 12 '19 at 18:13
  • No problem, I aprreciate that you at least tried.
    – Luk164
    Apr 12 '19 at 18:14
1

This looks promising: https://www.raspberrypi.org/forums/viewtopic.php?t=143581

The screen in your link uses a XPT2046 chip. Seems that this line is required in the /boot/config.txt file:

dtoverlay=ads7846,penirq=25,speed=10000,penirq_pull=2,xohms=150

The parameters for the framebuffer (width and height) could be a problem, try commenting them out by adding a # in the first position of each line, then the default will be chosen automatically.

Hopefully it will work, my screen is ordered, so I have not yet had a chance to test this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.