If UART buad rate < Data rate from camera,there will be data losses, but Is it a problem if UART baud rate >data rate from camera?
I have an OV7670 interfaced to a nucleo board.
Frame rate=10fps
Image format= qcif(174X144) ; YUV422(monochrome only)
Pixel clock =8Mhz
Successive bytes of a row(Line) ,arrive at the rate of 8M bytes/sec, which is too high to directly transfer the incoming bytes to UART.
So, i first store the frame in a buffer(174x144=26kB) in SRAM. Since each frame will remain in the buffer for 0.1seconds (10fps) before another frame starts to occupy the buffer, the UART baud must be such that the entire frame can be transmitted in less than 0.1seconds.
For a 3Mbps baud, it will approx take 0.083 seconds for frame transmission. so there wont be any data losses, but is there is a chance that a stale data is sent over UART any time during the frame transmission?