參數(shù)資料
型號: PIC18F2331-I/SP
廠商: Microchip Technology
文件頁數(shù): 47/119頁
文件大?。?/td> 0K
描述: IC PIC MCU FLASH 4KX16 28DIP
產(chǎn)品培訓(xùn)模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標(biāo)準(zhǔn)包裝: 15
系列: PIC® 18F
核心處理器: PIC
芯體尺寸: 8-位
速度: 40MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,LVD,電源控制 PWM,QEI,POR,PWM,WDT
輸入/輸出數(shù): 24
程序存儲器容量: 8KB(4K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 256 x 8
RAM 容量: 768 x 8
電壓 - 電源 (Vcc/Vdd): 4.2 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 5x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 28-DIP(0.300",7.62mm)
包裝: 管件
產(chǎn)品目錄頁面: 645 (CN2011-ZH PDF)
配用: I3-DB18F4431-ND - BOARD DAUGHTER ICEPIC3
DVA18XP280-ND - DEVICE ADAPTER 18F2220 PDIP 28LD
2010 Microchip Technology Inc.
DS39616D-page 33
PIC18F2331/2431/4331/4431
3.6.4.1
Compensating with the EUSART
An adjustment may be required when the EUSART
begins generating framing errors or receives data with
errors while in Asynchronous mode. Framing errors
frequently indicate that the device clock frequency is
too high. To adjust for this, decrement the value in the
OSCTUNE register to reduce the clock frequency.
Conversely, errors in data may suggest that the clock
speed is too low; to compensate, increment the
OSCTUNE register to increase the clock frequency.
3.6.4.2
Compensating with the Timers
This technique compares the device clock speed to
that of a reference clock. Two timers may be used: one
timer clocked by the peripheral clock and the other by
a fixed reference source, such as the Timer1 oscillator.
Both timers are cleared, but the timer clocked by the
reference generates interrupts. When an interrupt
occurs, the internally clocked timer is read and both
timers are cleared. If the internally clocked timer value
is greater than expected, the internal oscillator block is
running too fast. To adjust for this, decrement the
OSCTUNE register.
3.6.4.3
Compensating with the CCP Module
in Capture Mode
A CCP module can use free-running Timer1 (or
Timer3), clocked by the internal oscillator block and an
external event with a known period (such as the AC
power frequency). The time of the first event is cap-
tured in the CCPRxH:CCPRxL registers and recorded
for later use. When the second event causes a capture,
the time of the first event is subtracted from the time of
the second event. Since the period of the external
event is known, the time difference between events can
be calculated.
If the measured time is much greater than the calcu-
lated time, the internal oscillator block is running too
fast. To compensate for this, decrement the OSCTUNE
register. If the measured time is much less than the
calculated time, the internal oscillator block is running
too slow and the OSCTUNE register should be
incremented.
REGISTER 3-1:
OSCTUNE: OSCILLATOR TUNING REGISTER
U-0
R/W-0
TUN5
TUN4
TUN3
TUN2
TUN1
TUN0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
Unimplemented:
Read as ‘0’
bit 5-0
TUN<5:0>:
Frequency Tuning bits
011111
= Maximum frequency
000001
000000
= Center frequency. Oscillator module is running at the calibrated frequency.
111111
100000
= Minimum frequency
相關(guān)PDF資料
PDF描述
PIC18F2431-I/SO IC PIC MCU FLASH 8KX16 28SOIC
PIC24FJ64GA310-I/BG MCU 16BIT 64KB FLASH 121TFBGA
DSPIC30F3011-20I/PT IC DSPIC MCU/DSP 24K 44TQFP
PIC16F84A-20I/SO IC MCU FLASH 1KX14 EE 18SOIC
DSPIC30F3011-30I/PT IC DSPIC MCU/DSP 24K 44TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC18F2331T-E/SOG 功能描述:8位微控制器 -MCU 8kBF 768RM 22I/O Lead Free Package RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F2331T-I/ML 功能描述:8位微控制器 -MCU 8KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F2331T-I/MM 功能描述:8位微控制器 -MCU 8kBF 768RM 22I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F2331T-I/SO 功能描述:8位微控制器 -MCU 8KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC18F23K20-E/ML 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT