Skip to main content
Associate III
October 9, 2025
Solved

DCMIPP interface in STM32N6570-DK board .ioc file in stm32CubeMX

  • October 9, 2025
  • 2 replies
  • 946 views

Hi everyone, 
 can anyone provide total DCMIPP camera interface STM32CubeMX    .ioc file therefore I can create a project and My applications. Please help me to implement the B-CAMS-IMX camera.
I also try with BSP drivers that are available in STM32N6570_discovery_bus.c and .h , STM32N6570_discovery.c and .h file but in IMX335.c file I am unable to read device ID properly.

So, please provide proper DCMIPP camera interface STM32CubeMX .ioc 

Thankyou.

2 replies

ST Employee
October 13, 2025

Hello,

There are already applications that interface with the B-CAMS-IMX camera. Have you tried them?

STM32CubeN6/Projects/STM32N6570-DK/Applications/DCMIPP at main · STMicroelectronics/STM32CubeN6

Best Regards

Associate III
October 13, 2025

Thank you for responding,

 I have tried with them but there is no .ioc file to add another peripherals and also I enabled DCMIPP drivers and LTDC drivers from STM32CubeMX but it is not working. So, please if any .ioc of cubemx or any document to enable camera provide here. It will very helpful to me.

 

Technical Moderator
October 13, 2025

Hello,

Could you please refer to this Application Note: https://www.st.com/resource/en/application_note/an5020-digital-camera-interface-dcmi-on-stm32-mcus-stmicroelectronics.pdf , where you can find a dedicated section 8.3 DCMI examples based on STM32CubeMX which describes STM32CubeMX settings for DCMI.

This should help you to create your project.

 

Regards,

Aimen

In order 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.
ST Employee
October 22, 2025

 

Hello,

The sensor must be properly configured via I2C to correctly read the ID before starting acquisition with the DCMIPP.

The IMX335 driver, which is part of the STM32Cube BSP component can be found here:

STMicroelectronics/stm32-imx335: Provides the IMX335 driver, part of the STM32Cube BSP Component for all STM32xx series

Next, follow the initialization sequence in one of DCMIPP applications that calls IMX335_Probe function: here STM32CubeN6/Projects/STM32N6570-DK/Applications/DCMIPP/DCMIPP_ContinuousMode/FSBL/Src/main.c at main · STMicroelectronics/STM32CubeN6

Associate III
October 23, 2025

Thank you for replay,
I have to implement the DCMIPP interface without using the BSP drivers. I am only using IMX335_reg.c,imx335_reg.h and imx335.c , imx335.h files and I am enabled DCMIPP interface in STM32CubeMX in CSI mode but when I enabling CSI it showing warning: This peripheral has no parameters to be configured.

I have attached the .ioc file of CSI interface. Is it possible to do without using BSP drivers. help me to complete the DCMIPP interface in STM32N6570-DK board. Thank you.

csi_warning.png

Associate III
October 23, 2025

I am also attaching the DCMIPP configuration below please go through it and help me to proper configurations od DCMIPP interface in ioc file. Thank you.