Programming Manual

29 / 139
i480e&i480e-MD2 Programming Manual
4.24
I2SC
This command is used to set the configuration of I2S Interface.
Command
AT+B I2SC [master],[justify], [delay],[bits],[scale]
Response
AT-B I2SC [status]
Parameters
status
0: Succeeded;
Else: Failed.
Master
0, Slave mode
1, Master mode, Clock and sync will be generated by I2S
hardware.
Justify
I2S format
0, left justified
1, right justified
Delay
Left justified format
0, MSB of SD data occurs in the first SCK period
following WS transition
1 MSB of SD data occurs in the second SCK period
Bits
bits per sample
Scale
master clock frequency scaling factor
clock rate = sample rate * scale
Note
The configuration will take effect next time.
4.25
I2SG
This command is used to get the configuration of I2S interface.
Command
AT+B I2SG
Response
AT-B I2SG [master],[justify], [delay],[bits],[scale]
Parameters
Master
0, Slave mode
Barrot Confidential