Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: dongkesi on September 10, 2019, 10:07:00 AM

Title: TE0803 Audio Example
Post by: dongkesi on September 10, 2019, 10:07:00 AM
Hi,

I have successfully debugged adau1761 on the zynq7020 because there is a IP offered by ADI. Now, I'm trying to debug this device on zynqmp, I found a vivado reference configuration using the IP, but the DTS didn't enable it.I guess it hasn't worked out yet.

https://github.com/analogdevicesinc/hdl/blob/953b70480df951a9abe381e30d033fc51ad55062/projects/adrv9009_zu11eg_som/carrier_bd.tcl
https://github.com/analogdevicesinc/linux/blob/492872440979229c33cff887139a7f551ef9ca51/arch/arm64/boot/dts/xilinx/zynqmp-adrv9009-zu11eg-reva-adrv2crr-fmc.dts

I see that TE0803 StarterKit is also equipped with this chip, but I notice that the chip is commented out in DTS. Does this chip work on this board? I don't have DP on my board, so whether I can use S_AXIS_AUDIO to drive this chip alone? Thank you very much.


        i2c@1 { // i2c Audio Codec
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;
            /*
            adau1761: adau1761@38 {
                compatible = "adi,adau1761";
                reg = <0x38>;
            };
            */
        };


Kedong
Title: Re: TE0803 Audio Example
Post by: Oleksandr Kiyenko on September 10, 2019, 11:23:07 AM
Hi Kedong,

This chip is present on TEBF0808 board and working, but the configuration is provided not by driver but from the user application adau1761init in petalinux.
The Live Audio interface is deeply integrated with DisplayPort it's also related to drivers. As I know S_AXIS_AUDIO in default configuration is active only when monitor connected to DP.
So if you want to use S_AXI_AUDIO, you probably need a custom driver to enable this interface.


Best regards
Oleksandr Kiyenko
Title: Re: TE0803 Audio Example
Post by: dongkesi on September 11, 2019, 03:00:35 AM
Hi Oleksandr,

Thanks for your information. Let me see if I can implement it using UIO like pynq-z2.

BR,
Kedong
Title: Re: TE0803 Audio Example
Post by: dongkesi on September 12, 2019, 05:58:05 AM
Have make everything done using UIO. If someone is debugging this, it's a simple reference.