How can we rotate a touch screen connected to Jetson Nano by 90 degree with touch rotation as well? Rotating the screen clockwise or counterclockwise in the Display settings only rotates the screen. The touch does not work properly.
We don’t have official solution for this because there is no touch screen verified here.
Which interface does this touch screen use for display and touch?
maybe you can have a try of 40-xx.
I am using a Newhaven display ( NHD-7.0-HDMI-N-RSXV-CTU). On Raspberry Pi I can change the orientation of touch by going into the config.txt. However, on Jetson Nano I could not find any config.txt. I can go to the display settings and rotate the screen but that does not rotate the touch coordinates.
This what I see when I look in the 40-xx configuration. Not sure where to change the touch orientation. Any suggestions?
90° -> “0 -1 1 1 0 0 0 0 1”
180° -> “-1 0 1 0 -1 1 0 0 1”
270° -> “0 1 0 -1 0 1 0 0 1”
not sure if what u want or not.
Thanks a bunch for your help. This worked !
may i ask you did you use spi?
and spi works well?
I have not yet used SPI on the Jetson Nano. The only interfaces on the 40-pin header that I have used on the Nano are a few GPIOs and a couple of PWMs for DC motor driving. They seem to be working fine. I have also successfully tested some USB to serial devices and USB as well as CSI cameras.