Hi,
I'd like to use uPP to interface to a CMOS sensor, the basic logic is simple and it should work in theory(haven't test it yet), have two questions to be answered:
1, the START signal, in sprufw4 it's said it can be disabled, that means I can choose not to use it, but as it's the indication of start of a line, if I disable it, how should I know where a new line has started? In my case the clock is free-running, I have HREF signal that can be used as ENABLE signal, this is my understanding: with HREF as ENABLE, the 1st byte received after uPP initialization is the 1st byte of 1st line, with Byte count of bytes received, the next valid byte will be the 1st byte of the 2nd line, and so on, until the Byte count x Line count bytes have been received, a full frame(Window) receiving has been finished. Is it correct? Some extra logic are needed to generate START signel from the CMOS sensor output signal.
2, still in sprufw4 on page 13, it's said that The internal DMA controller always writes data in bursts of 64 bytes. If my Byte count is not a multiply of 64 bytes, does it mean the last few bytes if a line won't be written to memory until some more bytes are read from the following line? So to make the full window receiving successful, the byte count of a window must be a multiply of 64?
thanks,
clliu