PIC18C242/JW Microchip Technology, PIC18C242/JW Datasheet - Page 228

IC MCU EPROM 8KX16 A/D 28CDIP

PIC18C242/JW

Manufacturer Part Number
PIC18C242/JW
Description
IC MCU EPROM 8KX16 A/D 28CDIP
Manufacturer
Microchip Technology
Series
PIC® 18Cr

Specifications of PIC18C242/JW

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
16KB (8K x 16)
Program Memory Type
EPROM, UV
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-CDIP (0.300", 7.62mm) Window
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18C242/JW
Manufacturer:
NS
Quantity:
10
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 PIC18C242/JW