参数资料
型号: ST622XC-KIT
英文描述: STARTER KIT DATASHEET FOR ST620X. ST621X AND ST622X
中文描述: 入门套件部件的ST620X。 ST621X及ST622X
文件页数: 53/84页
文件大小: 969K
代理商: ST622XC-KIT
53/84
ST62T28C/E28C
U. A. R. T
(Cont’d)
4.5.2 Clock Generation
The UART contains a built-in divider of the MCU
internal clock for most common Baud Rates as
shown in
Table 19
. Other baud rate values can be
calculated from the chosen oscillator frequency di-
vided by the Divisor value shown.
The divided clock provides a frequency that is 8
times the desired baud rate. This allows the Data
reception mechanism to provide a 2 to 1 majority
voting system to determine the logic state of the
asynchronous incoming serial logic bit by taking 3
timed samples within the 8 time states.
The bits not sampled provide a buffer to compen-
sate for frequency offsets between sender and re-
ceiver.
4.5.3 Data Transmission
Whatever the format selected as MCU option, 10-
bit or 11-bit frame, the start and stop bit are auto-
matically generated by the UART. Only the re-
maining 8 (Resp. 9) bit in the 10-bit (Resp. 11-bit)
frame are under control of the user.
Transmission is started by writing the Data Regis-
ter, after having previously set the transmission
software options, the baudrate and the parity ena-
ble. In case of 11-bit frame, the 9th bit must then
be set before into the LSB of the UART Control
Register. Bit 9 remains in the state programmed
for consecutive transmissions until changed by the
user or until a character is received when the state
of this bit is changed to that of the incoming bit 9.
The UARTOE signal switches the output multi-
plexer to the UART output and a start bit is sent (a
0 for one bit time) followed by the data bit with the
LSB D0 at first.. The output is then set to 1 for a
period of one bit time to generate a Stop bit, and
then the UARTOE signal returns the TXD1 line to
its alternate I/O function. The end of transmission
is flagged by setting TXMT to 1 and an interrupt is
generated if enabled. The TXMT flag is reset by
writing a 0 to the bit position, it is also cleared au-
tomatically when a new character is written to the
Data Register. TXMT can be set to 1 by software
to generate a software interrupt so care must be
taken in manipulating the Control Register.
4.5.3.1 Character Format
Once the MCU option is set as 10-bit or 11-bit
frame, the frame length is fixed. Within these 8 or 9
remaining bit, any format can be used as shown in
the
Table 18
. Only the even parity automatic com-
putation in the 10-bit frame is available. Any other
parity bit can however be software computed and
processed as a data bit
Table 18. Character Options
Figure 31. 11-bit Character Format Example
Figure 32. UART Data Output
10 bit frame
No Parity
1 Even Parity (Auto)
1 Software Parity
11 bit frame
1 Software Parity
No Parity
No Parity
1 Software Parity
Start Bit
Start Bit
Start Bit
8 Data
7 Data
7 Data
1 Stop
1 Stop
1 Stop
Start Bit
Start Bit
Start Bit
Start Bit
8 Data
9 Data
8 Data
7 Data
1 Stop
1 Stop
2 Stop
2 Stop
VR02012
POSITION
1
2
8
10
BIT
BIT
START
STOP
BIT
POSSIBLE
NEXT
CHARACTER
START
D0
D1
D7 D8
START OF DATA
9
TXD1
TXD
PORT DATA
OUTPUT
0
MUX
1
UARTOE
VR02011
53
相关PDF资料
PDF描述
ST6246B 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 56 PINS
ST624XB-KIT STARTER KIT DATASHEET FOR ST624X
ST62E40BG1 8-BIT MICROCONTROLLER
ST62T45BQ6 8-BIT MICROCONTROLLER
ST6242B 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 64 PINS
相关代理商/技术参数
参数描述
ST622XC-KIT/110 功能描述:开发板和工具包 - 其他处理器 ST622X Starter Kit RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
ST622XC-KIT/UK 制造商:STMicroelectronics 功能描述:ST620 ST621 RS232 STARTER KIT
ST6230 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8/16-Bit Micros
ST6230B 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. A/D CONVERTER. 16-BIT AUTO-RELOAD TIMER. EEPROM. SPI. UART AND 28 PINS
ST6230BB1 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART