Hi,
I have a test board (Terasic Cyclone V GX Starter Kit) with an ADV7513 onboard. I added wires needed to access the Audio-Pins (SCLK, MCLK, I2S0-3). I configured the ADV7513 and added a small audio generator for a 400Hz Square,
but i can't hear anything. Video is working fine with 640x480 @ 25 MHz. I'm relatively sure that my I2S master is spec conform.
My I2S-Signal:
MCLK = 12.288 MHz
SCLK = 3.072 MHz
Fs = 48 kHz
16 bit per Channel
2 Channels
Here is the configuration script i use. It is based on
- ##Scripts 6 HDMI PCM Audio## :6-4a - 1920 x 1080p60, YPrPb 444 in, YPrPb 444 out, 32kHz 8ch, VIC 16:
- Linux ADV7511 driver
92[7:0] => 0x00 Deactivate Interrupts
94[7:0] => 0x00 Deactivate Interrupts
95[7:0] => 0x00 Deactivate Interrupts
93[7:0] => 0xFF Clear Interrupts
96[7:0] => 0xFF Clear Interrupts
97[7:0] => 0xFF Clear Interrupts
41[6] => 0b0 Power Up
98[7:0] => 0x03 Fixed
99[7:0] => 0x02 Fixed
9A[7:1] => 0b1110000 Fixed
9C[7:0] => 0x30 Fixed
9D[1:0] => 0b01 Fixed
A2[7:0] => 0xA4 Fixed
A3[7:0] => 0xA4 Fixed
A5[7:0] => 0x44 Fixed
AB[7:0] => 0x40 Fixed
E0[7:0] => 0xD0 Fixed
D1[7:0] => 0xFF Fixed
DE[7:0] => 0x9C Fixed
15[7:0] => 0b00100000 I2S Sampling Freq = 48 kHz, Input ID = RGB 4:4:4
16[7] => 0b0 Output Format = 4:4:4
16[5:2] => 0b1100 ColorDepth = 8 bit, Input Pin Assignment = Not Valid
16[0] => 0b0 Output Color Space = RGB
17[1] => 0b0 Aspect Ratio 4:3
18[7] => 0b0 CSC Disabled
AF[7] => 0b0 HDCP Disabled
AF[1] => 0b1 HDMI Mode
40[7] => 0b1 GC Packet Enabled
4C[3:0] => 0b0100 ??? Unknown ??? From Terasic HDMI Demo Source code
01[7:0] => 0x00 N
02[7:0] => 0x18 N
03[7:0] => 0x00 N
0A[7:0] => 0x00 CTS Automatic, I2S, 256xfs
0B[7:0] => 0x0E SCLK risign edge, MCLK internal generated
0C[7:0] => 0x04 Samling Freq from I2S, I2S0 Enabled, Standard I2S mode
0D[7:0] => 0x10 I2S Bit Width = 16 bit
12[7:0] => 0x00 Not Copy protected
14[7:0] => 0x02 Audio Word Length = 24 bits
73[7:0] => 0x01 2 Channels
76[7:0] => 0x00 Stereo Speaker mapping
94[7:0] => 0x80 Enable HPD interrupt
Does anyone have an idea what i'm doing wrong?
Thanks
Chris