The audio codecs in the AD193x family are equipped with a standalone function that allows them to operate directly out of reset without requiring configuration via their I2C/SPI control ports.
Standalone modes are configured by pulling the control port pins either to the supply voltage (1) or to ground (0).
For devices with I2C ports, here are the standalone configuration options:
Serial Port Clocks | ADDR0 | SDA | SCL | ADDR1 |
---|---|---|---|---|
Slave | 0 | 0 | 0 | 0 |
Master | 0 | 1 | 0 | 0 |
For devices with SPI ports, here are the standalone configuration options:
Serial Port Clocks | CIN | COUT | CCLK | CLATCH |
---|---|---|---|---|
Slave | 0 | 0 | 0 | 0 |
Master | 0 | 1 | 0 | 0 |
The device will constantly check these four pins in order to decide whether to go into standalone mode or not. If the pins are configured in a way that matches one of the configurations shown in the above tables for more than 4 milliseconds, then standalone mode will be activated.
If the pins are then reconfigured (at any time) in a way such that the conditions in the above tables are not met, then the device will revert to its default state (all registers set to their default values) and the device will go into idle mode, waiting to be programmed via the control port.