2026-01-14 7:03 AM
Hello! I'm just getting started with an STM32MP257F-DK and B-CAMS-IMX module. I've followed the instructions for connecting the B-CAMS-IMX and have populated SD cards for booting with both optee and extensible layouts, but I am having an issue getting the camera module up and going.
Instructions in the Wiki made it seem like this module is supported out of the box, but I am getting "imx335 0-001a: failed to find sensor: -6" at boot with both SD card images. Looking at the stm32mp257f-dk dts, it seems that the other components of the B-CAMS-IMX (ToF and IMU) are not defined as well.
Am I missing something? Do I need to create a custom dts to bring up this module? Thanks for any help.
Solved! Go to Solution.
2026-01-14 11:35 AM - edited 2026-01-14 11:49 AM
Thanks. I think I figured out the issue. One of the included hex standoffs was shorting out a capacitor (C16) on the B-CAMS-IMX board when the mounting hole near it was used, shorting the 1.2V supply causing the module to not be powered and detectable on the I2C bus. May be worth investigating the spacing for a future revision to the module.
2026-01-14 7:41 AM
Hi ,
I confirm the B-CAMS-IMX (MB1854B) is supported natively with the Starter Package on the STM32MP257F-DK board.
Did you connect the flex in correct orientation (blue side orientation)?
You should carefully 'unlock' 'insert' 'lock' the connectors as described in https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-DK/Let%27s_start/Unpack_the_STM32MP257x-DK_board#Connecting_the_MB1854_camera_board_to_the_board_-28optional-29 .
Regards.
2026-01-14 11:35 AM - edited 2026-01-14 11:49 AM
Thanks. I think I figured out the issue. One of the included hex standoffs was shorting out a capacitor (C16) on the B-CAMS-IMX board when the mounting hole near it was used, shorting the 1.2V supply causing the module to not be powered and detectable on the I2C bus. May be worth investigating the spacing for a future revision to the module.