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?
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