參數(shù)資料
型號(hào): MC68328PV
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: MICROCONTROLLER, PQFP144
封裝: PLASTIC, TQFP-144
文件頁數(shù): 37/198頁
文件大?。?/td> 551K
代理商: MC68328PV
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁當(dāng)前第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁
Universal Asynchronous Receiver/Transmitter
11-4
MC68328 USER’S MANUAL 12/9/97
MOTOROLA
UART
11
PRELIMINARY
The UART module is easy to use from both a hardware and a software perspective. Five
working registers provide all of the status and control functions and they are optimized for a
16-bit bus. For example, all status bits associated with the received data are available along
with the data byte in a single 16-bit read. All register bits are readable and most are
read/write.
The modem control signals are flexible. CTS is an input that can provide hardware
flow-control to the transmitter or it can serve as a general-purpose input. A maskable
interrupt is posted on each transition of this signal. RTS is an output from the receiver that
indicates that the receiver has space in the FIFO for data. This bit can be configured as a
general-purpose output. A GPIO pin is provided that can bring an external bit-clock into the
module. It can also serve as a general-purpose input with a maskable interrupt posted on
each transition. It can be configured as an output that provides a bit clock or a signal under
software control. The UART module consists of a transmitter, a reciever, a baud rate
generator, and an MPU interface.
11.3.1 Transmitter
The transmitter accepts a character (a byte) from the MPU bus and transmits it serially.
While the FIFO is empty, the transmitter outputs continuous idle (1 in NRZ mode and 0 in
infra-red mode). When a character is available for transmission, the START, STOP, and
PARITY (if enabled) bits are added to the character and it is serially shifted at the selected
bit rate. The transmitter posts a maskable interrupt when it needs more data from the CPU.
Three interrupts are available. If you want to take full advantage of the 8-byte FIFO, the FIFO
empty interrupt should be enabled. In the interrupt service routine, the FIFO should be
interrogated after each byte is loaded. If space is available (the TX AVAIL bit is set), more
data will be loaded into the FIFO. The transmitter will not generate another interrupt until the
FIFO has completely emptied. If you have a system that has a large interrupt service
latency, use the FIFO half interrupt. In this case, the transmitter generates an interrupt when
the FIFO occupancy is less than 4 bytes. If the FIFO is not needed, use the TX avail
interrupt. An interrupt will be generated whenever at least one space is available in the FIFO.
CTS can control the serial data flow. If CTS is negated (high), the transmitter finishes
sending the character in progress (if any), then waits for CTS to again become asserted
(low) for the next transmission. Set the SEND BREAK bit in the UART transmitter register
to generate a break character (continuous 0s). Your software must know the baud rate. The
SEND BREAK bit must be asserted for a sufficient amount of time to generate a valid break
character. You can generate parity errors for debugging purposes. The transmitter operates
from the 1x clock provided by the baud rate generator.
While the infra-red interface is enabled, the transmitter produces a pulse that is 3/16 of a bit
time for each 0 bit that is sent. The TXD port directly interfaces with popular infra-red
transceivers.
相關(guān)PDF資料
PDF描述
MC68330FE25 32-BIT, 25.16 MHz, MICROPROCESSOR, PQFP132
MC68330FE8V 32-BIT, 8.39 MHz, MICROPROCESSOR, PQFP132
MC68330CFE8V 32-BIT, 8.39 MHz, MICROPROCESSOR, PQFP132
MC68330FE16 32-BIT, 16.78 MHz, MICROPROCESSOR, PQFP132
MC68332ACFV25 32-BIT, 25 MHz, MICROCONTROLLER, PQFP144
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68328UM 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Integrated Portable System Processor-DragonBall
MC68330 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Integrated CPU32 Processor
MC68330CFE16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Integrated CPU32 Processor
MC68330CFE8V 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Integrated CPU32 Processor
MC68330CFG16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Integrated CPU32 Processor