RT1170 EVKB: PXP, (eLCDIF/LCDIFv2), and emWin

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

RT1170 EVKB: PXP, (eLCDIF/LCDIFv2), and emWin

跳至解决方案
2,846 次查看
lsrbigfoot
Contributor IV

After looking at a few PXP driver examples (namely pxp_lcdif_handshake), it appears that PXP is utilized with eLCDIF.

Ultimately, I am looking to offload/reduce/optimize the execution times for the below emWin call structure (like emwin_gui_demo project) used to drive the multicolor display.

        if(condition)
        {
            GUI_MULTIBUF_Begin();
            GUI_Exec();
            GUI_MULTIBUF_End();
        }

Depending on the graphics operations being performed, I have measured >20 msec execution times which is quite significant.

Can PXP be used with LCDIFv2? If yes, then how?

Can PXP be used with emWin multi-buffering?

To what degree can PXP help offload/reduce/optimize the execution times for the above calls? What other options do I have (other than GPU2D/VGLite)?

标记 (3)
0 项奖励
回复
1 解答
2,816 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @lsrbigfoot ,

Thanks for your interest in NXP MIMXRT series!

1. Yes, it is supported. You can refer to this AN:https://www.nxp.com/docs/en/application-note/AN13075.pdf
Chapter 5.3  VGLite +PXP + LCDIF implementation

2. There is no clear information about this from my side at the moment.

3. PXP display performance: ~3us @ 8 x 8 pixel; ~6243us @ 480 x 272 pixel. For other optimization methods, consider the choice of DMA, code optimization level, and code execution space.

 

Best regards,
Gavin

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,817 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @lsrbigfoot ,

Thanks for your interest in NXP MIMXRT series!

1. Yes, it is supported. You can refer to this AN:https://www.nxp.com/docs/en/application-note/AN13075.pdf
Chapter 5.3  VGLite +PXP + LCDIF implementation

2. There is no clear information about this from my side at the moment.

3. PXP display performance: ~3us @ 8 x 8 pixel; ~6243us @ 480 x 272 pixel. For other optimization methods, consider the choice of DMA, code optimization level, and code execution space.

 

Best regards,
Gavin

0 项奖励
回复
2,794 次查看
lsrbigfoot
Contributor IV

Thank you @Gavin_Jia for response.

Where can I find and download the project source for 'Map_PXP_SingleTask'?

The zip file for AN13075SW is currently corrupted.

I also viewed several SDK_2_XX_Y_MIMXRT1170-EVK(B) packages for 'vglite_examples' subfolder but could not find the Map_PXP_SingleTask project.

0 项奖励
回复
2,792 次查看
lsrbigfoot
Contributor IV

...never mind. I found it in the Application Code Hub.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1866522%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERT1170%20EVKB%EF%BC%9APXP%E3%80%81(eLCDIF%2FLCDIFv2)%20%E5%92%8C%20emWin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1866522%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%9C%A8%E6%9F%A5%E7%9C%8B%E4%BA%86%E4%B8%80%E4%BA%9B%20PXP%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E7%A4%BA%E4%BE%8B%EF%BC%88%E5%8D%B3%20pxp_lcdif_handshake%EF%BC%89%E4%B9%8B%E5%90%8E%EF%BC%8C%E4%BC%BC%E4%B9%8E%20PXP%20%E4%B8%8E%20eLCDIF%20%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8%E3%80%82%3C%2FP%3E%3CP%3E%E6%9C%80%E7%BB%88%EF%BC%8C%E6%88%91%E5%B8%8C%E6%9C%9B%E5%8D%B8%E8%BD%BD%2F%E5%87%8F%E5%B0%91%2F%E4%BC%98%E5%8C%96%E7%94%A8%E4%BA%8E%E9%A9%B1%E5%8A%A8%E5%A4%9A%E8%89%B2%E6%98%BE%E7%A4%BA%E7%9A%84%E4%BB%A5%E4%B8%8B%20emWin%20%E8%B0%83%E7%94%A8%E7%BB%93%E6%9E%84%EF%BC%88%E5%A6%82%20emwin_gui_demo%20%E9%A1%B9%E7%9B%AE%EF%BC%89%E7%9A%84%E6%89%A7%E8%A1%8C%E6%97%B6%E9%97%B4%E3%80%82%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%20translate%3D%22no%22%3E%20%20%20%20%20%20%20%20if(condition)%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20GUI_MULTIBUF_Begin()%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20GUI_Exec()%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20GUI_MULTIBUF_End()%3B%0A%20%20%20%20%20%20%20%20%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E6%A0%B9%E6%8D%AE%E6%AD%A3%E5%9C%A8%E6%89%A7%E8%A1%8C%E7%9A%84%E5%9B%BE%E5%BD%A2%E6%93%8D%E4%BD%9C%EF%BC%8C%E6%88%91%E6%B5%8B%E9%87%8F%E4%BA%86%26gt%3B20%E6%AF%AB%E7%A7%92%E7%9A%84%E6%89%A7%E8%A1%8C%E6%97%B6%E9%97%B4%EF%BC%8C%E8%BF%99%E6%98%AF%E7%9B%B8%E5%BD%93%E9%87%8D%E8%A6%81%E7%9A%84%E3%80%82%3C%2FP%3E%3CP%3EPXP%20%E5%8F%AF%E4%BB%A5%E4%B8%8E%20LCDIFv2%20%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8%E5%90%97%EF%BC%9F%E5%A6%82%E6%9E%9C%E6%98%AF%E7%9A%84%E8%AF%9D%EF%BC%8C%E9%82%A3%E4%B9%88%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%3C%2FP%3E%3CP%3EPXP%20%E5%8F%AF%E4%BB%A5%E4%B8%8E%20emWin%20%E5%A4%9A%E7%BC%93%E5%86%B2%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8%E5%90%97%EF%BC%9F%3C%2FP%3E%3CP%3EPXP%20%E8%83%BD%E5%9C%A8%E5%A4%9A%E5%A4%A7%E7%A8%8B%E5%BA%A6%E4%B8%8A%E5%B8%AE%E5%8A%A9%E5%8D%B8%E8%BD%BD%2F%E5%87%8F%E5%B0%91%2F%E4%BC%98%E5%8C%96%E4%B8%8A%E8%BF%B0%E8%B0%83%E7%94%A8%E7%9A%84%E6%89%A7%E8%A1%8C%E6%97%B6%E9%97%B4%EF%BC%9F%E6%88%91%E8%BF%98%E6%9C%89%E4%BB%80%E4%B9%88%E5%85%B6%E4%BB%96%E9%80%89%E6%8B%A9%EF%BC%88%E9%99%A4%E4%BA%86%20GPU2D%2FVGLite%EF%BC%89%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E