7.7.5.8 Initialization Sequence
In order to use one DSP, the user must follow the sequence below:
- Select the input and output triggers. Trigger events (from audio peripherals) must be stable before the configuration/selection in the ASRC.
- Define the DSP configuration, Channel Transmitting and Receiving modes.
- Enable the DSP or group of DSPs that will be used (ASRC_MR.ASRCENx=1).
- Wait for the lock flag of DSPs. If several DSPs share the same holding register, wait for all DSPs lock status.
- Start the data transfer either by software, or enable the DMA transfers to transmit and receive holding register.
- ASRC_ESR must read 0.