RT1064 / ThreadX / GUIX Screen Rotate 180 degrees

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RT1064 / ThreadX / GUIX Screen Rotate 180 degrees

374 次查看
mike_maas
Contributor I

Hello i.MX RT Community,

We are evaluating the capabilities of the RT1064 for a new product against some other solutions.  Due to mechanical construction constraints, we have to rotate the output of the GUI on the LCD by 180 degrees.  I see posts in this area without any positive conclusions.  We have tried everything that has been posted thus far with no success.

We successfully built and ran the GUIX "guix_washing_machine" example project with the RT1064 EVK and RK043FN66HS-CTG display kits.  We are using the gx_display_driver_imxrt10xx_565rgb driver. 

Here are our debug definitions:

DEBUG
XIP_EXTERNAL_FLASH=1
XIP_BOOT_HEADER_ENABLE=1
CPU_MIMXRT1064DVL6A
GUIX_PXP_ENABLE
SDK_DEBUGCONSOLE_UART
PRINTF_FLOAT_ENABLE=1
SCANF_FLOAT_ENABLE=1
PRINTF_ADVANCED_ENABLE=1
SCANF_ADVANCED_ENABLE=0
SERIAL_PORT_TYPE_UART=1
DATA_SECTION_IS_CACHEABLE=1
MCUXPRESSO_SDK
GX_INCLUDE_USER_DEFINE_FILE
SDK_I2C_BASED_COMPONENT_USED=1
TX_INCLUDE_USER_DEFINE_FILE
FSL_RTOS_THREADX

Can someone please highlight the area(s) within the stock demo project that need to be changed to get the screen rotated by 180 degrees?  Taking the OOB example and getting it to rotate is all we need.

Cordially, 

Mike

 

0 项奖励
回复
1 回复

310 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @mike_maas,

You need to use the routine "PXP_SetRotateConfig()" from "fsl_pxp.h" to rotate your screen 180 degrees. Try enabling this function after every call of "PXP_Init(PXP)" in your application to rotate once the PXP has been initialized.

BR,
Edwin.

0 项奖励
回复