2023-06-21 01:26 AM
Hi, I try to encode a VGA image RGB565 from camera using STM32H7B3 with 32 bit external RAM running at 125MHz. the CPU runs on 272MHz. for un known reason the hardware encoding process take 50ms for one frame. i only talk about the hardware encoder and not on the software conversion from RGB to YCbCr blocks. this is too much compared to the result on AN4996 which mention it should take only 4 ms.
with compiler optimization the time drop to 35ms but even without compiler optimization and since the process done in hardware the result should be around 6ms.
i use encoding in polling and interrupt as well with same result