PIC16F1937T-I/MV Microchip Technology, PIC16F1937T-I/MV Datasheet - Page 54
![14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm T/R](/photos/16/12/161286/qfn44_sml.jpg)
PIC16F1937T-I/MV
Manufacturer Part Number
PIC16F1937T-I/MV
Description
14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm T/R
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet
1.PIC16F1937-EMV.pdf
(472 pages)
Specifications of PIC16F1937T-I/MV
Processor Series
PIC16F
Core
PIC
Program Memory Type
Flash
Program Memory Size
14 KB
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
Package / Case
UQFN-40
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
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
Eeprom Size
256 x 8
Ram Size
512 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
Lead Free Status / Rohs Status
Details
- Current page: 54 of 472
- Download datasheet (5Mb)
PIC16(L)F1934/6/7
3.4
All devices have a 16-level x 15-bit wide hardware
stack (refer to
space is not part of either program or data space. The
PC is PUSHed onto the stack when CALL or CALLW
instructions are executed or an interrupt causes a
branch. The stack is POPed in the event of a RETURN,
RETLW or a RETFIE instruction execution. PCLATH is
not affected by a PUSH or POP operation.
The stack operates as a circular buffer if the STVREN
bit is programmed to ‘0‘ (Configuration Word 2). This
means that after the stack has been PUSHed sixteen
times, the seventeenth PUSH overwrites the value that
was stored from the first PUSH. The eighteenth PUSH
overwrites the second PUSH (and so on). The
STKOVF and STKUNF flag bits will be set on an Over-
flow/Underflow, regardless of whether the Reset is
enabled.
FIGURE 3-5:
DS41364E-page 54
Note 1: There are no instructions/mnemonics
Stack
called PUSH or POP. These are actions
that occur from the execution of the
CALL, CALLW, RETURN, RETLW and
RETFIE instructions or the vectoring to
an interrupt address.
TOSH:TOSL
TOSH:TOSL
Figure 3-1
ACCESSING THE STACK EXAMPLE 1
and
Figure
3-2). The stack
0x0D
0x0C
0x0F
0x0E
0x0B
0x0A
0x1F
0x09
0x08
0x07
0x06
0x05
0x04
0x03
0x02
0x01
0x00
0x0000
3.4.1
The stack is available through the TOSH, TOSL and
STKPTR registers. STKPTR is the current value of the
Stack Pointer. TOSH:TOSL register pair points to the
TOP of the stack. Both registers are read/writable. TOS
is split into TOSH and TOSL due to the 15-bit size of the
PC. To access the stack, adjust the value of STKPTR,
which will position TOSH:TOSL, then read/write to
TOSH:TOSL. STKPTR is 5 bits to allow detection of
overflow and underflow.
During normal program operation, CALL, CALLW and
Interrupts will increment STKPTR while RETLW,
RETURN, and RETFIE will decrement STKPTR. At any
time STKPTR can be inspected to see how much stack
is left. The STKPTR always points at the currently used
place on the stack. Therefore, a CALL or CALLW will
increment the STKPTR and then write the PC, and a
return will unload the PC and then decrement the
STKPTR.
Reference
of accessing the stack.
Note:
STKPTR = 0x1F
STKPTR = 0x1F
Initial Stack Configuration:
After Reset, the stack is empty. The
empty stack is initialized so the Stack
Pointer is pointing at 0x1F. If the Stack
Overflow/Underflow Reset is enabled, the
TOSH/TOSL registers will return ‘0’. If
the Stack Overflow/Underflow Reset is
disabled, the TOSH/TOSL registers will
return the contents of stack address 0x0F.
Figure 3-5
ACCESSING THE STACK
Care should be taken when modifying the
STKPTR while interrupts are enabled.
2008-2011 Microchip Technology Inc.
through
Stack Reset Enabled
(STVREN = 1)
Stack Reset Disabled
(STVREN = 0)
Figure 3-8
for examples
Related parts for PIC16F1937T-I/MV
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F1937-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 512KX14 44-QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 512KX14 40-PDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 512KX14 44-TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-E/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 512KX14 44-QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 512KX14 40-PDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-E/MV](/photos/16/12/161286/qfn44_tmb.jpg)
Part Number:
Description:
14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-E/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 44 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1937-I/MV](/photos/16/12/161286/qfn44_tmb.jpg)
Part Number:
Description:
14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE
Manufacturer:
Microchip Technology
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: