PIC17C44-16/PQ Microchip Technology, PIC17C44-16/PQ Datasheet - Page 39

IC MCU OTP 8KX16 PWM 44-MQFP

PIC17C44-16/PQ

Manufacturer Part Number
PIC17C44-16/PQ
Description
IC MCU OTP 8KX16 PWM 44-MQFP
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C44-16/PQ

Core Processor
PIC
Core Size
8-Bit
Speed
16MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
16KB (8K x 16)
Program Memory Type
OTP
Ram Size
454 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
44-MQFP, 44-PQFP
For Use With
AC164316 - MODULE SKT MPLAB PM3 44MQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C44-16/PQ
Manufacturer:
AKM
Quantity:
2 400
Part Number:
PIC17C44-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
6.3
The PIC17C4X devices have a 16 x 16-bit wide hard-
ware stack (Figure 6-1). The stack is not part of either
the program or data memory space, and the stack
pointer is neither readable nor writable. The PC is
“PUSHed” onto the stack when a CALL instruction is
executed or an interrupt is acknowledged. The stack is
“POPed” in the event of a RETURN, RETLW, or a RETFIE
instruction execution. PCLATH is not affected by a
“PUSH” or a “POP” operation.
The stack operates as a circular buffer, with the stack
pointer initialized to '0' after all resets. There is a stack
available bit (STKAV) to allow software to ensure that
the stack has not overflowed. The STKAV bit is set after
a device reset. When the stack pointer equals Fh,
STKAV is cleared. When the stack pointer rolls over
from Fh to 0h, the STKAV bit will be held clear until a
device reset.
After the device is “PUSHed” sixteen times (without a
“POP”), the seventeenth push overwrites the value
from the first push. The eighteenth push overwrites the
second push (and so on).
1996 Microchip Technology Inc.
Note 1: There is not a status bit for stack under-
Note 2: There are no instruction mnemonics
Note 3: After a reset, if a “POP” operation occurs
Stack Operation
flow. The STKAV bit can be used to detect
the underflow which results in the stack
pointer being at the top of stack.
called PUSH or POP. These are actions
that occur from the execution of the CALL,
RETURN, RETLW, and RETFIE instruc-
tions, or the vectoring to an interrupt vec-
tor.
before a “PUSH” operation, the STKAV bit
will be cleared. This will appear as if the
stack is full (underflow has occurred). If a
“PUSH” operation occurs next (before
another “POP”), the STKAV bit will be
locked clear. Only a device reset will
cause this bit to set.
6.4
Indirect addressing is a mode of addressing data
memory where the data memory address in the
instruction is not fixed. That is, the register that is to be
read or written can be modified by the program. This
can be useful for data tables in the data memory.
Figure 6-10 shows the operation of indirect address-
ing. This shows the moving of the value to the data
memory address specified by the value of the FSR
register.
Example 6-1 shows the use of indirect addressing to
clear RAM in a minimum number of instructions. A
similar concept could be used to move a defined num-
ber of bytes (block) of data to the USART transmit reg-
ister (TXREG). The starting address of the block of
data to be transmitted could easily be modified by the
program.
FIGURE 6-10: INDIRECT ADDRESSING
Instruction
Executed
Instruction
Fetched
Indirect Addressing
Opcode
Opcode
Address
File
PIC17C4X
File = INDFx
DS30412C-page 39
FSR
RAM

Related parts for PIC17C44-16/PQ