Skip to main content
Associate
Nov 20, 2026 3:43 PM UTC
Question

VD55G1 Power Consumtion in I3C Stream Mode

We are working on a miniature Low Power AprilTag / Barcode Reader with the VD55G1 and STM32U3C5.

For Development we build an EVAL-Board (CAM-5G1-079CLR + STM32U3 + DC/DC) where we can measure the Current Consumption on VCORE, VANA and VDDIO.

We ported the STSW-IMG506-H5 to the U3 and modified the while-loop in “display_qvga_streaming_i3c”

platform_set_gpio_state(streaming_led, PLATFORM_GPIO_STATE_TOGGLE);

while (1) {
platform_acknowledge_event(PLATFORM_GPIO_IT_EVT);
ret = platform_wait_for_event(PLATFORM_GPIO_IT_EVT, 2000);
if (ret) {
handle_error(p_dev);
}

platform_acknowledge_event(PLATFORM_GPIO_IT_EVT);
platform_disable_event(PLATFORM_GPIO_IT_EVT);

ret = vd55g1_i3c_read_async(p_dev, 0x2000, p_line, width);
if (ret) {
handle_error(p_dev);
}

ret = platform_wait_for_event(PLATFORM_I3C_DMA_RX_EVT, 100);
if (ret) {
handle_error(p_dev);
}

platform_acknowledge_event(PLATFORM_I3C_DMA_RX_EVT);
platform_acknowledge_event(PLATFORM_GPIO_IT_EVT);
platform_enable_event(PLATFORM_GPIO_IT_EVT);
linecounter++;
p_line += width;

if (linecounter >= height) {
vd55g1_stop_stream(p_dev);
stop_ms = HAL_GetTick();
printf("Image Stream %4lu ms\n", stop_ms - start_ms);
image_u8_t im = { .width = width, .height = height, .stride = width, .buf = p_frame};
apriltag_detect (&im);
// platform_display_image(p_frame, 0, 0, width, height);
vd55g1_start_stream(p_dev);
start_ms = HAL_GetTick();
platform_set_gpio_state(frame_led, PLATFORM_GPIO_STATE_TOGGLE);
framecounter++;
linecounter = 0;
p_line = p_frame;
}
}

At 200px X 175px everything is working fine put I have two Question's:

  1. is it possible to speed up the “vd55g1_stop_stream” It needs about 34ms and 13.5mA @ VCORE and 3.2mA @ VANA
  2. The power consum. in I3C Streaming is higher then expected (34 mW vs. 20 mW) - How can we reduce the Power ?