Hi All,
We managed to interface TLV320ADC5140 evk board using i2c0 which is connected to hi-hoperzg2h eval board.
Enabled TLV320adcx140.c in SDK.
Our interface connection is:
U32-- I2C0_SCL(GP6_14)
U31—I2C0_SDA(GP6_15)
i2cdetec is able to detect the TLV320ADC5140 device with the following entries in hi-hope-comman.dtsi
&i2c0 {
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
status = "okay";
codec: codec@54 {
status = "okay";
compatible = "ti,tlv320adc5140";
reg = <0x54>;
ti,mic-bias-source = <6>;
ti,pdm-edge-select = <0 1 0 1>;
ti,gpi-config = <4 5 6 7>;
ti,gpio-config = <10 2>;
ti,gpo-config-1 = <0 0>;
ti,gpo-config-2 = <0 0>;
reset-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
};
};
But could not find any doc or entries in SDK to configure the below pins of TLV320ADC5140 in the SDK.
BCLK AG34- GP6_16/SSI_SCK78
RLCLK AG33 - GP6_18/SSI_WS78
DOUT AG31- GP6_19/SSI_SDATA7
dmesg | grep tlv* shows nothing.
Could you please help us regarding this, any document or sample I2s example with such devices will help us .
Thanks in advance
BR
Nagaraja