Turn on port buffers for p_lrclk and p_bclk when CODEC_MASTER=1

This commit is contained in:
Sam Chesney
2016-12-21 15:39:07 +00:00
parent 53430f0995
commit c422ca5181
3 changed files with 6 additions and 6 deletions

View File

@@ -101,8 +101,8 @@ extern buffered in port:32 p_i2s_adc[I2S_WIRES_ADC];
extern buffered out port:32 p_lrclk;
extern buffered out port:32 p_bclk;
#else
extern in port p_lrclk;
extern in port p_bclk;
extern buffered in port:32 p_lrclk;
extern buffered in port:32 p_bclk;
#endif
unsigned dsdMode = DSD_MODE_OFF;

View File

@@ -116,8 +116,8 @@ on tile[AUDIO_IO_TILE] : buffered in port:32 p_i2s_adc[I2S_WIRES_ADC] =
on tile[AUDIO_IO_TILE] : buffered out port:32 p_lrclk = PORT_I2S_LRCLK;
on tile[AUDIO_IO_TILE] : buffered out port:32 p_bclk = PORT_I2S_BCLK;
#else
on tile[AUDIO_IO_TILE] : in port p_lrclk = PORT_I2S_LRCLK;
on tile[AUDIO_IO_TILE] : in port p_bclk = PORT_I2S_BCLK;
on tile[AUDIO_IO_TILE] : buffered in port:32 p_lrclk = PORT_I2S_LRCLK;
on tile[AUDIO_IO_TILE] : buffered in port:32 p_bclk = PORT_I2S_BCLK;
#endif
on tile[AUDIO_IO_TILE] : port p_mclk_in = PORT_MCLK_IN;

View File

@@ -70,8 +70,8 @@ void ConfigAudioPortsWrapper(
buffered out port:32 ?p_lrclk,
buffered out port:32 p_bclk,
#else
in port ?p_lrclk,
in port p_bclk,
buffered in port:32 ?p_lrclk,
buffered in port:32 p_bclk,
#endif
#endif
unsigned int divide, unsigned curSamFreq, unsigned int dsdMode);