Remove TDM ADC clocking on neg edge

This commit is contained in:
xross
2022-11-01 19:24:25 +00:00
parent 28be17282f
commit a1946f340a
2 changed files with 2 additions and 5 deletions

View File

@@ -38,7 +38,6 @@ void InitPorts_master(unsigned divide, buffered _XUA_CLK_DIR port:32 p_lrclk, bu
} }
#endif #endif
#pragma xta endpoint "divide_1"
unsigned tmp; unsigned tmp;
p_lrclk <: 0 @ tmp; p_lrclk <: 0 @ tmp;
tmp += 100; tmp += 100;

View File

@@ -84,8 +84,8 @@ void ConfigAudioPorts(
{ {
for(int i = 0; i < I2S_WIRES_ADC; i++) for(int i = 0; i < I2S_WIRES_ADC; i++)
{ {
set_port_sample_delay(p_i2s_adc[i]); //set_port_sample_delay(p_i2s_adc[i]);
set_pad_delay(p_i2s_adc[i], 4); //set_pad_delay(p_i2s_adc[i], 4);
} }
} }
#endif #endif
@@ -110,10 +110,8 @@ void ConfigAudioPorts(
} }
set_clock_fall_delay(clk_audio_bclk, bClkDelay_fall); set_clock_fall_delay(clk_audio_bclk, bClkDelay_fall);
#endif #endif
#if (I2S_CHANS_DAC != 0) #if (I2S_CHANS_DAC != 0)
/* Clock I2S output data ports from b-clock clock block */ /* Clock I2S output data ports from b-clock clock block */
for(int i = 0; i < I2S_WIRES_DAC; i++) for(int i = 0; i < I2S_WIRES_DAC; i++)