欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18LF4320-I/ML 参数 Datasheet PDF下载

PIC18LF4320-I/ML图片预览
型号: PIC18LF4320-I/ML
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能,增强型闪存微控制器与10位A / D和纳瓦技术 [28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路时钟
文件页数/大小: 388 页 / 6899 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第193页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第194页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第195页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第196页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第198页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第199页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第200页浏览型号PIC18LF4320-I/ML的Datasheet PDF文件第201页  
PIC18F2220/2320/4220/4320  
18.1 Asynchronous Operation in Power  
Managed Modes  
18.0 ADDRESSABLE UNIVERSAL  
SYNCHRONOUS  
ASYNCHRONOUS RECEIVER  
TRANSMITTER (USART)  
The USART may operate in Asynchronous mode while  
the peripheral clocks are being provided by the internal  
oscillator block. This mode makes it possible to remove  
the crystal or resonator that is commonly connected as  
the primary clock on the OSC1 and OSC2 pins.  
The Universal Synchronous Asynchronous Receiver  
Transmitter (USART) module is one of the two serial  
I/O modules available in the PIC18F2X20/4X20 family  
of microcontrollers. (USART is also known as a Serial  
Communications Interface or SCI.) The USART can be  
configured as a full-duplex asynchronous system that  
can communicate with peripheral devices, such as  
CRT terminals and personal computers, or it can be  
configured as a half-duplex synchronous system that  
can communicate with peripheral devices, such as A/D  
or D/A integrated circuits, serial EEPROMs, etc.  
The factory calibrates the internal oscillator block out-  
put (INTOSC) for 8 MHz. However, this frequency may  
drift as VDD or temperature changes and this directly  
affects the asynchronous baud rate. Two methods may  
be used to adjust the baud rate clock, but both require  
a reference clock source of some kind.  
The first (preferred) method uses the OSCTUNE regis-  
ter to adjust the INTOSC output back to 8 MHz. Adjust-  
ing the value in the OSCTUNE register allows for fine  
resolution changes to the system clock source (see  
Section 3.6 “INTOSC Frequency Drift” for more  
information).  
The USART can be configured in the following modes:  
• Asynchronous (full-duplex)  
• Synchronous – Master (half-duplex)  
• Synchronous – Slave (half-duplex)  
The other method adjusts the value in the Baud Rate  
Generator since there may be not be fine enough res-  
olution when adjusting the Baud Rate Generator to  
compensate for a gradual change in the peripheral  
clock frequency.  
The RC6/TX/CK and RC7/RX/DT pins must be config-  
ured as shown for use with the Universal Synchronous  
Asynchronous Receiver Transmitter:  
• SPEN (RCSTA<7>) bit must be set (= 1)  
• TRISC<7> bit must be set (= 1)  
• TRISC<6> bit must be cleared (= 0)  
Register 18-1 shows the Transmit Status and Control  
register (TXSTA) and Register 18-2 shows the Receive  
Status and Control register (RCSTA).  
2003 Microchip Technology Inc.  
DS39599C-page 195  
 复制成功!