![NXP Semiconductors MC9S12VRP64 Owner Reference Manual Download Page 336](http://html.mh-extra.com/html/nxp-semiconductors/mc9s12vrp64/mc9s12vrp64_owner-reference-manual_1721842336.webp)
Serial Communication Interface (S12SCIV6)
MC9S12VRP Family Reference Manual Rev. 1.3
336
NXP Semiconductors
10.5.2
Modes of Operation
10.5.2.1
Run Mode
Normal mode of operation.
To initialize a SCI transmission, see
Section 10.4.5.2, “Character Transmission”
.
10.5.2.2
Wait Mode
SCI operation in wait mode depends on the state of the SCISWAI bit in the SCI control register 1
(SCICR1).
•
If SCISWAI is clear, the SCI operates normally when the CPU is in wait mode.
•
If SCISWAI is set, SCI clock generation ceases and the SCI module enters a power-conservation
state when the CPU is in wait mode. Setting SCISWAI does not affect the state of the receiver
enable bit, RE, or the transmitter enable bit, TE.
If SCISWAI is set, any transmission or reception in progress stops at wait mode entry. The
transmission or reception resumes when either an internal or external interrupt brings the CPU out
of wait mode. Exiting wait mode by reset aborts any transmission or reception in progress and
resets the SCI.
10.5.2.3
Stop Mode
The SCI is inactive during stop mode for reduced power consumption. The STOP instruction does not
affect the SCI register states, but the SCI bus clock will be disabled. The SCI operation resumes from
where it left off after an external interrupt brings the CPU out of stop mode. Exiting stop mode by reset
aborts any transmission or reception in progress and resets the SCI.
The receive input active edge detect circuit is still active in stop mode. An active edge on the receive input
can be used to bring the CPU out of stop mode.
10.5.3
Interrupt Operation
This section describes the interrupt originated by the SCI block.The MCU must service the interrupt
requests.
lists the eight interrupt sources of the SCI.
Table 10-20. SCI Interrupt Sources
Interrupt
Source
Local Enable
Description
TDRE
SCISR1[7]
TIE
Active high level. Indicates that a byte was transferred from SCIDRH/L to the
transmit shift register.
TC
SCISR1[6]
TCIE
Active high level. Indicates that a transmit is complete.
RDRF
SCISR1[5]
RIE
Active high level. The RDRF interrupt indicates that received data is available
in the SCI data register.
OR
SCISR1[3]
Active high level. This interrupt indicates that an overrun condition has occurred.
IDLE
SCISR1[4]
ILIE
Active high level. Indicates that receiver input has become idle.
Summary of Contents for MC9S12VRP64
Page 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Page 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Page 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Page 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Page 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Page 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Page 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Page 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Page 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Page 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...