PIC16F1938-I/SP Microchip Technology, PIC16F1938-I/SP Datasheet - Page 4

IC MCU 8BIT FLASH 28-DIP

PIC16F1938-I/SP

Manufacturer Part Number
PIC16F1938-I/SP
Description
IC MCU 8BIT FLASH 28-DIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1938-I/SP

Core Size
8-Bit
Program Memory Size
28KB (16K x 14)
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16F
Eeprom Memory Size
256Byte
Ram Memory Size
1024Byte
Cpu Speed
32MHz
No. Of Timers
5
Interface
EUSART, I2C, SPI
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F/LF1938/1939
EXAMPLE 1:
For other combinations of F
Instruction cycle delay counts, refer to Table 3.
TABLE 3:
DS80501A-page 4
BSF
BCF
MOVF
Note:
32 MHz
16 MHz
8 MHz
Affected Silicon Revisions
F
OSC
A1
X
ADCON0, ADGO
ADCON0, ADGO
ADRESH, W
The exact delay time will depend on the
choice of F
(ADCS) selection. The T
in the timing diagram above apply to this
example only. Refer to Table 3 for the
required
configurations.
INSTRUCTION CYCLE DELAY
COUNTS FOR OTHER F
AND T
F
F
F
F
F
F
F
OSC
OSC
OSC
OSC
OSC
OSC
OSC
T
CODE EXAMPLE OF
INSTRUCTION CYCLE
DELAY
AD
/64
/32
/64
/32
/16
/32
/16
delay
AD
OSC
; Start ADC conversion
; Provide 86
; Terminate the
; Read conversion
COMBINATIONS
Instruction Cycle Delay
instruction cycle
delay here
conversion manually
result
and the T
OSC
counts
, T
CY
Counts
AD
172
172
counts shown
86
86
43
86
43
for
values and
AD
OSC
divisor
other
2. Module: Enhanced Capture Compare
2.1 Enhanced PWM
2.2 Enhanced PWM
3. Module: Timer1
3.1 Timer1 Gate Toggle Mode with Timer0 as
When the PWM is configured for Full-Bridge mode
and the duty cycle is set to 0%, writing the
PxM<1:0> bits to change the direction has no
effect on PxA and PxC outputs.
Work around
Increase the duty cycle to a value greater than 0%
before changing directions.
Affected Silicon Revisions
In PWM mode, when the duty cycle is set to 0%
and the STRxSYNC bit is set, writing the STRxA,
STRxB, STRxC and the STRxD bits to enable/
disable steering to port pins has no effect on the
outputs.
Work around
Increase the duty cycle to a value greater than 0%
before enabling/disabling steering to port pins.
Affected Silicon Revisions
Gate Source
Timer1 Gate Toggle mode provides unexpected
results when Timer0 overflow is selected as the
Timer1 gate source. We do not recommend using
Timer0 overflow as the Timer1 gate source while in
Timer1 Gate Toggle mode or when Toggle mode is
used in conjunction with Timer1 Gate Single-Pulse
mode.
Work around
None.
Affected Silicon Revisions
A1
A1
A1
X
X
X
PWM (ECCP)
 2010 Microchip Technology Inc.

Related parts for PIC16F1938-I/SP