Fsrm And Gsync Effects On Frame-Sync Signal And Mcbsp.fsr Pin - Texas Instruments TMS320C6A816 Series Technical Reference Manual

C6-integra dsp+arm processors
Table of Contents

Advertisement

Architecture
11.2.8.5.14 Set the Receive Interrupt Mode (legacy only)
The RINTM bit field (SPCR1_REG[5:4]) determines which event generates a receive interrupt request
to the CPU. The receive interrupt (RINT) informs the CPU of changes to the serial port status. Four
options exist for configuring this interrupt.
RINTM = 00: RINT generated when the RRDY bit (SPCR1_REG[1]) changes from 0 to 1. Interrupt
on every serial word by tracking the RRDY bit in the SPCR1_REG register. Regardless of the value
of RINTM, RRDY can be read to detect the RRDY = 1 condition.
RINTM = 01: RINT generated by an end–of–frame condition in the receive multichannel selection
mode. In any other serial transfer case, this setting is not applicable and, therefore, no interrupts are
generated.
RINTM = 10: RINT generated by a new receive frame–synchronization pulse. Interrupt on detection
of receive frame–synchronization pulses. This generates an interrupt even when the receiver is in its
reset state. This is done by synchronizing the incoming frame–synchronization pulse to the CPU
clock and sending it to the CPU via RINT.
RINTM = 11: RINT generated when RSYNCERR is set. Interrupt on frame–synchronization error.
Regardless of the value of RINTM, RSYNCERR can be read to detect this condition
The McBSP provides also a common interrupt line McBSP.COMMONIRQ, which can be used by
setting the IRQENABLE register. All the above settings have equivalent enable bits in the IRQENABLE
register in order to enable the common interrupt line (RRDYEN is equivalent with RINTM = 00,
REOFEN is equivalent with RINTM = 01 (the interrupt is generated by an end-of-frame condition
regardless of the multichannel selection mode), RFSREN is equivalent with RINTM = 10 and
RSYNCERREN is equivalent with RINTM = 11 setting). This interrupt line has its own status register.
11.2.8.5.15 Set the Receive Frame-Sync Mode
FSRM bit (PCR_REG[10]), GSYNC bit (SRGR2_REG[15]), ALB bit (SPCR1_REG[15]) and DLB bit field
(XCCR_REG) are used to determine the source for receive frame synchronization and the function of
the McBSP.FSR pin.
Table 11-13
shows how you can select various sources to provide the receive frame–synchronization
signal and the effect on the McBSP.FSR pin. The polarity of the signal on the McBSP.FSR pin is
determined by the FSRP bit.
In digital loop-back mode (DLB = 1), the transmit frame–synchronization signal is used as the receive
frame–synchronization signal.
Also in the analog loop back mode, the internal receive clock signal (CLKR), the internal receive
frame–synchronization signal (FSR) are internally connected to their transmit counterparts, CLKX and
FSX.
In the digital loop-back mode (DLB = 1) or analog loop-back mode (ALB = 1), the transmit frame
synchronization signal is used as the receive frame synchronization signal.
Table 11-13. FSRM and GSYNC Effects on Frame-Sync Signal and McBSP.FSR Pin
FSRM
0
1
1
1162 Multichannel Buffered Serial Port (McBSP)
Preliminary
GSYNC
Source of Receive Frame Synchronization
0 or 1
An external frame synchronization signal enters the
McBSP through the McBSP.FSR pin. The signal is
then inverted as determined by FSRP before being
used as internal FSR.
0
Internal FSR is driven by the sample rate generator
frame–synchronization signal (FSG).
1
Internal FSR is driven by the sample rate generator
frame–synchronization signal (FSG).
© 2011, Texas Instruments Incorporated
www.ti.com
McBSP.FSR Pin Status
Input
Output. FSG is inverted as
determined by FSRP before being
driven out on the McBSP.FSR pin.
Input. The external
frame–synchronization input on the
McBSP.FSR pin is used to
synchronize CLKG and generate
FSG pulses.
SPRUGX9 – 15 April 2011
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents