PIC18F85J90-I/PT Microchip Technology, PIC18F85J90-I/PT Datasheet - Page 38

no-image

PIC18F85J90-I/PT

Manufacturer Part Number
PIC18F85J90-I/PT
Description
IC PIC MCU FLASH 16KX16 80TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F85J90-I/PT

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, LVD, POR, PWM, WDT
Number Of I /o
67
Program Memory Type
FLASH
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Controller Family/series
PIC18
No. Of I/o's
67
Ram Memory Size
2KB
Cpu Speed
40MHz
No. Of Timers
4
No. Of Pwm Channels
2
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
AUSART, EUSART, I2C, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
67
Number Of Timers
4
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164136, DM163030
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Package
80TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
2.5|3.3 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162079 - HEADER MPLAB ICD2 18F85J90 64/80AC164328 - MODULE SKT FOR 80TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85J90-I/PT
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F85J90-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
MCP3909/PIC18F85J90 Single Phase Energy Meter Reference Design
DS51884A-page 38
5.3.3
The following equations represent the proper method for calculating the calibration and
correction factors after configuration C1. The PC calibration software handles these
calculations automatically.
The following equations only apply when calibrating a standard phase.
The first four equations apply for calculating the proper output frequency of the CF out-
put. See Figure 5-3 for meter input conditions.
EQUATION 5-1:
EQUATION 5-2:
EQUATION 5-3:
EQUATION 5-4:
The gain matching registers for the standard phase need to be set to the following
values when calibrating a standard phase:
EQUATION 5-5:
The following equations apply for calculating the proper GLSB registers when
calibrating both a standard phase, and a non-standard phase. See flow chart for meter
input conditions.
Note:
Note:
CFDEN
Equations for Configuration C1 Calibration
Convert to 8-bit signed integer for compatibility with PIC18F2520 register
and firmware calculations.
Convert to 16-bit signed integer for compatibility with PIC18F2520 register
and firmware calculations.
CFNUM
=
LOG
-------------------------------------------------------------------------------------------------------------------------- -
CF_IMP_S
=
LINE_CYC_NUM
--------------------------------------------------------------- - 2
2
---------------------------------------- LINE_CYC_NUM 256
--------------------------------------------------------- -
LINE_CYC_NUM 256
Line Freq 128
32
ENERGY_W_L_RAW
PHA_W_GAIN
2
----------------------------------------
Line Freq 128
32
CF_IMP_S
=
CF_IMP_S
Meter Constant
------------------------------------ -
LOG(2)
=
3600
=
--------------------------------------------------------- -
2
ENERGY_W_L_RAW
LINE_CYC
16 384
,
© 2009 Microchip Technology Inc.
V
----------- -
1000
CFDEN
B
I
B
32768
+
1

Related parts for PIC18F85J90-I/PT