The rectangular image header is built from registers: CXP_IMG_XSIZE, CXP_IMG_XOFFS,
CXP_IMG_YSIZE, CXP_IMG_YOFFS, CXP_IMG_BPP, CXP_RECT_PIXELF,
CXP_RECT_TAPG and CXP_RECT_FLAGS. They reset to the core’s defaults (3840 x 2160,
8 bits per pixel, BayerRG8) and are taken when firmware starts the stream:
- ConfigureWrite the image registers,
PIXEL_TYPEandCXP_STREAM_PCKT_MAXwith the packet size agreed with the Host. - Stream onWrite
STREAM_STATUSbit 0. The stream path takes the image registers and confirms; STREAM_ON fires andCXP_STATUS.HS_STREAM_ACTIVErises. - Stream offWrite
STREAM_STATUSbit 1. The frame in flight is finished, then STREAM_OFF fires.
If the stream path does not confirm an on or off request within ACK_TIMEOUT,
CXP_TIMEOUTS records it and ACK_ERR fires. The same applies to test packets on and off.