请教PCM1796如下配置,是否可以直接工作?
counter += CODEC_IO_Write(DeviceAddr, 0x10, 0xFF);
counter += CODEC_IO_Write(DeviceAddr, 0x11, 0xFF);
counter += CODEC_IO_Write(DeviceAddr, 0x12, 0xC0);///0XC0
counter += CODEC_IO_Write(DeviceAddr, 0x13, 0x40);///0X04
counter += CODEC_IO_Write(DeviceAddr, 0x14, 0x00);///0X00
counter += CODEC_IO_Write(DeviceAddr, 0x15, 0x01); ///0X01
硬件连接为STM32F103(MCU)通过I2S与PCM1796连接,I2C作为控制。16位/i2s格式,FS=22.05k,mclk=258fs ,我现在DAC无任何输出。谢谢!!
|