SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
The RINTM bits (see Table 20-35) determine 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. The options are set by the receive interrupt mode bits, RINTM, in SPCR1.
Register | Bit | Name | Function | Type | Reset Value | |
---|---|---|---|---|---|---|
SPCR1 | 5-4 | RINTM | Receive interrupt mode | R/W | 00 | |
RINTM = 00 | RINT generated when RRDY changes from 0 to 1. Interrupt on every serial word by tracking the RRDY bit in SPCR1. Regardless of the value of RINTM, RRDY can be read to detect the RRDY = 1 condition. | |||||
RINTM = 01 | RINT generated by an end-of-block or end-of-frame condition in the receive multichannel selection mode. 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. For details, see Section 20.6.8. 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 the reset state. This is done by synchronizing the incoming frame-synchronization pulse to the CPU clock and sending the pulse to the CPU using 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. For information on using RSYNCERR, see Section 20.5.3. |