PIC18LF27J13-I/SP Microchip Technology, PIC18LF27J13-I/SP Datasheet - Page 400

no-image

PIC18LF27J13-I/SP

Manufacturer Part Number
PIC18LF27J13-I/SP
Description
IC PIC MCU 128KB FLASH 28SPDIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18LF27J13-I/SP

Core Size
8-Bit
Program Memory Size
128KB (64K x 16)
Core Processor
PIC
Speed
48MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 2.75 V
Data Converters
A/D 10x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Controller Family/series
PIC18
Cpu Speed
48MHz
Digital Ic Case Style
DIP
Supply Voltage Range
1.8V To 3.6V
Embedded Interface Type
I2C, SPI, USART
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC18F47J13 FAMILY
The CTMU current source may be trimmed with the
trim bits in CTMUICON using an iterative process to get
an exact desired current. Alternatively, the nominal
value without adjustment may be used; it may be
stored by the software for use in all subsequent
capacitive or time measurements.
To calculate the optimal value for R
current must be chosen. For example, if the A/D Con-
verter reference voltage is 3.3V, use 70% of full scale
or 2.31V as the desired approximate voltage to be read
by the A/D Converter. If the range of the CTMU current
source is selected to be 0.55 A, the resistor value
needed is calculated as R
value of 4.2 MΩ. Similarly, if the current source is
chosen to be 5.5 A, R
42,000Ω if the current source is set to 55 A.
FIGURE 26-2:
DS39974A-page 400
ANx
R
CAL
CTMU CURRENT SOURCE
CALIBRATION CIRCUIT
Current Source
CAL
MUX
PIC18F47J13
CAL
would be 420,000Ω, and
= 2.31V/0.55 A, for a
A/D Converter
A/D
CAL
CTMU
, the nominal
Preliminary
A value of 70% of full-scale voltage is chosen to make
sure that the A/D Converter is in a range that is well
above the noise floor. Keep in mind that if an exact cur-
rent is chosen that is to incorporate the trimming bits
from CTMUICON, the resistor value of R
to be adjusted accordingly. R
to allow for available resistor values. R
the highest precision available, keeping in mind the
amount of precision needed for the circuit that the
CTMU will be used to measure. A recommended
minimum would be 0.1% tolerance.
The following examples show one typical method for
performing a CTMU current calibration. Example 26-1
demonstrates how to initialize the A/D Converter and
the CTMU. This routine is typical for applications using
both modules. Example 26-2 demonstrates one
method for the actual calibration routine.
 2010 Microchip Technology Inc.
CAL
may also be adjusted
CAL
CAL
should be of
may need

Related parts for PIC18LF27J13-I/SP