7.7.6.2 ASRC Mode Register

Note: The Direct Access mode related configurations (ASRC_MR.DATHRx/DARHRx) must be programmed prior to enabling the channels in ASRC_MR.ASRCENx.

This register can only be written if the WPEN bit is cleared in ASRC_WPMR.

Name: ASRC_MR
Offset: 0x04
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
     DARHR3DARHR2DARHR1DARHR0 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
     DATHR3DATHR2DATHR1DATHR0 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 15141312111098 
       DARHRMDATHRM 
Access R/WR/W 
Reset 00 
Bit 76543210 
     ASRCEN3ASRCEN2ASRCEN1ASRCEN0 
Access R/WR/WR/WR/W 
Reset 0000 

Bits 24, 25, 26, 27 – DARHRx Direct Access Receive Holding Register Destination

ValueNameDescription
0 DMA

The Receive Holding register is read by software or DMA.

If DARHRM=1, the Receive Holding register is directly driving an audio peripheral. The Receive Holding register x loads the audio peripheral selected by ASRC_DAPSELR.OUT_CHx.

1 DIRECT_ACCESS

The Receive Holding register is directly driving an audio peripheral.

The Receive Holding register x loads the audio peripheral selected by ASRC_DAPSELR.OUT_CHx.

Bits 16, 17, 18, 19 – DATHRx Direct Access Transmit Holding Register Source

ValueNameDescription
0 DMA

The Transmit Holding register is loaded by software or DMA.

If DATHRM=1, the Transmit Holding register is directly loaded by an audio peripheral. The audio peripheral loading the Transmit Holding Register is selected by configuring ASRC_DAPSELR.IN_CHx.

1 DIRECT_ACCESS

The Transmit Holding register is directly loaded by an audio peripheral.

The audio peripheral loading the Transmit Holding Register is selected by configuring ASRC_DAPSELR.IN_CHx.

Bit 9 – DARHRM Direct Access Receive Holding Registers Mode

ValueNameDescription
0 PER_RHR The access mode for each receive channel (ASRC_RHRx) is defined by the DARHRx bits.
1 ALL_RHR All receive channels are directly driving audio peripherals. The DARHRx bits have no effect.

Bit 8 – DATHRM Direct Access Transmit Holding Registers Mode

ValueNameDescription
0 PER_THR The access mode for each transmit channel (ASRC_THRx) is defined by the DATHRx bits.
1 ALL_THR All transmit channels are directly loaded by audio peripherals. The DATHRx bits have no effect.

Bits 0, 1, 2, 3 – ASRCENx ASRC Stereo Channel x Enable

ValueNameDescription
0 DISABLE DSPx is disabled.
1 ENABLE DSPx is enabled.