cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 CSI Interface with Raspberry Pi Camera Module 2 NoIR

Linas L
Senior II

Hello,

Is there any chance ST could provide examples or guidance on interfacing a CSI (MIPI) camera with Raspberry Pi Camera Module 2 NoIR cameras?

From my initial research, it seems the CSI connector uses the same pin layout as Raspberry Pi cameras. However, available examples are quite limited, making it challenging to implement this on my own — especially compared to the simplicity of working with DCMI.

Any documentation, sample code, or community insights would be greatly appreciated!

Thank you.

LinasL_0-1739781451488.png

LinasL_1-1739781596267.png

With best regards,
Linas

3 REPLIES 3
mathiasmarkussen
ST Employee

Hello,

The N6 STM32Cube firmware ships with some examples for the N6 discovery kit that might be of interest.

If you have CubeMX 6.13 and have downloaded the firmware for N6 through there i would suggest looking at that. They can be found at:

C:\Users\<your_user>\STM32Cube\Repository\STM32Cube_FW_N6_V1.0.0\Projects\STM32N6570-DK\Applications\DCMIPP

There are two examples, one for continous view and one for snapshots.

Let me know if that is of any use :)

I will try to do that, but problem is I can't do any measurements on data signals, so everything needs to be made in blind. Also where are tons of registers that I need to get access ( to explanation of registers and also set everything correctly, so it would work with STM32N6) , and it is hard for individuals to get this information.

I would think this example would be quite useful for all STM32 community.

mathiasmarkussen
ST Employee

Hello,

If you can get a data sheet for the sensor on your camera, there may be values provided for the parameters set in the two example projects. you may also be able to figure out how it is configured and used in Linux and convert that to something that works in the example projects.

ST supplies a camera module with the STM32N6570-DK, I don't think there are plans to provide examples for other camera hardware at this time.