Other Parts Discussed in Thread: PCM1865
Hello, I am working with PCM1865evm to configure it with 4ch TDM interface.
I am using external host iMX8M board as master and PCM1865 as slave.
I need some help for PCM1865 slave configuration setting with PurePath tool for 4ch TDM interface. I have removed required registers to interface PCM1865 through external host and i am able to record 2 channel audio successfully with I2S interface.
1. I am using PCM1865 as slave and iMX8M host board as master, In this case for 4ch TDM interface do i have to provide SCKI from iMX8M board (MCLK).
2. Below are the settings i have done for 4ch TDM interface with 16bit, Please let me know this is correct or not.?
{ADC_REG0_PGA_Val_1L, 0x08},
// PGA Value Channel 1 Left
{ADC_REG0_PGA_Val_1R, 0x08},
// PGA Value Channel 1 Right
{ADC_REG0_PGA_Val_2L, 0x08},
// PGA Value Channel 2 Left
{ADC_REG0_PGA_Val_2R, 0x08},
// PGA Value Channel 2 Right
{ADC_REG0_ChanSel_1L, 0x41},
// ADC Input Channel Select ADC1L - VINL1[SE]
{ADC_REG0_ChanSel_1R, 0x41},
// ADC Input Channel Select ADC1R - VINR1[SE]
{ADC_REG0_ChanSel_2L, 0x42},
// ADC Input Channel Select ADC2L - VINL2[SE]
{ADC_REG0_ChanSel_2R, 0x42},
// ADC Input Channel Select ADC2R - VINR2[SE]
{0x0B, 0xDF},
// Receive PCM Word length - 16bit; TDM_LRCK_MODE - duty cycle of LRCK is 1/256}
{0x0C, 0x01},
// Select TDM transmission data. 01: 4ch TDM - DOUT1: ch1[L], ch1[R], ch2[L], ch2[R]
{0x20, 0x0F},
// SCK/Xtal selection; Slave mode, Enable Auto Clock Detector Configuration