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.

DS90UB949-Q1: DS90UB949-Q1 HDMI audio I2S data format

Part Number: DS90UB949-Q1
Other Parts Discussed in Thread: PCM1753

Hello TI team,

I have been working with DS90UB949-Q1 and an audio DAC PCM1753. The application is such that, the user's laptop is connected to the serializer using an HDMI connection and the display of the laptop is transferred to the serializer and then to the DeSer via LVDS. Along with the video of the user's laptop, the HDMI is capable of sending out the audio of the laptop to the Serializer and then the Serializer is sending out the HDMI audio to the audio DAC PCM1753.

As, I am able to get the audio from the laptop and from the audio DAC, but the problem is that the audio is too noisy, so I want it to remove the noise.

Here are my points and connections to the system - 

1. Using the 0x55 register of the Serializer, I am enabling the bit [6] of this register to get the HDMI audio from the Serializer, then the Serializer audio output is sent to the DAC PCM1753.
2. Pins 33, 34, and 35 of the Serializer are connected to pins 3, 1, and 2 of PCM1753.
3. The PCM1753 is used on the default settings, so the SCK of PCM1753 is 27 MHz, and the sampling frequency is 44.1 kHz.
4. In the EDID of the Serializer, we have enabled the audio part and added the support for 16-bit and 24-bit along with a 44.1 kHz data rate.
5. When the audio is out from the DAC 1753, I used my windows laptop and set the audio of this device to 16-bit and 44.1 kHz, but the problem is that when I see the clock output from Serializer, I noted a few things. 
     a. The BCK clock is at 2.82 MHz and the LRCK clock is at 44.1 kHz, but according to the audio standards, for 16-bit and 44.1 kHz data rate, the BCK clock should be 1.411 MHz, as stated in the below audio standards             given in Serializer datasheet.



Can you please share your thoughts that how can make the Serializer BCK clock at 1.411 kHz instead of 2.82 MHz?

Here are my questions: 

1. Is there any registers to set the bit rate/ data rate of HDMI audio in Serializer?
2. Is there any registers to set the BCK clock coming from HDMI audio from Serializer?

Please solve the issue.

Thanks,
Vivek Karna

  • Hi Vivek, 

    Have you tried this 94x Audio FAQ and follow along with the procedures for set up? 

    https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1136852/faq-ds90uh941as-q1-how-to-configure-fpd-link-iii-94x-audio?tisearch=e2e-sitesearch&keymatch=ds90u%252A94%252A%2520OR%2520ds90u%252A98%252A

    What audio transmission mode are you trying to use?

    I will look into the issue meanwhile, please take a look at this FAQ to see if it helps to improve the set up. 

    Best,

    Shu

  • Hello Shu,

    Thank you for the clarifications.

    Due to very limited time, I want to request for a quick MS Teams meeting so that this problem can be fixed asap. I am sending you the friend request and sending you my e-mail address so that whenever you are free, you can send me the mail, and then we can schedule the meeting.

    Thanks,
    Vivek Karna

  • Have you tried this 94x Audio FAQ and follow along with the procedures for set up? 

    The steps are a bit confusing for me, but without following these steps, I am still able to get the I2S data output from the Serializer but the same problem of getting BCLK is about 2.82 MHz, which should be around 1.411 MH for 16-bit I2S data from HDMI.

    I didn't configure any registers of Ser to get out the HDMI audio except setting bit 6 of 0x55 (HDMI_I2S_OUT=1) from the serializer, other than that, everything is in default settings, using strap values, it is set at HDMI audio. Not enabling Channel_B also, and 0x12 register is set to 0x00.


    0x1A[0] = 0 also.

    Please help to solve this issue.

    Thanks,
    Vivek Karna

  • Hi Vivek, 

    Can you share the settings from the laptop audio source? the BCLK is related to the number of audio channels set at the source. 

    Prior to scheduling a meeting, please provide a dump of the serializer registers, the laptop settings and all other information that can help us prepare for the meeting. 

    I have some availabilities on Thursday, 1/12. Please let me know your time zone and I will do my best to find a time that works for both of us. 

    Best,

    Shu

  • Thanks, Shu for the information.

    Here are my Windows 11 OS-based laptop settings for HDMI Audio devices.



    Other settings for the audio devices.



    Here is my register dump of the Serializer.

    [REGISTERS]
    Device = ALP Nano 1 - DS90UB949, Connector 1
    Comments = "Serializer Comments"
    Date = 01/10/2023
    Time = 13:50:33
    Reg = 0,0x0000,0x1C
    Reg = 0,0x0001,0x00
    Reg = 0,0x0003,0xDA
    Reg = 0,0x0004,0x80
    Reg = 0,0x0005,0x00
    Reg = 0,0x0006,0x58
    Reg = 0,0x0007,0x00
    Reg = 0,0x0008,0x00
    Reg = 0,0x0009,0x00
    Reg = 0,0x000A,0x73
    Reg = 0,0x000B,0x02
    Reg = 0,0x000C,0x17
    Reg = 0,0x000D,0x20
    Reg = 0,0x000E,0x00
    Reg = 0,0x000F,0x00
    Reg = 0,0x0010,0x00
    Reg = 0,0x0011,0x00
    Reg = 0,0x0012,0x00
    Reg = 0,0x0013,0x8C
    Reg = 0,0x0014,0x00
    Reg = 0,0x0015,0x01
    Reg = 0,0x0016,0xFE
    Reg = 0,0x0017,0x1E
    Reg = 0,0x0018,0x7F
    Reg = 0,0x0019,0x7F
    Reg = 0,0x001A,0x00
    Reg = 0,0x001B,0x00
    Reg = 0,0x001C,0x00
    Reg = 0,0x001D,0x00
    Reg = 0,0x001E,0x05
    Reg = 0,0x001F,0xF7
    Reg = 0,0x0020,0x0B
    Reg = 0,0x0021,0x00
    Reg = 0,0x0022,0x25
    Reg = 0,0x0023,0x00
    Reg = 0,0x0024,0x00
    Reg = 0,0x0025,0x00
    Reg = 0,0x0026,0x00
    Reg = 0,0x0027,0x00
    Reg = 0,0x0028,0x01
    Reg = 0,0x0029,0x20
    Reg = 0,0x002A,0x20
    Reg = 0,0x002B,0xA8
    Reg = 0,0x002C,0x00
    Reg = 0,0x0030,0x00
    Reg = 0,0x0031,0x00
    Reg = 0,0x0032,0x00
    Reg = 0,0x0033,0x00
    Reg = 0,0x0034,0x00
    Reg = 0,0x0035,0x00
    Reg = 0,0x0036,0x00
    Reg = 0,0x0037,0x00
    Reg = 0,0x0038,0x00
    Reg = 0,0x0039,0x00
    Reg = 0,0x003A,0x00
    Reg = 0,0x003B,0x00
    Reg = 0,0x003C,0x00
    Reg = 0,0x003D,0x00
    Reg = 0,0x003E,0x00
    Reg = 0,0x003F,0x00
    Reg = 0,0x0040,0x14
    Reg = 0,0x0041,0x4E
    Reg = 0,0x0042,0x00
    Reg = 0,0x0043,0x00
    Reg = 0,0x0044,0x80
    Reg = 0,0x0045,0x00
    Reg = 0,0x0046,0x00
    Reg = 0,0x0047,0x00
    Reg = 0,0x0048,0x01
    Reg = 0,0x0049,0x68
    Reg = 0,0x004A,0x01
    Reg = 0,0x004B,0xB0
    Reg = 0,0x004C,0x04
    Reg = 0,0x004D,0x00
    Reg = 0,0x004E,0x00
    Reg = 0,0x004F,0x00
    Reg = 0,0x0050,0x97
    Reg = 0,0x0051,0xA1
    Reg = 0,0x0052,0x1E
    Reg = 0,0x0053,0x00
    Reg = 0,0x0054,0x24
    Reg = 0,0x0055,0x4C
    Reg = 0,0x0056,0x15
    Reg = 0,0x0057,0x00
    Reg = 0,0x0058,0x00
    Reg = 0,0x0059,0x00
    Reg = 0,0x005A,0xCD
    Reg = 0,0x005B,0x20
    Reg = 0,0x005C,0x02
    Reg = 0,0x005D,0x06
    Reg = 0,0x005E,0x44
    Reg = 0,0x005F,0x9E
    Reg = 0,0x0060,0x22
    Reg = 0,0x0061,0x02
    Reg = 0,0x0062,0x00
    Reg = 0,0x0064,0x10
    Reg = 0,0x0065,0x00
    Reg = 0,0x0066,0x00
    Reg = 0,0x0067,0x00
    Reg = 0,0x0068,0x00
    Reg = 0,0x0069,0x00
    Reg = 0,0x006A,0x00
    Reg = 0,0x006B,0x00
    Reg = 0,0x006C,0x00
    Reg = 0,0x0070,0x00
    Reg = 0,0x0071,0x00
    Reg = 0,0x0072,0x00
    Reg = 0,0x0073,0x00
    Reg = 0,0x0074,0x00
    Reg = 0,0x0075,0x00
    Reg = 0,0x0076,0x00
    Reg = 0,0x0077,0x00
    Reg = 0,0x0078,0x00
    Reg = 0,0x0079,0x00
    Reg = 0,0x007A,0x00
    Reg = 0,0x007B,0x00
    Reg = 0,0x007C,0x00
    Reg = 0,0x007D,0x00
    Reg = 0,0x0080,0x00
    Reg = 0,0x0081,0x00
    Reg = 0,0x0082,0x00
    Reg = 0,0x0083,0x00
    Reg = 0,0x0084,0x00
    Reg = 0,0x0090,0x00
    Reg = 0,0x0091,0x00
    Reg = 0,0x0092,0x00
    Reg = 0,0x0093,0x00
    Reg = 0,0x0094,0x00
    Reg = 0,0x0098,0x00
    Reg = 0,0x0099,0x00
    Reg = 0,0x009A,0x00
    Reg = 0,0x009B,0x00
    Reg = 0,0x009C,0x00
    Reg = 0,0x009D,0x00
    Reg = 0,0x009E,0x00
    Reg = 0,0x009F,0x00
    Reg = 0,0x00A0,0x00
    Reg = 0,0x00A1,0x00
    Reg = 0,0x00A2,0x00
    Reg = 0,0x00A3,0x00
    Reg = 0,0x00C0,0x05
    Reg = 0,0x00C1,0x00
    Reg = 0,0x00C2,0x88
    Reg = 0,0x00C3,0x00
    Reg = 0,0x00C4,0x28
    Reg = 0,0x00C5,0x00
    Reg = 0,0x00C6,0x00
    Reg = 0,0x00C7,0x60
    Reg = 0,0x00C8,0xC0
    Reg = 0,0x00C9,0x00
    Reg = 0,0x00CA,0x00
    Reg = 0,0x00CB,0x00
    Reg = 0,0x00CC,0x00
    Reg = 0,0x00CE,0xFF
    Reg = 0,0x00D0,0x10
    Reg = 0,0x00D1,0x00
    Reg = 0,0x00D2,0x00
    Reg = 0,0x00D3,0x00
    Reg = 0,0x00E0,0x05
    Reg = 0,0x00E1,0x00
    Reg = 0,0x00E2,0x88
    Reg = 0,0x00E3,0x00
    Reg = 0,0x00E4,0x28
    Reg = 0,0x00E5,0x38
    Reg = 0,0x00E6,0x00
    Reg = 0,0x00E7,0x00
    Reg = 0,0x00F0,0x5F
    Reg = 0,0x00F1,0x55
    Reg = 0,0x00F2,0x42
    Reg = 0,0x00F3,0x39
    Reg = 0,0x00F4,0x34
    Reg = 0,0x00F5,0x39
    Reg = 0,0x00F6,0x00
    Reg = 0,0x00F8,0x00
    Reg = 0,0x00F9,0x00
    


    Thank you for letting me know that you are free this Thursday. My time zone is +5:30 GMT and I am from India. So, please plan for the same.

    Thanks,
    Vivek Karna

  • Thanks, Shu for the information.

    Here are my Windows 11 OS-based laptop settings for HDMI Audio devices.



    Other settings for the audio devices.



    Here is my register dump of the Serializer.

    [REGISTERS]
    Device = ALP Nano 1 - DS90UB949, Connector 1
    Comments = "Serializer Comments"
    Date = 01/10/2023
    Time = 13:50:33
    Reg = 0,0x0000,0x1C
    Reg = 0,0x0001,0x00
    Reg = 0,0x0003,0xDA
    Reg = 0,0x0004,0x80
    Reg = 0,0x0005,0x00
    Reg = 0,0x0006,0x58
    Reg = 0,0x0007,0x00
    Reg = 0,0x0008,0x00
    Reg = 0,0x0009,0x00
    Reg = 0,0x000A,0x73
    Reg = 0,0x000B,0x02
    Reg = 0,0x000C,0x17
    Reg = 0,0x000D,0x20
    Reg = 0,0x000E,0x00
    Reg = 0,0x000F,0x00
    Reg = 0,0x0010,0x00
    Reg = 0,0x0011,0x00
    Reg = 0,0x0012,0x00
    Reg = 0,0x0013,0x8C
    Reg = 0,0x0014,0x00
    Reg = 0,0x0015,0x01
    Reg = 0,0x0016,0xFE
    Reg = 0,0x0017,0x1E
    Reg = 0,0x0018,0x7F
    Reg = 0,0x0019,0x7F
    Reg = 0,0x001A,0x00
    Reg = 0,0x001B,0x00
    Reg = 0,0x001C,0x00
    Reg = 0,0x001D,0x00
    Reg = 0,0x001E,0x05
    Reg = 0,0x001F,0xF7
    Reg = 0,0x0020,0x0B
    Reg = 0,0x0021,0x00
    Reg = 0,0x0022,0x25
    Reg = 0,0x0023,0x00
    Reg = 0,0x0024,0x00
    Reg = 0,0x0025,0x00
    Reg = 0,0x0026,0x00
    Reg = 0,0x0027,0x00
    Reg = 0,0x0028,0x01
    Reg = 0,0x0029,0x20
    Reg = 0,0x002A,0x20
    Reg = 0,0x002B,0xA8
    Reg = 0,0x002C,0x00
    Reg = 0,0x0030,0x00
    Reg = 0,0x0031,0x00
    Reg = 0,0x0032,0x00
    Reg = 0,0x0033,0x00
    Reg = 0,0x0034,0x00
    Reg = 0,0x0035,0x00
    Reg = 0,0x0036,0x00
    Reg = 0,0x0037,0x00
    Reg = 0,0x0038,0x00
    Reg = 0,0x0039,0x00
    Reg = 0,0x003A,0x00
    Reg = 0,0x003B,0x00
    Reg = 0,0x003C,0x00
    Reg = 0,0x003D,0x00
    Reg = 0,0x003E,0x00
    Reg = 0,0x003F,0x00
    Reg = 0,0x0040,0x14
    Reg = 0,0x0041,0x4E
    Reg = 0,0x0042,0x00
    Reg = 0,0x0043,0x00
    Reg = 0,0x0044,0x80
    Reg = 0,0x0045,0x00
    Reg = 0,0x0046,0x00
    Reg = 0,0x0047,0x00
    Reg = 0,0x0048,0x01
    Reg = 0,0x0049,0x68
    Reg = 0,0x004A,0x01
    Reg = 0,0x004B,0xB0
    Reg = 0,0x004C,0x04
    Reg = 0,0x004D,0x00
    Reg = 0,0x004E,0x00
    Reg = 0,0x004F,0x00
    Reg = 0,0x0050,0x97
    Reg = 0,0x0051,0xA1
    Reg = 0,0x0052,0x1E
    Reg = 0,0x0053,0x00
    Reg = 0,0x0054,0x24
    Reg = 0,0x0055,0x4C
    Reg = 0,0x0056,0x15
    Reg = 0,0x0057,0x00
    Reg = 0,0x0058,0x00
    Reg = 0,0x0059,0x00
    Reg = 0,0x005A,0xCD
    Reg = 0,0x005B,0x20
    Reg = 0,0x005C,0x02
    Reg = 0,0x005D,0x06
    Reg = 0,0x005E,0x44
    Reg = 0,0x005F,0x9E
    Reg = 0,0x0060,0x22
    Reg = 0,0x0061,0x02
    Reg = 0,0x0062,0x00
    Reg = 0,0x0064,0x10
    Reg = 0,0x0065,0x00
    Reg = 0,0x0066,0x00
    Reg = 0,0x0067,0x00
    Reg = 0,0x0068,0x00
    Reg = 0,0x0069,0x00
    Reg = 0,0x006A,0x00
    Reg = 0,0x006B,0x00
    Reg = 0,0x006C,0x00
    Reg = 0,0x0070,0x00
    Reg = 0,0x0071,0x00
    Reg = 0,0x0072,0x00
    Reg = 0,0x0073,0x00
    Reg = 0,0x0074,0x00
    Reg = 0,0x0075,0x00
    Reg = 0,0x0076,0x00
    Reg = 0,0x0077,0x00
    Reg = 0,0x0078,0x00
    Reg = 0,0x0079,0x00
    Reg = 0,0x007A,0x00
    Reg = 0,0x007B,0x00
    Reg = 0,0x007C,0x00
    Reg = 0,0x007D,0x00
    Reg = 0,0x0080,0x00
    Reg = 0,0x0081,0x00
    Reg = 0,0x0082,0x00
    Reg = 0,0x0083,0x00
    Reg = 0,0x0084,0x00
    Reg = 0,0x0090,0x00
    Reg = 0,0x0091,0x00
    Reg = 0,0x0092,0x00
    Reg = 0,0x0093,0x00
    Reg = 0,0x0094,0x00
    Reg = 0,0x0098,0x00
    Reg = 0,0x0099,0x00
    Reg = 0,0x009A,0x00
    Reg = 0,0x009B,0x00
    Reg = 0,0x009C,0x00
    Reg = 0,0x009D,0x00
    Reg = 0,0x009E,0x00
    Reg = 0,0x009F,0x00
    Reg = 0,0x00A0,0x00
    Reg = 0,0x00A1,0x00
    Reg = 0,0x00A2,0x00
    Reg = 0,0x00A3,0x00
    Reg = 0,0x00C0,0x05
    Reg = 0,0x00C1,0x00
    Reg = 0,0x00C2,0x88
    Reg = 0,0x00C3,0x00
    Reg = 0,0x00C4,0x28
    Reg = 0,0x00C5,0x00
    Reg = 0,0x00C6,0x00
    Reg = 0,0x00C7,0x60
    Reg = 0,0x00C8,0xC0
    Reg = 0,0x00C9,0x00
    Reg = 0,0x00CA,0x00
    Reg = 0,0x00CB,0x00
    Reg = 0,0x00CC,0x00
    Reg = 0,0x00CE,0xFF
    Reg = 0,0x00D0,0x10
    Reg = 0,0x00D1,0x00
    Reg = 0,0x00D2,0x00
    Reg = 0,0x00D3,0x00
    Reg = 0,0x00E0,0x05
    Reg = 0,0x00E1,0x00
    Reg = 0,0x00E2,0x88
    Reg = 0,0x00E3,0x00
    Reg = 0,0x00E4,0x28
    Reg = 0,0x00E5,0x38
    Reg = 0,0x00E6,0x00
    Reg = 0,0x00E7,0x00
    Reg = 0,0x00F0,0x5F
    Reg = 0,0x00F1,0x55
    Reg = 0,0x00F2,0x42
    Reg = 0,0x00F3,0x39
    Reg = 0,0x00F4,0x34
    Reg = 0,0x00F5,0x39
    Reg = 0,0x00F6,0x00
    Reg = 0,0x00F8,0x00
    Reg = 0,0x00F9,0x00
    


    Thank you for letting me know that you are free this Thursday. My time zone is +5:30 GMT and I am from India. So, please plan for the same.

    Thanks,
    Vivek Karna

  • Here are my edid data bytes, please find them too.

    0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x30, 0xAE, 0xAF, 0x62, 0x01, 0x01, 0x01, 0x01, 0x28, 0x1F, 0x01, 0x03, 0x80, 0x3C, 0x22, 0x78, 0x2E, 0xEE, 0x95, 0xA3, 0x54, 0x4C, 0x99, 0x26, 0x0F, 0x50, 0x54, 0xAD, 0x4B, 0x00, 0x71, 0x4F, 0x81, 0x80, 0x95, 0x00, 0xA9, 0xC0, 0xA9, 0xCF, 0xB3, 0x00, 0xD1, 0xC0, 0x01, 0x01, 0x02, 0x3A, 0x80, 0x18, 0x71, 0x38, 0x2D, 0x40, 0x58, 0x2C, 0x45, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0xFD, 0x00, 0x30, 0x4B, 0x1E, 0x53, 0x12, 0x00, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x53, 0x32, 0x37, 0x65, 0x2D, 0x32, 0x30, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x56, 0x4E, 0x41, 0x36, 0x5A, 0x31, 0x56, 0x4C, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x01, 0x13, 0x02, 0x03, 0x27, 0xF1, 0x4B, 0x90, 0x1F, 0x05, 0x14, 0x04, 0x13, 0x12, 0x11, 0x03, 0x02, 0x01, 0x23, 0x09, 0x07, 0x07, 0x83, 0x01, 0x00, 0x00, 0x65, 0x03, 0x0C, 0x00, 0x10, 0x00, 0x68, 0x1A, 0x00, 0x00, 0x01, 0x01, 0x30, 0x4B, 0xE6, 0x2A, 0x44, 0x80, 0xA0, 0x70, 0x38, 0x27, 0x40, 0x30, 0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0xAB, 0x22, 0xA0, 0xA0, 0x50, 0x84, 0x1A, 0x30, 0x30, 0x20, 0x36, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x7C, 0x2E, 0x90, 0xA0, 0x60, 0x1A, 0x1E, 0x40, 0x30, 0x20, 0x36, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xBE,

    Thank you,
    Vivek Karna

  • Hi Vivek, 

    Thank you for providing the information. I looked into the issue more and may have found an explanation on the BCLK. 

    By default, the HDMI block generates an audio clock of 128*fs for the audio PLL. In your case that is 128*44.1kHz = 5.6448 MHz and then that gets divided by 2 for 2 channels, so 2.8224MHz comes out of the bit clock pin. 

    However, I will need to talk to the designers on how to check the word size on the 949 as it seems like it is a default of 32-bit. There may be a combination of settings that can be used to divide the I2S clock down on the local output but I would need to check with the design team to know. I hope to have more information by our meeting. I am sending you a meeting invite, hopefully the time works for you. 

    Best,

    Shu