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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
2,308 Views
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)?

Tags (3)
0 Kudos
Reply
1 Solution
2,278 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
2,279 Views
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 Kudos
Reply
2,256 Views
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 Kudos
Reply
2,254 Views
lsrbigfoot
Contributor IV

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

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1866522%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERT1170%20EVKB%3A%20PXP%2C%20(eLCDIF%2FLCDIFv2)%2C%20and%20emWin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1866522%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAfter%20looking%20at%20a%20few%20PXP%20driver%20examples%20(namely%20pxp_lcdif_handshake)%2C%20it%20appears%20that%20PXP%20is%20utilized%20with%20eLCDIF.%3C%2FP%3E%3CP%3EUltimately%2C%20I%20am%20looking%20to%20offload%2Freduce%2Foptimize%20the%20execution%20times%20for%20the%20below%20emWin%20call%20structure%20(like%20emwin_gui_demo%20project)%20used%20to%20drive%20the%20multicolor%20display.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%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%3EDepending%20on%20the%20graphics%20operations%20being%20performed%2C%20I%20have%20measured%20%26gt%3B20%20msec%20execution%20times%20which%20is%20quite%20significant.%3C%2FP%3E%3CP%3ECan%20PXP%20be%20used%20with%20LCDIFv2%3F%20If%20yes%2C%20then%20how%3F%3C%2FP%3E%3CP%3ECan%20PXP%20be%20used%20with%20emWin%20multi-buffering%3F%3C%2FP%3E%3CP%3ETo%20what%20degree%20can%20PXP%20help%26nbsp%3Boffload%2Freduce%2Foptimize%20the%20execution%20times%20for%20the%20above%20calls%3F%20What%20other%20options%20do%20I%20have%20(other%20than%20GPU2D%2FVGLite)%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1868228%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20RT1170%20EVKB%3A%20PXP%2C%20(eLCDIF%2FLCDIFv2)%2C%20and%20emWin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1868228%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E...never%20mind.%20I%20found%20it%20in%20the%20Application%20Code%20Hub.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1868225%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20RT1170%20EVKB%3A%20PXP%2C%20(eLCDIF%2FLCDIFv2)%2C%20and%20emWin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1868225%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EThank%20you%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203261%22%20target%3D%22_blank%22%3E%40Gavin_Jia%3C%2FA%3E%26nbsp%3B%3CSPAN%3Efor%20response.%3CBR%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EWhere%20can%20I%20find%20and%20download%20the%20project%20source%20for%20'Map_PXP_SingleTask'%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20zip%20file%20for%20AN13075SW%20is%20currently%20corrupted.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20also%20viewed%20several%26nbsp%3BSDK_2_XX_Y_MIMXRT1170-EVK(B)%20packages%20for%20'vglite_examples'%20subfolder%20but%20could%20not%20find%20the%20Map_PXP_SingleTask%20project.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1867907%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20RT1170%20EVKB%3A%20PXP%2C%20(eLCDIF%2FLCDIFv2)%2C%20and%20emWin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1867907%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13847%22%20target%3D%22_blank%22%3E%40lsrbigfoot%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20interest%20in%20NXP%20MIMXRT%20series!%3C%2FP%3E%0A%3CP%3E1.%20Yes%2C%20it%20is%20supported.%20You%20can%20refer%20to%20this%20AN%3A%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13075.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13075.pdf%3C%2FA%3E%3CBR%20%2F%3EChapter%205.3%26nbsp%3B%20VGLite%20%2BPXP%20%2B%20LCDIF%20implementation%3C%2FP%3E%0A%3CP%3E2.%20There%20is%20no%20clear%20information%20about%20this%20from%20my%20side%20at%20the%20moment.%3C%2FP%3E%0A%3CP%3E3.%26nbsp%3BPXP%20display%20performance%3A%20~3us%20%40%208%20x%208%20pixel%3B%20~6243us%20%40%20480%20x%20272%20pixel.%20For%20other%20optimization%20methods%2C%20consider%20the%20choice%20of%20DMA%2C%20code%20optimization%20level%2C%20and%20code%20execution%20space.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EGavin%3C%2FP%3E%3C%2FLINGO-BODY%3E