imxrt1062 pxp rotation with non screen sized buffer

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

imxrt1062 pxp rotation with non screen sized buffer

569 Views
david-res
Contributor II

I am using a Teensy 4.1 that has an IMXRT1062 chip, and currently driving an ILI9488 via 8 bit 8080 bus (FlexIO + DMA).
I want to rotate a 480x320*2byte image to 320*480*2bytes (90 degree rotation) but I don't have enough ram onboard for two screen sized buffers.
I was wondering if it's possible to use the PXP to do the rotation, having one 480*320 buffer as the PS buffer, and two smaller 320*48 buffers that the image is rotated into:
While the image rotates into one smaller buffer, the data is transferred out of the other small buffer via the FlexIO/DMA.

Can this be accomplished using just the PXP without the LCDIF? Or does the output buffer have to be as big as the PS buffer?

0 Kudos
Reply
1 Reply

548 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @david-res ,

I think this is possible. Here is a rectangle rotate example. s_psBufferPxp in and s_BufferLcd out. Then send data to flexio/DMA.

 

Regards,

Jing

0 Kudos
Reply