2024-07-17 9:39 PM - last edited on 2024-07-17 10:53 PM by Peter BENSCH
Hello,
I have STM32MP135F-DK board and raspberry pi camera module v2.1 but board does not see camera
I guess I have to modify stm32mp135f-dk.dtb file.
But how should I write settings like OV5640 or GC2145 in dtb file
like that
2024-12-17 4:04 AM
Hi @kagan_senkeser
It may be worth considering the STM32MP257F-EV1 or STM32MP257F-DK (due to be available in January 2025) development boards for the STM32MP257 microprocessor - the STM32MP257 has a built-in MIPI CSI-2 interface whereas connection to a MIPI CSI-2 camera from the STM32MP135 was via an external chip.
The Raspberry Pi Camera Module v3 has a significantly newer senor than v2.1 and may also be well worth trying.
Will
2025-02-24 6:45 AM
We have the setup that you mentioned ( STM32MP257F-EV1 + raspberry camera module v2.1), and although it has the same MIPI CSI-2 interface, the camera is not recognized in the board, using the basic example. We assume that it has the same connector, but it's not a direct replacement for the "b-cams-imx". There are some questions on the forum about the compatibility but no answers. Is it possible to use the eval board with the rasp camera ?
Best regards,
2025-02-24 9:01 AM
Hi,
HW wise, you should have corresponding supplies and signalling, as well as I2C. I think it is matter of some simple adapter (if needed).
I'm not Sw expert, but I guess you should define the right sensor in the device tree in order to use the right driver.
see some example:
https://wiki.st.com/stm32mpu/wiki/Camera_sensors_hardware_components
Seems Rpi camera V2 is Sony IMX219 while v3 is Sony IMX708
I have found the IMX219, so this one is maybe the easiest one.
Regards.