This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB960-Q1: RX_FREQ_HIGH&LINE_COUNT register

Part Number: DS90UB960-Q1

Dear expert,

How to understand UB960 register RX_FREQ_HIGH/LOW 0x4f/0x50? My FPDlink rate is 4G. 0x4f register value is 0x64, 0x50 register value is  0. 0x6400=25600. How to match them?

And how to understand LINE_COUNT, LINE_LEN register? The display screen is 3840X2160. 0x73/0x74 register value is 0x889=2185. 0x75/76 register value is 0x12c0=4800. 0x94/0x95 register value is 0x2058=8280. How to understand them?

Great thanks

  • Hello Ryan,

    For the RX freq registers, they report the FPD-Link packet frequency. For 960 in CSI-2 mode (pair with 953) the FPD-Link frame format uses 40 bit frames and the data rate of the link is nominally 4Gbps. So 4Gbps/40 = 100MHz is the FPD-Link frame frequency. The RX_FREQ_HIGH/LOW registers report 0x64 for the integer portion of the frequency, and 0x00 for the decimal portion. So the link frequency is 0x64 = 100MHz when converted to decimal. 

    0x73/0x74 report the number of lines per video frame received by the SER connected to the RX port you are observing with 0x4C. So for this video you are receiving 2185 lines. 

    0x75/0x76 report the line length received in bytes. So to calculate the number of pixels per line you need to know the data type of the video you are receiving. For example, if you are using RGB888, the data type has 3 bytes per pixel, so for 3840 pixels it would report 3840*3 = 11520bytes = 0x2D00. So I'm not sure what data type you are using here but that's how you would make the calculation. 

    The 0x94/0x95 registers report the number of received lines in total that you have received from the camera since the register was last read. 

    Best Regards,

    Casey 

  • Great thanks, Casey