Skip to content

Arduino Nicla Vision (STM32H747) bug with video capture sample #92712

Open
@josuah

Description

@josuah

Describe the bug

Arduino Nicla Vision does not work anymore with the capture sample.

  • The commit that introduced it 2aa7cb5 works.
  • Some others do not.
  • aa4a878 (main) does not.

I will git bissect it when I get a chance.

Regression

  • This is a regression.

Steps to reproduce

west build -b arduino_nicla_vision/stm32h747xx/m7 samples/drivers/video/capture && west flash

Relevant log output

On 2aa7cb5 (original introduction):

*** Booting Zephyr OS build v3.7.0-3199-g2aa7cb5a7c6f ***
Video device: dcmi@48020000
- Capabilities:
  RGBP width [320; 320; 0] height [240; 240; 0]
  RGBP width [640; 640; 0] height [480; 480; 0]
  RGBP width [1600; 1600; 0] height [1200; 1200; 0]
- Default format: RGBP 320x240
Capture started
[00:00:00.519,000] <inf> usb_cdc_acm: Device suspended
Got frame 0! size: 153600; timestamp 946 ms
[00:00:00.993,000] <inf> usb_cdc_acm: Device configured
Got frame 114! size: 153600; timestamp 7554 ms
Got frame 115! size: 153600; timestamp 7611 ms
Got frame 116! size: 153600; timestamp 7669 ms

On aa4a878 (main)

[00:00:00.000,000] <inf> camera_ext_clock: Camera external clock rate: (10000000) Hz
*** Booting Zephyr OS build v4.2.0-rc1-193-gaa4a8789d532 ***
[00:00:00.512,000] <inf> main: Video device: dcmi@48020000
[00:00:00.512,000] <inf> main: - Capabilities:
[00:00:00.512,000] <inf> main:   RGBP width [320; 320; 0] height [240; 240; 0]
[00:00:00.512,000] <inf> main:   RGBP width [640; 640; 0] height [480; 480; 0]
[00:00:00.512,000] <inf> main:   RGBP width [1600; 1600; 0] height [1200; 1200; 0]
[00:00:00.512,000] <inf> main:   YUYV width [320; 320; 0] height [240; 240; 0]
[00:00:00.512,000] <inf> main:   YUYV width [640; 640; 0] height [480; 480; 0]
[00:00:00.512,000] <inf> main:   YUYV width [1600; 1600; 0] height [1200; 1200; 0]
[00:00:00.574,000] <inf> video_ctrls:              20: 3814697265625
[00:00:00.574,000] <inf> video_ctrls:              21: 19073486328125
[00:00:00.574,000] <inf> video_ctrls:              22: 95367431640625
[00:00:00.574,000] <inf> video_ctrls:              23: 476837158203125
[00:00:00.574,000] <inf> video_ctrls:              24: 2384185791015625
[00:00:00.574,000] <inf> video_ctrls:              25: 11920928955078125
[00:00:00.574,000] <inf> video_ctrls:              26: 59604644775390625
[00:00:00.574,000] <inf> video_ctrls:              27: 298023223876953125
uart:~$

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

  • Debian 13
  • Zephyr SDK 0.17.0
  • aa4a878

Additional Context

Discovered on a discussion going on this PR:

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions