Hi, Scott,
You can configure the LEFTJUST bit with the driver for tramsmitter:
static i2s_config_t s_TxConfig;
static i2s_config_t s_RxConfig;
I2S_TxGetDefaultConfig(&s_TxConfig);
s_TxConfig.divider = DEMO_I2S_CLOCK_DIVIDER;
s_TxConfig.masterSlave = DEMO_I2S_TX_MODE;
s_TxConfig.leftJust=true;
I2S_TxInit(DEMO_I2S_TX, &s_TxConfig);
You can configure the LEFTJUST bit with the driver for receiver:
I2S_RxGetDefaultConfig(&s_RxConfig);
s_RxConfig.divider = DEMO_I2S_CLOCK_DIVIDER;
s_RxConfig.masterSlave = DEMO_I2S_RX_MODE;
s_RxConfig.leftJust=true; //true:left justified data, false:right justfied data
I2S_RxInit(DEMO_I2S_RX, &s_RxConfig);
Hope it can help you
BR
XiangJun Rong