Hello,
I'm trying to rotate an image on the screen 180 degrees (no mirroring) using hardware. The AM572x Technical Reference Manual says this is supported, but there is not enough information to actually enable image rotation.
Section 11.2.4.7 DISPC Rotation and Mirroring shows a 90 degree rotation but not the initialization steps. It includes a description of a 33 bit PBA rotation value but not where or how to set that value.
Tables 11-93, 11-94, & 11-95 list rotation values and supported formats but not how to use that information.
My graphics currently uses xRGB24-8888. The code I'm using is based on pdk_am57xx_1_0_15/packages/ti/drv//vps/examples/dss/displayDssBareMetal. It's bare code - the only code running, so nothing else is changing GPU settings. (No driver, kernel, etc) I need to know what to add / change to enable rotation.
I've tried the obvious of setting the ROTATION flag in the DISPC_*_ATTRIBUTES registers. I've searched the entire TRM for all occurrences of the word TILED, TILER, and also ROTAT. I've also searched for examples in the code supplied in the PDK but can't find anything.
The TRM has a lot of little pieces of information but doesn't have the overall description / initialization sequence. Is it available in an updated TRM or in another document?
Thanks,
Scott