參數(shù)資料
型號: PIC24FJ128GA008-I/PT
廠商: Microchip Technology
文件頁數(shù): 82/258頁
文件大小: 0K
描述: IC PIC MCU FLASH 128K 80TQFP
產(chǎn)品培訓(xùn)模塊: PIC24 Introduction
Graphics LCD System and PIC24 Interface
Asynchronous Stimulus
特色產(chǎn)品: PIC24FJ/33FJ MCUs & dsPIC? DSCs
標(biāo)準(zhǔn)包裝: 119
系列: PIC® 24F
核心處理器: PIC
芯體尺寸: 16-位
速度: 16MHz
連通性: I²C,PMP,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 69
程序存儲器容量: 128KB(43K x 24)
程序存儲器類型: 閃存
RAM 容量: 8K x 8
電壓 - 電源 (Vcc/Vdd): 2 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 16x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 80-TQFP
包裝: 托盤
產(chǎn)品目錄頁面: 648 (CN2011-ZH PDF)
配用: 876-1004-ND - PIC24 BREAKOUT BOARD
DM240011-ND - KIT STARTER MPLAB FOR PIC24F MCU
MA160011-ND - DAUGHTER BOARD PICDEM LCD 16F91X
DM240001-ND - BOARD DEMO PIC24/DSPIC33/PIC32
AC164328-ND - MODULE SKT FOR 80TQFP
第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頁第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頁當(dāng)前第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頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁
PIC24FJ128GA010 FAMILY
DS39747F-page 172
2005-2012 Microchip Technology Inc.
19.2
Calibration
The real-time crystal input can be calibrated using the
periodic auto-adjust feature. When properly calibrated,
the RTCC can provide an error of less than 3 seconds
per month. This is accomplished by finding the number
of error clock pulses and storing the value into the
lower half of the RCFGCAL register. The 8-bit signed
value loaded into the lower half of RCFGCAL is multi-
plied by four and will either be added or subtracted from
the RTCC timer, once every minute. Refer to the steps
below for RTCC calibration:
1.
Using another timer resource on the device, the
user must find the error of the 32.768 kHz
crystal.
2.
Once the error is known, it must be converted to
the number of error clock pulses per minute.
EQUATION 19-1:
3.
a) If the oscillator is faster then ideal (negative
result form Step 2), the RCFGCAL register value
needs to be negative. This causes the specified
number of clock pulses to be subtracted from
the timer counter, once every minute.
b) If the oscillator is slower then ideal (positive
result from Step 2), the RCFGCAL register value
needs to be positive. This causes the specified
number of clock pulses to be subtracted from
the timer counter, once every minute.
4.
Divide the number of error clocks per minute by
4 to get the correct CAL value and load the
RCFGCAL register with the correct value. (Each
1-bit increment in CAL adds or subtracts
4 pulses). Load the RCFGCAL register with the
correct value.
Writes to the lower half of the RCFGCAL register
should only occur when the timer is turned off or
immediately after the rising edge of the seconds pulse.
19.3
Alarm
Configurable from half second to one year
Enabled using the ALRMEN bit
(ALCFGRPT<15>, Register 19-3)
One-time alarm and repeat alarm options are
available
19.3.1
CONFIGURING THE ALARM
The alarm feature is enabled using the ALRMEN bit.
This bit is cleared when an alarm is issued. Writes to
ALRMVALH:ALRMVALL should only take place when
ALRMEN = 0.
As shown in Figure 19-2, the interval selection of the
alarm is configured through the AMASK bits
(ALCFGRPT<13:10>). These bits determine which and
how many digits of the alarm must match the clock value
for the alarm to occur. The alarm can also be configured
to repeat, based on a preconfigured interval. The
amount of times this occurs, once the alarm is enabled,
is stored in the lower half of the ALCFGRPT register.
When
ALCFGRPT
=
00
and
the
CHIME
(ALCFGRPT<14>) bit = 0, the repeat function is
disabled and only a single alarm will occur. The alarm
can be repeated up to 255 times by loading the lower
half of the ALCFGRPT register with FFh.
After each alarm is issued, the ALCFGRPT register is
decremented by one. Once the register has reached
‘00’, the alarm will be issued one last time, after which,
the ALRMEN bit will be cleared automatically and the
alarm will turn off. Indefinite repetition of the alarm can
occur if the CHIME bit = 1. Instead of the alarm being
disabled when the ALCFGRPT register reaches ‘00’, it
will roll over to FF and continue counting indefinitely
when CHIME = 1.
19.3.2
ALARM INTERRUPT
At every alarm event an interrupt is generated. In addi-
tion, an alarm pulse output is provided that operates at
half the frequency of the alarm. This output is
completely synchronous to the RTCC clock and can be
used as a trigger clock to other peripherals.
Note:
It is up to the user to include in the error
value, the initial error of the crystal drift
due to temperature and drift due to crystal
aging.
(Ideal Frequency – Measured Frequency) * 60 = Clocks per Minute
Ideal Frequency = 32,768 Hz
Note:
Changing any of the registers, other then
the RCFGCAL and ALCFGRPT registers,
and the CHIME bit while the alarm is
enabled (ALRMEN = 1), can result in a
false alarm event leading to a false alarm
interrupt. To avoid a false alarm event, the
timer and alarm values should only be
changed while the alarm is disabled
(ALRMEN = 0). It is recommended that
the ALCFGRPT register and CHIME bit be
changed when RTCSYNC = 0.
相關(guān)PDF資料
PDF描述
PIC16F737-I/SP IC PIC MCU FLASH 4KX14 28DIP
PIC18F86K22-I/PTRSL MCU PIC 64K FLASH XLP 80TQFP
PIC16C63A-04I/SP IC MCU OTP 4KX14 PWM 28DIP
PIC16C63A-04I/SO IC MCU OTP 4KX14 PWM 28SOIC
52559-2270 CONN FFC 22POS .5MM VERT ZIF SMD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC24FJ128GA008T-I/PF 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:64/80/100-Pin General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA008T-I/PT 功能描述:16位微控制器 - MCU 128KB 69I/O RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
PIC24FJ128GA010 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA010_09 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:64/80/100-Pin General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA010_12 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers