We are having with a touchscreen LCD that we are designing.
We are attempting to set up the screen (Newhaven Display P/N: NHD-3.5-320240MF-ATXL#-CTP-1) on a Kinetis K70 board (Freescale P/N: MK70FN1M0VMJ15). We designed the screens in PEG Windowbuilder and PEG Pro. Our compiler is GCC, and our RTOS is MQX 4.2.
Our touch screen is rotated 180° from the orientation that we need it at. We are able to rotate the screen to 90° and 270°, but not 180° without causing the screen to mirror and display the images backwards (by enabling the reverse vertical scan bit in the LPCR control register). Due to the geometry of the housing, we cannot simply flip the screen and use it as-is, so our only option is to get the orientation correct.
We would greatly appreciate any insight into how this issue is happening, or how to correct it.