2024-12-21 11:01 AM - last edited on 2024-12-23 01:13 AM by SofLit
I ordered https://www.st.com/en/evaluation-tools/nucleo-n657x0-q.html and it mentions Camera module FPC.
But I cannot find any information on which protocol it uses for this camera connection. For example, can I use https://www.st.com/en/evaluation-tools/steval-56g3mai.html#overview with the MIPI-CSI2 protocol?
Where could I find more information about the supported camera's for the STM32N6 evaluation board?
Solved! Go to Solution.
2024-12-27 08:53 AM
Hello @milanvdm
You can find the information about the MIPI-CSI2 interface of the STM32N6 in the RM0486 Rev1.0 in chapter 40 CSI-2 Host (CSI).
It is planned, soon to provide a list of camera sensors that will be compatible with the STM32N6. I do not know the official date yet.
I can suggest you to start with the B-CAMS-IMX module that is delivered with the STM32N6570-DK.
https://www.st.com/en/evaluation-tools/b-cams-imx.html?ecmp=tt9470_gl_link_feb2019&rt=db&id=DB5351#sample-buy
The sensor is a Sony CMOS RGB 5-MPx and it is directly compatible with the 22-pin FFC connector of the Nucleo-N657X0-Q board.
You can re-use the BSP drivers of STM32N6570-DK that are located in:
STM32Cube_FW_N6_V1.0.0\Drivers\BSP\STM32N6570-DK\stm32n6570_discovery_camera.h and stm32n6570_discovery_camera.c
They are based on the imx335 camera drivers that are included in STM32Cube_FW_N6_V1.0.0\Drivers\BSP\Components\imx335
Refer to the UM3300 Rev1.0 table 19. Camera module connector (CN14) pinout and the Nucleo connector CN6 schematic.
There are some changes to perform on the drivers to be made on the I2C instance and GPIOs, and also GPIOs for ToF, IMU and PWR, They are not the same between the two boards.
Let me know if it helps you?
Best regards,
Romain,
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.
2024-12-27 08:53 AM
Hello @milanvdm
You can find the information about the MIPI-CSI2 interface of the STM32N6 in the RM0486 Rev1.0 in chapter 40 CSI-2 Host (CSI).
It is planned, soon to provide a list of camera sensors that will be compatible with the STM32N6. I do not know the official date yet.
I can suggest you to start with the B-CAMS-IMX module that is delivered with the STM32N6570-DK.
https://www.st.com/en/evaluation-tools/b-cams-imx.html?ecmp=tt9470_gl_link_feb2019&rt=db&id=DB5351#sample-buy
The sensor is a Sony CMOS RGB 5-MPx and it is directly compatible with the 22-pin FFC connector of the Nucleo-N657X0-Q board.
You can re-use the BSP drivers of STM32N6570-DK that are located in:
STM32Cube_FW_N6_V1.0.0\Drivers\BSP\STM32N6570-DK\stm32n6570_discovery_camera.h and stm32n6570_discovery_camera.c
They are based on the imx335 camera drivers that are included in STM32Cube_FW_N6_V1.0.0\Drivers\BSP\Components\imx335
Refer to the UM3300 Rev1.0 table 19. Camera module connector (CN14) pinout and the Nucleo connector CN6 schematic.
There are some changes to perform on the drivers to be made on the I2C instance and GPIOs, and also GPIOs for ToF, IMU and PWR, They are not the same between the two boards.
Let me know if it helps you?
Best regards,
Romain,
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.
2025-01-23 04:16 AM
Hello Romain,
We were trying to interface the below image sensor(monochrome only) kit with STM32N6.
https://www.st.com/en/evaluation-tools/steval-56g3mai.html
STEVAL-56G3MAI is looks like intended to designed for Raspberry pi compatibility, unfortunately Raspberry pi V5 schematic not added in their official portal to check the FFC pinout details.
N6 22 pin FFC
My queries are, The STM32N6 Nucleo camera interface(22PIN FFC connector) is compatible with STEVAL-56G3MAI?
looks like the MIPI data and clock polarity(P&N) are interchanged, may be intended design for raspberry pi.
Is there a way that we can interface STEVAL-56G3MAI with N6? or we must design our own camera modules PCB to make compatible with N6?
2025-01-23 05:48 AM
Hello @Madhu_S
I fear that the J2 connector in the schematic of STEVAL-56G3MAI shows differences in connection at the polarity level of the CSI DxP and Dx_N signals. What is strange is that it also does not correspond to the official Raspberry pinout.
https://www.arducam.com/raspberry-pi-camera-pinout/
I cannot answer you, if you try to connect as is, you will surely damage your boards.
Maybe you can try asking the question in the following forum.
https://community.st.com/t5/imaging-sensors/bd-p/imaging-sensors-forum
Best regards,
Romain,
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.
2025-01-23 09:58 PM
Thanks @RomainR.
For the suggestions, Appreciate the immediate response.
Regards,
Madhu