cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743 Example Issue MDMA Repeat Block Rotation Example

MSale.1
Senior

In this example its mentioned that it can rotate RGB565 image by 90 degree using MDMA. i cant find the code for 90 degree rotation so its not possible or what exactly??

@Imen DAHMEN​ 

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @Community member​ ,

You are right, the rotation value is 180° (not 90°).

Indeed, the 90 deg transformation is not a supported feature by the MDMA. 

So, the readme file will be updated to correct the rotation value from 90° to 180° of the MDMA_RepeatBlock_Rotation application to reflect the behavior of the example.

(Internal ticket 107449: This is an internal tracking number and is not accessible or usable by customers)

Thanks for your contribution.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

4 REPLIES 4
Imen.D
ST Employee

Hello @Community member​ ,

You are right, the rotation value is 180° (not 90°).

Indeed, the 90 deg transformation is not a supported feature by the MDMA. 

So, the readme file will be updated to correct the rotation value from 90° to 180° of the MDMA_RepeatBlock_Rotation application to reflect the behavior of the example.

(Internal ticket 107449: This is an internal tracking number and is not accessible or usable by customers)

Thanks for your contribution.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

@Imen DAHMEN​ 

Ok, Can the MDMA combined with DMA2D rotate image 90 degree?

MDMA is not able to provide 90 deg rotation as it is a classic linear DMA (can not preform transformation).

The only 180 deg and mirror effect are possible with this linear MDMA (using multi block and address increment/decrement feature).

Hope this answer you question.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

@Imen DAHMEN​ 

If i used MDMA to decrement the destination address and then the Graphic engine DMA2D to transform lines into columns. will this work?