CHAPTER 34:Sound System Configuration
1306
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
4.2.1.
Configuration
The address of PCM-PWM must be set to Output destination address of SMIX (MACRO of MXOCTRL
register). The actual setting value is the following.
−
MACRO of MXOCTRL register : 0x2
Number of transfers to output destination of SMIX (DATATN of MXOCTRL register) must be same as
FIFO empty threshold of PCM-PWM (FEST of PCMPWMi_CONTROL register).
4.2.2.
Limitation
Because the sound sources are transferred surely from SMIX to PCM-PWM, the following registers must
not be changed during the sound source translation.
Even if SMIX is disabled by MXCH register, the data transfer from SMIX to PCM-PWM is not stopped
immediately. Therefore, the following register must not be changed after setting it at the initialization.
−
MXOCTRL
And, FEST of PCMPWMi_CONTROL must not be changed under the following condition.
−
EN of PCMPWMi_CONTROL is set to 1, and
−
DMAEN of PCMPWMi_CONTROL is set to 1
4.3.
Interface between SMIX and I2S
Output modules including I2S are connected to SMIX by a dedicated bus interface. On this interface, the
sound source transfer between SMIX and I2S is triggered by a data request from DMA interface of I2S.
I2S supports three type data transfers. These are "DMA", "Interrupt" and "Poling". I2S must be set to
"DMA", because the sound source is transferred from SMIX to I2S by using DMA interface.
Because it is impossible to transfer the sound source from DMAC to I2S directly, the sound source needs
to be transferred to I2S via SMIX. Therefore, the initialization of the SMIX is necessary even if it is not
necessary to do the mixing of the sound source. If the sound source is not mixing, only 1 PMIS input
channel (any number of channels can be used) of SMIX should be enabled.
4.3.1.
Configuration
The address of I2S must be set to Output destination address of SMIX (MACRO of MXOCTRL register).
The actual setting value is the following.
−
MACRO of MXOCTRL register : 0x3
Number of transfers to output destination of SMIX (DATATN of MXOCTRL register) must be same as Tx
FIFO Threshold of I2S (TFTH of I2Sn_INTCNT register).
4.3.2.
Limitation
Because the sound sources are transferred surely from SMIX to I2S, the following registers must not be
changed during the sound source translation.
Even if SMIX is disabled by MXCH register, the data transfer from SMIX to I2S is not stopped immediately.
Therefore, the following register must not be changed after setting it at the initialization.
−
MXOCTRL
And, TFTH of I2Sn_INTCNT must not be changed under the following condition.
Содержание S6J3200 Series
Страница 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Страница 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Страница 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Страница 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Страница 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...