PIC16F1934T-I/MV Microchip Technology, PIC16F1934T-I/MV Datasheet - Page 14
![7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm T/R](/photos/16/12/161286/qfn44_sml.jpg)
PIC16F1934T-I/MV
Manufacturer Part Number
PIC16F1934T-I/MV
Description
7KB Flash, 256B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm T/R
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheets
1.PIC16F722-ISS.pdf
(8 pages)
2.PIC16LF1933-ISS.pdf
(508 pages)
3.PIC16LF1933-ISS.pdf
(46 pages)
4.PIC16F1936-ISS.pdf
(2 pages)
5.PIC16F1936-ISS.pdf
(10 pages)
6.PIC16F1936-ISS.pdf
(40 pages)
7.PIC16F1936-ISS.pdf
(30 pages)
8.PIC16F1936-ISS.pdf
(12 pages)
Specifications of PIC16F1934T-I/MV
Core Processor
PIC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-UFQFN Exposed Pad
Processor Series
PIC16F
Core
PIC
Data Ram Size
256 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
5
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1934T-I/MV
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Notice that the Arithmetic_left_shift and the
logical_left_shift are identical functions. The
enhanced
logical_left_shift
substitute the logical_left_shift if ASLF is used
in the assembly language.
TABLE 5:
Table 5 above shows the differences between the
different shift operations.
MULTI-BYTE SHIFTS
A multi-byte shift can be created simply by making the
first operation the new shift instruction and all
subsequent operations rotate. The new instructions
shift the outgoing bit into the Carry flag where the rotate
instruction will bring it into the next byte.
ROM Table Access
Accessing data tables is frequently performed in many
applications. The traditional method on a PIC12/16
device is to assemble the table into a series of RETLW
instructions. By adding a value to the PC a value at a
specific offset can be returned to the calling function.
The enhanced PIC12/16 has a few improvements.
DS41375A-page 14
LSRF
LSLF
ASLF
ASRF_16
Starting Value
0x7F
0x7F
0x7F
0x80
0x80
0x80
val,f ; logical right shift
val,f ; logical left shift
val,f ; Arithmetic left shift
PIC12/16
SHIFT OPERATION
DIFFERENCES
ASRF
RRF
; really
LSRF/ASLF
LSRF/ASLF
LSRF/ASLF
LSRF/ASLF
shift)
Operation
ASRF
ASRF
but
only
MSB_f
LSB_f
the
logical
provides
assembler
0xC0, C = 0
0xFE, C = 0
0x00, C = 1
0x40, C = 0
0x3F, C = 1
0x3F, C = 1
Final Value
left
the
will
Fast Tables with FSR
The first trick is to simply use the FSR/INDF to return
values saved in program memory. When the MSB is set
in the FSRnH register, the value returned by INDF is
the Least Significant Byte (LSB) in the program
memory address specified by the FSR register. By
using the FSR to point to data in the program memory,
the additional capabilities of the MOVIW and MOVWI
instruction can be used to keep the software short.
Generally, the setup to use the FSR takes 4 cycles,
while each fetch can take 2 because fetches to
program memory take an extra cycle. The primary
advantage to using the FSR to fetch data from program
memory is the unified pointer. Data can be located in
GPR or program memory with no change in the access
requirements.
code
data_table
Note:
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
RETLW
MOVLW
MOVWF
MOVLW
ADDWF
MOVWF
CLRW
ADDWFC
MOVF
The HIGH directive will automatically set
the MSB if the label references an address
in program memory.
‘a’
‘m’
‘y’
‘ ‘
‘d’
‘a’
‘t’
HIGH data_table
FSROH
LOW data_table
data_index
FSR0L
FSR0H
INDF0, W
© 2009 Microchip Technology Inc.