SCI Programming Model
.
23
22
21
20
19
18
17
16
REIE
15
SCKP
7
WOMS
14
STIR
6
RWU
13
TMIE
5
WAKE
12
TIE
4
SBK
11
RIE
3
SSFTD
10
ILIE
2
WDS2
9
TE
1
WDS1
8
RE
0
WDS0
—Reserved bit; read as 0; write to 0 for future compatibility.
Figure 8-3. SCI Control Register (SCR)
Table 8-2. SCI Control Register (SCR) Bit Definitions
Bit
Number
23–17
16
Bit
Name
REIE
Reset
Value
0
0
Description
Reserved. Write to 0 for future compatibility.
Receive with Exception Interrupt Enable
Enables/disables the SCI receive data with exception interrupt. If REIE is cleared, the
receive data with exception interrupt is disabled. If both REIE and RDRF are set, and PE,
FE, and OR are not all cleared, the SCI requests an SCI receive data with exception
interrupt from the interrupt controller. Either a hardware RESET signal or a software
RESET instruction clears REIE.
15
SCKP
0
SCI Clock Polarity
Controls the clock polarity sourced or received on the clock signal (SCLK), eliminating
the need for an external inverter. When SCKP is cleared, the clock polarity is positive;
when SCKP is set, the clock polarity is negative. In Synchronous mode, positive polarity
means that the clock is normally positive and transitions negative during valid data.
Negative polarity means that the clock is normally negative and transitions positive
during valid data. In Asynchronous mode, positive polarity means that the rising edge of
the clock occurs in the center of the period that data is valid. Negative polarity means that
the falling edge of the clock occurs during the center of the period that data is valid.
Either a hardware RESET signal or a software RESET instruction clears SCKP.
14
STIR
0
Timer Interrupt Rate
Controls a divide-by-32 in the SCI Timer interrupt generator. When STIR is cleared, the
divide-by-32 is inserted in the chain. When STIR is set, the divide-by-32 is bypassed,
thereby increasing timer resolution by a factor of 32. Either a hardware RESET signal or
a software RESET instruction clears this bit. To ensure proper operation of the timer,
STIR must not be changed during timer operation (that is, if TMIE = 1).
13
TMIE
0
Timer Interrupt Enable
Enables/disables the SCI timer interrupt. If TMIE is set, timer interrupt requests are sent
to the interrupt controller at the rate set by the SCI clock register. The timer interrupt is
automatically cleared by the timer interrupt acknowledge from the interrupt controller.
This feature allows DSP programmers to use the SCI baud rate generator as a simple
periodic interrupt generator if the SCI is not in use, if external clocks are used for the SCI,
or if periodic interrupts are needed at the SCI baud rate. The SCI internal clock is divided
by 16 (to match the 1 × SCI baud rate) for timer interrupt generation. This timer does not
require that any SCI signals be configured for SCI use to operate. Either a hardware
RESET signal or a software RESET instruction clears TMIE.
DSP56311 User’s Manual, Rev. 2
Freescale Semiconductor
8-11
相关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