2025-07-30 11:24 AM
Hi,
Is it possible to get some sort of frame timestamp from the evaluation boards? Ideally, I would love to have start and end of exposure timestamps but any timestamp from the sensor would be great. I could timestamp when I receive the frame on my device, but that might not be accurate enough for my application since it would also include other delays from my computer. Inaccuracies in the 10s of microseconds range are acceptable.
Thanks.
2025-07-30 8:18 PM
This is really an STM32 question. And that sensor does have a way to convert clock cycles to milliseconds.
I did post long ago on how to do it, but when I retired I kind of lost all my example code.
Do a bit of Googling and look for STM32HAL_GetTick()
That should get you to some code that does what you want.
- john (ST 'graduate' of the Imaging Group - and proudly so.)
2025-07-30 11:04 PM
Hello @oaa3wf,
The evaluation board itself did not measure the exact timing of exposure envelop. But there's "STROBE" signal from GPIO config register you may use to monitor the exposure from your host.
You may use a STM32 to capture this signal by a GPIO interrupt and get the timestamp from ISR (like the `STM32HAL_GetTick()` mentioned by John)