參數(shù)資料
型號: ST52T430K3T6
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 20 MHz, MICROCONTROLLER, PQFP32
封裝: TQFP-32
文件頁數(shù): 64/88頁
文件大?。?/td> 1162K
代理商: ST52T430K3T6
ST52T430/E430
67/88
Figure 11.3 SCI Status Input Register
If the core supplies new data it can’t be loaded in
the SCDR_TX block until the current data hasn’t
been unloaded on the Shift Register block.
Therefore, data may be loaded in the SCDR_TX
Block only when TXEM is 1.
When the SHIFT REGISTER Block loads data to
be transmitted on an internal buffer, TXEND is
reset to 0 in order to indicate the beginning of a
new transmission. At the end of transmission
TXEND is set to 1, allowing to load new data
coming from SCDR_TX in the SHIFT REGISTER.
Note: TXEND = 1 does not mean SCDR_TX is
ready to receive new data. For this reason it is
better to utilize the TXEM signal in order to
synchronize the LDPR instruction to the SCI
TRANSMITTER block
If the ST52x430 core resets TE to 0, the
transmission is interrupted, but the SCI Transmitter
block completes the transmission in progress
before reset.
Warning:
after the stop bit in SCI transmission an
idle time is present before the next start bit. This
time is equal to the duration of a bit transmission.
11.3 Baud Rate Generator Block
The Baud Rate Generator Block performs the
division of the clock master signal (CKM), in a set
of synchronism frequencies for the serial bit
reception/transmission on the external line.
Table 11.1 illustrates the set of frequencies
selected
by
means
of
BRSL
(Configuration
Register 20).
Reception frequency (CLOCK_RX) is 16 times
higher than transmission frequency (CLOCK_TX).
The following example illustrates a simple way to
use SCI to receive and transmit data:
LDRC 1 155
LDCR 20 1
These instructions load value 155
on the Configuration Register 20
fixing the Baud Rate=9600, 8 bit
data, TE=1, RE=1; Parity; 1 stop bit.
LDRC 1 252
LDCR 19 4
SCI
Interrupts
enabled,
clock
frequency 20 MHz
LDRC 1 170
LDPR 9 1
Send data to transmission buffer
WAITI
LDRI 6 19
Save the SCI status register on the
RAM
LDRI 1 18
Save the received data on a RAM
register
D7 D6 D5 D4 D3 D2 D1 D0
SCI_ST
Input Register 19
TXEND
- END TRANSMISSION
TXEM
- TRANSMISSION DATA REGISTER EMPTY
R8
- RECEIVED NINTH BIT
NSERR
- NOISE ERROR
NOT USED
OVERR - OVERRUN ERROR
RXF
- RECEIVE DATA REGISTER FULL
FRERR
- FRAME ERROR
相關PDF資料
PDF描述
ST5X86V12HS 64-BIT, 120 MHz, MICROPROCESSOR, CPGA168
ST6235Q6 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP52
ST6240BQ6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
ST6242BQ1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
ST6246BB6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP56
相關代理商/技術參數(shù)
參數(shù)描述
ST52T440 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
ST52T440F0B6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
ST52T440F0M6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
ST52T440F1B6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
ST52T440F1M6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG