This section describes the necessary
steps to configure the TAD5212 for this specific application. The
following steps provide a sequence of items that must be executed in the time
between powering the device up and reading data from the device or transitioning
from one mode to another mode of operation.
- Apply power to the device:
- Power up the IOVDD and AVDD power supplies
- Wait for at least 2ms to allow the device to
initialize the internal registers.
- The device now goes into sleep mode (low-power mode < 10µA)
- Transition from sleep mode to active mode whenever required for
the operation:
- Wake up the device by writing to P0_R2 to disable sleep
mode
- Wait for at least 2ms to allow the device to complete the internal wake-up
sequence
- Override the default configuration registers or
programmable coefficients value as required (this step is optional)
- Enable all desired audio serial interface input/output
channels by writing to P0_R40 to P0_R47 for DAC
- Power-up the DAC by writing to P0_R120
- Apply FSYNC and BCLK with the desired output sample
rates and the BCLK to FSYNC ratio
This specific step
can be done at any point in the sequence after step a.
See the Section 6.3.2 section for supported sample rates and the BCLK to FSYNC
ratio.
- The device playback data is now received from the host processor using the TDM
audio serial data bus and this playback data from
TDM is now played on the line-out
- Transition from active mode to sleep mode (again) as required
in the system for low-power operation:
- Enter sleep mode by writing to P0_R2 to enable sleep
mode
- Wait at least 10ms (when FSYNC = 48kHz) for the volume to ramp down and for all
blocks to power down
- Read P0_R122 to check the device shutdown and sleep
mode status
- If the device P0_R122_D[7:5] status bit is 3'b100 then
stop FSYNC and BCLK in the system
- The device now goes into sleep mode (low-power mode < 10µA) and retains all
register values
- Transition from sleep mode to active mode (again) as required
for the recording operation:
- Wake up the device by writing to P0_R2 to disable sleep
mode
- Wait at least 2ms to allow the device to complete the internal wake-up
sequence
- Apply FSYNC and BCLK with the desired output sample
rates and the BCLK to FSYNC ratio
- The device playback data is now received from the
host processor using the TDM audio serial data bus
and this playback data from TDM is now played on
the line-out
- Repeat the steps as required for different device configurations and modes of
operation