PIC18C252-E/SO Microchip Technology, PIC18C252-E/SO Datasheet - Page 228

IC MCU OTP 16KX16 A/D 28SOIC

PIC18C252-E/SO

Manufacturer Part Number
PIC18C252-E/SO
Description
IC MCU OTP 16KX16 A/D 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C252-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
32KB (16K x 16)
Program Memory Type
OTP
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC18C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1.5 KB
Interface Type
MSSP, SPI, I2C, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
23
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
ICE2000, DM163022, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
For Use With
I3DB18C452 - BOARD DAUGHTER ICEPIC3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
PIC18C252E/SO
PIC18CXX2
TBLWT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
DS39026C-page 226
Q Cycle Activity:
operation
Decode
No
Q1
operation
operation
TABLAT)
(Read
Table Write
[ label ]
None
if TBLWT*,
if TBLWT*+,
if TBLWT*-,
if TBLWT+*,
None
This instruction is used to program the
contents of Program Memory (P.M.).
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
1
2 (many if long write is to on-chip
EPROM program memory)
No
No
Q2
0000
(TABLAT)
or Holding Register;
TBLPTR - No Change;
(TABLAT)
or Holding Register;
(TBLPTR) +1
(TABLAT)
or Holding Register;
(TBLPTR) -1
(TBLPTR) +1
(TABLAT)
or Holding Register;
TBLPTR[0] = 0:Least Significant
Byte of Program Memory Word
TBLPTR[0] = 1:Most Significant
Byte of Program Memory Word
operation
operation
TBLWT ( *; *+; *-; +*)
0000
No
No
Q3
Prog Mem (TBLPTR)
Prog Mem (TBLPTR)
Prog Mem (TBLPTR)
Prog Mem (TBLPTR)
TBLPTR;
Register or Memory)
TBLPTR;
TBLPTR;
(Write to Holding
0000
operation
operation
No
No
Q4
nn=0 *
11nn
=1 *+
=2 *-
=3 +*
TBLWT
Example 1:
Example 2:
Before Instruction
After Instructions (table write completion)
Before Instruction
After Instruction (table write completion)
TABLAT
TBLPTR
MEMORY(0x00A356)
TABLAT
TBLPTR
MEMORY(0x00A356)
TABLAT
TBLPTR
MEMORY(0x01389A)
MEMORY(0x01389B)
TABLAT
TBLPTR
MEMORY(0x01389A)
MEMORY(0x01389B)
Table Write (Continued)
TBLWT
TBLWT
2001 Microchip Technology Inc.
*+;
+*;
=
=
=
=
=
=
=
=
=
=
=
=
=
=
0x55
0x00A356
0xFF
0x55
0x00A357
0x55
0x34
0x01389A
0xFF
0xFF
0x34
0x01389B
0xFF
0x34

Related parts for PIC18C252-E/SO