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.

DS90UB947-Q1: Flicker issue with 940N

Part Number: DS90UB947-Q1

Hi team

My customer has encountered an issue that when they do ESD test, they found there is a flicker issue on the screen which affect the judgment of ESD experiment because this will mislead us to judge whether the flicker is related to ESD or related to the 947-940N working issue. The connection is SoC-947-940N-screen.

Issue description: Customer is using 947 pattern generation to do the ESD test, the screen will switch every two seconds with different pattern option, see the video below. You can see obvious flicker screen at the moment of switching.

1. Test results:

Condition 1. Use 947 test patgen the screen will flicker when switching between blue and color bar;
Condition 2. Use 947 test patgen the screen will flicker when switching between blue and red;
Condition 3. Use SoC video source rather than 947 test patgen, the screen will not flicker when switching the content;

2. Here I collected customer's phenomenon and 947 side configuration, please kindly to check whether the timing has problem;

#!/bin/sh

#reset
/bin/camera/ccidbgr /dev/cci0 0xc write 0x01 0x03

#mode
#/bin/camera/ccidbgr /dev/cci0 0xc write 0x4F 0x00
#/bin/camera/ccidbgr /dev/cci0 0xc write 0x5B 0x22

#1280*720
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x03
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x03

#active 1280*720
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x07
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x00
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x08
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x05
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x09
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x2D
#total 1360*750
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x04
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x50
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x05
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0xE5
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x06
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x2E
#back porch 66/28
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x0C
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x42
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x0D
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x1C
#width 14/2
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x0A
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x0E
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x0B
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x02
#polarities
/bin/camera/ccidbgr /dev/cci0 0xc write 0x66 0x0E
/bin/camera/ccidbgr /dev/cci0 0xc write 0x67 0x00

/bin/camera/ccidbgr /dev/cci0 0xc write 0x65 0x04
/bin/camera/ccidbgr /dev/cci0 0xc write 0x64 0x15

#enable i2s
/bin/camera/ccidbgr /dev/cci0 0xc write 0x12 0x12

sleep 1
export LIBIMG_CFGFILE=/proc/boot/img_splash.conf
ssplash -f /proc/boot/logo.jpg -d 0 &
/bin/camera/qcarcam_test/qcarcam_test -config=/bin/camera/qcarcam_test/camera_display_in.xml &

sleep 2
while [ 1 ]
do
	/bin/camera/ccidbgr /dev/cci0 0xc write 0x64 0x51
	sleep 2
	/bin/camera/ccidbgr /dev/cci0 0xc write 0x64 0x15
	sleep 2
done

3. Could you please analyze it and kindly provide us the 940N pattern generation script so that we could do a compare test that when we use 940N patgen whether the screen will flicker at switching moment, thank you.

  • Zirui,

    I believe this can be explained quite easily. When switching the pattern within 947, the act of changing which pattern is displayed is not synchronized with the vertical refresh rate while switching the pattern from the SoC side most likely is. So the reason you a seeing a small flicker when switching the pattern is probably more related to the content of the video switching mid-way through the video frame when you write the register and the timing is random compared to when in the video frame the command is issued. 

    You can use the same PATGEN settings on the 940N side to generate a pattern, but the frequency may need to be adjusted slightly based on this app note: https://www.ti.com/lit/an/snla132g/snla132g.pdf?ts=1639065766154 

    I'm not sure I understand why the customer is trying to switch the pattern like this during the test anyways. I would suggest to use the pattern from the SoC side to avoid confusion 

    Best Regards,

    Casey 

  • Thanks Casey,

    why the customer is trying to switch the pattern like this during the test anyways.

    It is a requirement from car OEM ESD test plan so customer need to use 947 patgen switching every 2 seconds with ESD test. A thing I am not quite understand that why from SoC side to output the pattern there will be no conflict on switching pattern and writing register? In another way to say that, 

    If we use SoC to switch similar patterns every two seconds, will there be no conflicts during register writing and switching pattern and why?

  • Hello Zirui,

    I don't really know what you are saying here. If the SoC switches the video content to the 947, there is no conflict with register reading/writing and that has nothing to do with PATGEN from the FPD-Link devices 

    Best Regards,

    Casey