SCI Programming Model
Table 8-2. SCI Control Register (SCR) Bit Definitions (Continued)
Bit
Number
8
Bit
Name
RE
Reset
Value
0
Receiver Enable
Description
When RE is set, the receiver is enabled. When RE is cleared, the receiver is disabled,
and data transfer from the receive shift register to the receive data register (SRX) is
inhibited. If RE is cleared while a character is being received, the reception of the
character completes before the receiver is disabled. RE does not inhibit RDRF or receive
interrupts. Either a hardware RESET signal or a software RESET instruction clears RE.
7
WOMS
0
Wired-OR Mode Select
When WOMS is set, the SCI TXD driver is programmed to function as an open-drain
output and can be wired together with other TXD signals in an appropriate bus
configuration, such as a master-slave multidrop configuration. An external pullup resistor
is required on the bus. When WOMS is cleared, the TXD signal uses an active internal
pullup. Either a hardware RESET signal or a software RESET instruction clears WOMS.
6
RWU
0
Receiver Wakeup Enable
When RWU is set and the SCI is in Asynchronous mode, the wakeup function is enabled;
that is, the SCI is asleep and can be awakened by the event defined by the WAKE bit. In
Sleep state, all interrupts and all receive flags except IDLE are disabled. When the
receiver wakes up, RWU is cleared by the wakeup hardware. You can also clear the
RWU bit to wake up the receiver. You can use RWU to ignore messages that are for
other devices on a multidrop serial network. Wakeup on idle line (i. e., WAKE is cleared)
or wakeup on address bit (i. e., WAKE is set) must be chosen. When WAKE is cleared
and RWU is set, the receiver does not respond to data on the data line until an idle line is
detected. When WAKE is set and RWU is set, the receiver does not respond to data on
the data line until a data frame with Bit 9 set is detected.
When the receiver wakes up, the RWU bit is cleared, and the first frame of data is
received. If interrupts are enabled, the CPU is interrupted and the interrupt routine reads
the message header to determine whether the message is intended for this DSP. If the
message is for this DSP, the message is received, and RWU is set to wait for the next
message. If the message is not for this DSP, the DSP immediately sets RWU. Setting
RWU causes the DSP to ignore the remainder of the message and wait for the next
message. Either a hardware RESET signal or a software RESET instruction clears RWU.
RWU is ignored in Synchronous mode.
5
WAKE
0
Wakeup Mode Select
When WAKE is cleared, the wakeup on Idle Line mode is selected. In the wakeup on idle
line mode, the SCI receiver is re-enabled by an idle string of at least 10 or 11 (depending
on WDS mode) consecutive ones. The transmitter’s software must provide this idle string
between consecutive messages. The idle string cannot occur within a valid message
because each word frame there contains a start bit that is 0.
When WAKE is set, the wakeup on address bit mode is selected. In the wakeup on
address bit mode, the SCI receiver is re-enabled when the last (eighth or ninth) data bit
received in a character (frame) is 1. The ninth data bit is the address bit (R8) in the 11-bit
multidrop mode; the eighth data bit is the address bit in the 10-bit asynchronous and
11-bit asynchronous with parity modes. Thus, the received character is an address that
has to be processed by all sleeping processors—that is, each processor has to compare
the received character with its own address and decide whether to receive or ignore all
following characters.
DSP56311 User’s Manual, Rev. 2
Freescale Semiconductor
8-13
相关PDF资料
DSPAUDIOEVMMB1E BOARD MOTHER DSP563XX
DSPIC30F2010 DEVELOPMENT KIT KIT DEV EMBEDDED C
DSTRM-KT-0181A DSTREAM DEBUG AND TRACE UNIT
DSUT1CSU SURGE SUPPR NETWORK W/GROUND
DTEL2 SURGE SUPPRESSOR PHONE RJ11/RJ45
DV003001 PROGRAMMER PICSTART PLUS 16C/17C
DV164035 MPLAB ICD3 IN-CIRC DEBUGGER
DV164039 KIT DEV PIC24FJ256DA210
相关代理商/技术参数
DSP56311EVMIG_D 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311EVMIG DSP56311EVM Sample Code
DSP56311EVMUM 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 Evaluation Module Hardware Reference Manual
DSP56311FACT 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 Higher performance programmable DSP for demanding voice and data applications
DSP56311UM 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 24-Bit Digital Signal Processor Users Manual
DSP56311UMAD 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 Users Manual Addendum
DSP56311VF150 功能描述:数字信号处理器和控制器 - DSP, DSC 150Mhz/300MMACS 150Mhz EFCOP RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSP56311VF150B1 功能描述:数字信号处理器和控制器 - DSP, DSC 24 BIT DSP RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSP56311VF150R2 功能描述:数字信号处理器和控制器 - DSP, DSC 24 BIT DSP RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT