PIC18F1320-I/SO Microchip Technology, PIC18F1320-I/SO Datasheet - Page 232

IC MCU FLASH 4KX16 A/D 18SOIC

PIC18F1320-I/SO

Manufacturer Part Number
PIC18F1320-I/SO
Description
IC MCU FLASH 4KX16 A/D 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F1320-I/SO

Program Memory Type
FLASH
Program Memory Size
8KB (4K x 16)
Package / Case
18-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
16
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM163014, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
7-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA12XP080 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F1320-I/SO
Manufacturer:
MICROCHIP
Quantity:
35 000
Part Number:
PIC18F1320-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F1220/1320
TBLWT
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
DS39605C-page 230
[ label ] TBLWT ( *; *+; *-; +*)
None
if TBLWT*,
(TABLAT)
TBLPTR – No Change;
if TBLWT*+,
(TABLAT)
(TBLPTR) + 1
if TBLWT*-,
(TABLAT)
(TBLPTR) – 1
if TBLWT+*,
(TBLPTR) + 1
(TABLAT)
This instruction uses the 3 LSBs of
TBLPTR to determine which of the
8 holding registers the TABLAT is
written to. The holding registers are
used to program the contents of
Program Memory (P.M.). (Refer
to Section 6.0 “Flash Program
Memory” for additional details on
programming Flash memory.)
The TBLPTR (a 21-bit pointer) points
to each byte in the program memory.
TBLPTR has a 2-Mbyte address
range. The LSb of the TBLPTR
selects which byte of the program
memory location to access.
The TBLWT instruction can modify the
value of TBLPTR as follows:
• no change
• post-increment
• post-decrement
• pre-increment
Table Write
0000
TBLPTR[0] = 0:Least Significant
TBLPTR[0] = 1:Most Significant
0000
Holding Register;
Holding Register;
Holding Register;
Holding Register;
TBLPTR;
TBLPTR;
TBLPTR;
0000
Byte of Program
Memory Word
Byte of Program
Memory Word
nn = 0*
11nn
= 1*+
= 2*-
= 3+*
TBLWT
Words: 1
Cycles: 2
Q Cycle Activity:
Example 1:
Example 2:
Before Instruction
After Instructions (table write completion)
Before Instruction
After Instruction (table write completion)
TABLAT
TBLPTR
HOLDING REGISTER
(0x00A356)
TABLAT
TBLPTR
HOLDING REGISTER
(0x00A356)
TABLAT
TBLPTR
HOLDING REGISTER
(0x01389A)
HOLDING REGISTER
(0x01389B)
TABLAT
TBLPTR
HOLDING REGISTER
(0x01389A)
HOLDING REGISTER
(0x01389B)
operation
Decode
Q1
No
TBLWT *+;
TBLWT +*;
Table Write (Continued)
operation
operation
TABLAT)
 2004 Microchip Technology Inc.
(Read
Q2
No
No
=
=
=
=
=
=
=
=
=
=
=
=
=
=
operation
operation
0x55
0x00A356
0xFF
0x55
0x00A357
0x55
0x34
0x01389A
0xFF
0xFF
0x34
0x01389B
0xFF
0x34
Q3
No
No
operation
operation
Register)
(Write to
Holding
Q4
No
No

Related parts for PIC18F1320-I/SO