请教下各位大师,我想用BC57e芯片输出SPDIF信号,应该怎么配置?在datasheet中有以下的描述:
1.pcm和I2s,spdif互斥使用硬件上的pcm组接口
2.硬件连线如下:
原文:
10.2.11 IEC 60958 Interface
The IEC 60958 interface is a digital audio interface that uses bi-phase coding to minimise the DC content of the
transmitted signal and allows the receiver to decode the clock information from the transmitted signal. The IEC 60958
specification is based on the 2 industry standards:
■ AES/EBU
■ Sony and Philips interface specification SPDIF
The interface is compatible with IEC 60958-1, IEC 60958-3 and IEC 60958-4.
The SPDIF interface signals are SPDIF_IN and SPDIF_OUT and are shared on the PCM interface pins. The input
and output stages of the SPDIF pins can interface to:
■ A 75Ω coaxial cable with an RCA connector, see Figure 10.4
■ An optical link that uses Toslink optical components, see Figure 10.5.
這兩個library一定要改,預設是用internal DAC 也就是"AUDIO_HARDWARE_CODEC"
要改成"AUDIO_HARDWARE_SPDIF"
當然你要用參數來轉換DAC or SPDIF 也可行~~自行創意。
然後也是用到CVC or voice prompt or sound tone 都要改,才能output SPDIF