Setting the Receive Interrupt Mode
Receiver Configuration
7-22
SPRU592E
7.15 Setting the Receive Interrupt Mode
generates a receive interrupt request to the CPU.
Figure 7
−
15. Register Bits Used to Set the Receive Interrupt Mode
SPCR1
15
6 5
4 3
0
RINTM
R/W-00
Legend:
R = Read; W = Write; -
n
= Value after reset
Table 7
−
18. Register Bits Used to Set the Receive Interrupt Mode
Register
Bit
Name
Function
SPCR1
5–4
RINTM
Receive Interrupt Mode
RINTM = 00
RINT generated when RRDY changes from 0 to 1
RINTM = 01
RINT generated by an end-of-block or end-of-frame
condition in the receive multichannel selection mode
RINTM = 10
RINT generated by a new receive frame-sync pulse
RINTM = 11
RINT generated when RSYNCERR is set
7.15.1 About the Receive Interrupt and the Associated Modes
The receive interrupt (RINT) signals the CPU of changes to the serial port
status. Four options exist for configuring this interrupt. The options are set by
the receive interrupt mode bits, RINTM, in SPCR1.
-
RINTM = 00b. Interrupt on every serial word by tracking the RRDY bit in
SPCR1. Note that regardless of the value of RINTM, RRDY can be read
to detect the RRDY = 1 condition.
-
RINTM = 01b. In the multichannel selection mode, interrupt after every
16-channel block boundary has been crossed within a frame and at the
end of the frame. In any other serial transfer case, this setting is not
applicable and, therefore, no interrupts are generated.
-
RINTM = 10b. Interrupt on detection of receive frame-sync pulses. This
generates an interrupt even when the receiver is in its reset state. This is
done by synchronizing the incoming frame-sync pulse to the McBSP
internal input clock and sending it to the CPU via RINT.
-
RINTM = 11b. Interrupt on frame-synchronization error. Note that
regardless of the value of RINTM, RSYNCERR can be read to detect this
condition.
Summary of Contents for TMS320VC5509
Page 5: ...vi This page is intentionally left blank ...
Page 43: ...McBSP Operation 2 20 SPRU592E This page is intentionally left blank ...
Page 105: ...SPI Operation Using the Clock Stop Mode 6 16 SPRU592E This page is intentionally left blank ...
Page 187: ...Transmitter Configuration 8 40 SPRU592E This page is intentionally left blank ...
Page 191: ...General Purpose I O on the McBSP Pins 9 4 SPRU592E This page is intentionally left blank ...
Page 201: ...Emulation Power and Reset Considerations 10 10 SPRU592E ...
Page 207: ...Data Packing Examples 11 6 SPRU592E This page is intentionally left blank ...
Page 273: ...McBSP Register Worksheet 13 14 SPRU592E This page is intentionally left blank ...