cancel
Showing results for 
Search instead for 
Did you mean: 

Getting started with STM32MP257F-DK OpenSTLinux Starter kit and B-CAMS-IMX

dwag
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
dwag
Associate II

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.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

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.

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.
NEW ! Sidekick STM32 AI agent, see here
dwag
Associate II

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.