Multichannel Serial Interfaces
9-35
DSP Public Peripherals
Figure 9–13. Frame Duration Error—Too Few (Short)
T7
T6
T5
T4
T3
T2
T1
T0
T7
T6
T5
T4
T3
T2
T1
FSYNCH received
FSYNCH expected
CLK
TXD
IT_FERR
DSP_WRITE(1) => STATUS_REG(0)
T4
T3
T2
T1
T0
Channel 0
t(syn)
t(syn)
t(syn) < 2 T13 MHz
Channel 15
Over clock duration
9.5.1.4
Interrupt Programming
At module reset, RX_INT, TX_INT, and FERR_INT are masked.
To validate an interrupt:
If in multichannel mode, the RX and TX interrupts can be configured to occur
in a dedicated channel of the frame [1-16].
-
DSP_WRITE(channel_nb) = INTERRUPTS_REG(3:0) for RX_INT
-
INTERRUPTS_REG(7:4) for TX_INT
Unmask the interrupt:
-
DSP_WRITE(1) =
J
INTERRUPTS_REG(8) for RX_INT
J
INTERRUPTS_REG(9) for TX_INT
J
INTERRUPTS_REG(10) for FERR_INT
On interrupt occurrence:
-
DSP_READ =
J
STATUS_REG(1) for FERR_INT occurrence
J
STATUS_REG(2) for RX_INT occurrence
J
STATUS_REG(3) for RX character overflow
J
STATUS_REG(4) for TX_INT occurrence
J
STATUS_REG(5) for TX character underflow