ZHCSQG6A March 2022 – May 2022 LP5891
PRODUCTION DATA
请参考 PDF 数据表获取器件具体的封装图。
The LP5891 has an algorithm to distribute the blank time into each sub-period to prevent the black field when taking photos or video.
From Equation 3, 83.1-MHz GCLK frequency and 1.44-us line switch time, the calculated blank time is 1.0361 ms ( 86100 GCLK ), which is too long and brings black field.
Here are detailed steps of the algorithm.
Step 1: Distribute blank time into each segment
When the blank GCLK number is larger than Nsub_period × Nscan_line, it can be distributed into each segment.
In this application, the blank GCLK number is 86100, and Nsub_period × Nscan_line is 960, so the distributed GCLK number in each segment is 86100/960 = 89...660. These 89 GCLKs can be used to increase PWM length or extend line switch time. If used to increase PWM length, the GCLK number in each segment will be 512 + 89 = 601, so the SEG_LENGTH ( Bit9-0 in FC1 register) is 1001011001b.
Step 2: Distribute blank time into each sub-period
If the left GCLK number is larger than Nsub_period, it can be distributed into each sub-period.
In this application, the left GCLK is 660, the distributed GCLK number in each sub-period is 660/32=20. The BLK_ADJ (Bit46-41 in FC1 register) is 010100b.
After distributing into each sub-period, the left GCLK number is 0.