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.

DS90UB941AS-Q1: DSI input problems and patgen configuration

Part Number: DS90UB941AS-Q1


Hi,

In my design, the DS90UB941AS is connected with 1 DS90UB948 in port 0 and an other DS90UB948 in port 1.
I have 
configured the serializer in Independent 2:2 mode,
and using the Pattern Generator, I found the video init parameter (720p) usable for my video adapter (is a LVDS / HDMI converter), appended to the DS90UB948 .
Connection details:
my board with DS90UB941AS ---> DS90UB948 Evalbord --> LVDS/HDMI adapter

DS90UB941AS patgen reg dump:
0x00 0x00
0x01 0x00
0x02 0x00
0x03 0x03
0x04 0x70
0x05 0xe6
0x06 0x2e
0x07 0x00
0x08 0x05
0x09 0x2d
0x0a 0x50
0x0b 0x05
0x0c 0xd8
0x0d 0x16
0x0e 0x00
0x0f 0x1e
0x10 0x0e
0x11 0x21
0x12 0x43
0x13 0x65
0x14 0x87
0x15 0xa9
0x16 0xcb
0x17 0xed
0x18 0x0f
0x19 0x00
0x1a 0x01

With this configuration, the system works properly but  when I try to initialize my DSI video output with the same parameters, doesn't works and I can't understand what is wrong.

Is possible to understand what's exactly wrong in the DSI initialization from the reg dump of the serializer?
In the serializer, is there a way to force the video parameter for the port0 output?

DS90UB941AS reg dump:
0x00 0x18
0x01 0x00
0x02 0x00
0x03 0xda
0x04 0x00
0x05 0x00
0x06 0x40
0x07 0x94
0x08 0x4a
0x09 0x01
0x0A 0x06
0x0B 0x00
0x0C 0x67
0x0D 0x30
0x0E 0x00
0x0F 0x00
0x10 0x00
0x11 0x00
0x12 0x02
0x13 0x9b
0x14 0x00
0x16 0xfe
0x17 0x1e
0x18 0x7f
0x19 0x7f
0x1A 0x01
0x1B 0x00
0x1C 0x01
0x1D 0x00
0x1E 0x04
0x1F 0x00
0x20 0x0b
0x21 0x00
0x26 0x00
0x2E 0xa5
0x2F 0x5a
0x30 0x00
0x32 0x00
0x33 0x05
0x34 0x0c
0x35 0x00
0x36 0x00
0x37 0x00
0x38 0x00
0x39 0x00
0x3A 0x00
0x3B 0x00
0x3C 0x00
0x3D 0x00
0x3E 0x81
0x3F 0x02
0x40 0x10
0x41 0x94
0x42 0x00
0x4F 0x8c
0x50 0x16
0x54 0x02
0x55 0x00
0x56 0x00
0x57 0x02
0x58 0x00
0x59 0x00
0x5A 0xd9
0x5B 0x05
0x5C 0x07
0x5D 0x06
0x5E 0x44
0x5F 0x49
0x60 0x22
0x61 0x02
0x62 0x00
0x63 0x00
0x64 0x10
0x65 0x00
0x66 0x00
0x67 0x00
0x6A 0x00
0x6B 0x00
0x6C 0x00
0x6D 0x00
0x6E 0x20
0x6F 0x00
0x70 0x00
0x71 0x00
0x72 0x00
0x73 0x00
0x74 0x00
0x75 0x00
0x76 0x00
0x77 0x00
0x78 0x00
0x79 0x00
0x7A 0x00
0x7B 0x00
0x7C 0x00
0x7D 0x00
0xC2 0x82
0xC4 0x78
0xC6 0x00
0xC7 0x44
0xF0 0x5f
0xF1 0x55
0xF2 0x42
0xF3 0x39
0xF4 0x34
0xF5 0x31

DS90UB941AS  DSI reg dump:
0x00 0x00
0x01 0x00
0x02 0x00
0x03 0x1d
0x04 0x14
0x05 0x3a
0x06 0x00
0x07 0x00
0x08 0x00
0x0f 0x7f
0x10 0x14
0x11 0x18
0x12 0x14
0x13 0x18
0x14 0x00
0x15 0x08
0x20 0x7f
0x21 0x00
0x22 0xff
0x23 0x7f
0x28 0x45
0x2a 0x3e
0x2b 0xa0
0x2c 0x07
0x2d 0x02
0x30 0x00
0x31 0x20
0x32 0x00
0x33 0x04
0x34 0x00
0x35 0x20
0x36 0x00
0x37 0x00
0x38 0x00
0x3A 0x02
0x3B 0x03

  • Hi Matteo,

    Thanks for reaching out. 

    Can you provide the scripts currently being used to configure the SerDes?

    Ill review the registers and provide further comments and questions by tomorrow.

    Regards,

    Logan

  • Hi Logan,
    Thanks in advance for your attention.

     
    init_ds90ub941 :
    WriteI2C(0x1e, 0x01)
    WriteI2C(0x03, 0xda)
    WriteI2C(0x1e, 0x02)
    WriteI2C(0x03, 0xda)
    WriteI2C(0x5b, 0x05)
    ... avoid to put here the setup of the i2c aliases ...
    WriteI2C(0x12, 0x02)
    WriteI2C(0x1e, 0x04)
    WriteI2C(0x01, 0x00)


    init_ds90ub948:
    WriteI2C(0x01, 0x02)
    WriteI2C(0x05, 0x9e)
    WriteI2C(0x26, 0x32)
    WriteI2C(0x27, 0x32)
    WriteI2C(0x49, 0x82)

    Regards,
    Matteo

  • Hi Matteo,  

    This doesn't look like the full script required for 941. Is this all of it, or should this be focus point to start it providing initial script that fully initializes the 941 device. 

    Regards, 

    Logan