2026-01-19 5:35 PM
I'm using STM32N6570-DK board and developing an image processing application.
When I tried to use STM32CubeMX to generate the project, I was able to set DCMIPP Pipe1 just like the attached screen capture.
I would like to downsize the source image data to 800x480, but I could not find the option field in the DCMIPP Configuration view in STM32CubeMX.
Is there something that I missed?
My STM32CubeMX is Version 6.16.1 for Windows 11.
Solved! Go to Solution.
2026-01-22 1:21 AM - edited 2026-01-22 1:23 AM
@JaeLee check the example code:
Basically you have to write DCMIPP initialization/configuration code yourself.
To understand the math behind ratio and division numbers, check N6 reference manual chapters:
39.14.71 DCMIPP Pipex downsize configuration register (DCMIPP_PxDSCR)
39.14.72 DCMIPP Pipex downsize ratio register (DCMIPP_PxDSRTIOR)
2026-01-19 9:52 PM
Hello @JaeLee
Let me thank you for posting.
I am currently checking this behavior and I will get back to you ASAP.
Thanks
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-22 12:42 AM
Hello @JaeLee ,
On STM32N657 devices, the DCMIPP peripheral does not support image scaling (downsize or upsize). DCMIPP is limited to image capture, pixel format conversion, but it does not include a hardware resizer.
For this reason, STM32CubeMX does not provide any configuration fields to set an output resolution such as 800×480 in the DCMIPP configuration view.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-22 1:21 AM - edited 2026-01-22 1:23 AM
@JaeLee check the example code:
Basically you have to write DCMIPP initialization/configuration code yourself.
To understand the math behind ratio and division numbers, check N6 reference manual chapters:
39.14.71 DCMIPP Pipex downsize configuration register (DCMIPP_PxDSCR)
39.14.72 DCMIPP Pipex downsize ratio register (DCMIPP_PxDSRTIOR)