PIC24FJ128GB MICROCHIP [Microchip Technology], PIC24FJ128GB Datasheet - Page 55
![no-image](/images/no-image-200.jpg)
PIC24FJ128GB
Manufacturer Part Number
PIC24FJ128GB
Description
64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC24FJ128GB.pdf
(328 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC24FJ128GB106-I/MR
Manufacturer:
MICROCHIP
Quantity:
54 574
Company:
Part Number:
PIC24FJ128GB106-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB106T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB108-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB108T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
PIC24FJ128GB110-I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 55 of 328
- Download datasheet (6Mb)
3.3.2
The TBLRDL and TBLWTL instructions offer a direct
method of reading or writing the lower word of any
address within the program space without going through
data space. The TBLRDH and TBLWTH instructions are
the only method to read or write the upper 8 bits of a
program space word as data.
The PC is incremented by two for each successive
24-bit program word. This allows program memory
addresses to directly map to data space addresses.
Program memory can thus be regarded as two, 16-bit
word-wide address spaces, residing side by side, each
with the same address range. TBLRDL and TBLWTL
access the space which contains the least significant
data word, and TBLRDH and TBLWTH access the space
which contains the upper data byte.
Two table instructions are provided to move byte or
word-sized (16-bit) data to and from program space.
Both function as either byte or word operations.
1.
FIGURE 3-6:
© 2008 Microchip Technology Inc.
TBLRDL (Table Read Low): In Word mode, it
maps the lower word of the program space
location (P<15:0>) to a data address (D<15:0>).
In Byte mode, either the upper or lower byte of
the lower program word is mapped to the lower
byte of a data address. The upper byte is
selected when byte select is ‘1’; the lower byte
is selected when it is ‘0’.
TBLPAG
02
DATA ACCESS FROM PROGRAM
MEMORY USING TABLE
INSTRUCTIONS
23
ACCESSING PROGRAM MEMORY WITH TABLE INSTRUCTIONS
15
0
000000h
020000h
030000h
800000h
PIC24FJ256GB110 FAMILY
Program Space
Preliminary
The address for the table operation is determined by the data EA
within the page defined by the TBLPAG register.
Only read operations are shown; write operations are also valid in
the user memory area.
TBLRDH.B (Wn<0> = 0)
TBLRDL.B (Wn<0> = 1)
TBLRDL.B (Wn<0> = 0)
TBLRDL.W
2.
In a similar fashion, two table instructions, TBLWTH
and TBLWTL, are used to write individual bytes or
words to a program space address. The details of
their operation are explained in Section 4.0 “Flash
Program Memory”.
For all table operations, the area of program memory
space to be accessed is determined by the Table
Memory Page Address register (TBLPAG). TBLPAG
covers the entire program memory space of the
device, including user and configuration spaces. When
TBLPAG<7> = 0, the table page is located in the user
memory space. When TBLPAG<7> = 1, the page is
located in configuration space.
Note:
‘Phantom’ Byte
TBLRDH (Table Read High): In Word mode, it
maps the entire upper word of a program address
(P<23:16>) to a data address. Note that
D<15:8>, the ‘phantom’ byte, will always be ‘0’.
In Byte mode, it maps the upper or lower byte of
the program word to D<7:0> of the data
address, as above. Note that the data will
always be ‘0’ when the upper ‘phantom’ byte is
selected (byte select = 1).
00000000
00000000
00000000
00000000
Only table read operations will execute in
the configuration memory space, and only
then, in implemented areas such as the
Device ID. Table write operations are not
allowed.
23
16
Data EA<15:0>
DS39897B-page 53
8
0
Related parts for PIC24FJ128GB
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC24FJ16MC102-I/SO](/photos/16/13/161315/soic28_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC101-I/P](/photos/40/66/406676/20-dip_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 20 PDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC102-I/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SPDIP .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16MC102-I/SS](/photos/16/12/161251/ssop28_tmb.jpg)
Part Number:
Description:
16-bit Motor Control Family, 16 MIPS, 16KB Flash, 1KB RAM 28 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ16GA004-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, TQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ256GA106-I/MR](/photos/12/13/121325/c04-149_mr_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB004-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB106-I/MR](/photos/12/13/121325/c04-149_mr_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, QFN-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ64GB002-I/SS](/photos/16/12/161251/ssop28_tmb.jpg)
Part Number:
Description:
16-bit, 16 MIPS, 64KB Flash, 8KB RAM, Nanowatt XLP, USB OTG 28 SSOP .209in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128DA110-I/BG](/photos/39/70/397092/lpmicrochippic24fj256da210_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128DA210-I/BG](/photos/39/70/397092/lpmicrochippic24fj256da210_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ128GB210-I/BG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24FJ256GB210-I/BG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24F, 32MHZ, BGA-121
Manufacturer:
Microchip Technology
Datasheet:
![PIC24HJ256GP206A-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24H, 40MIPS, TQFP-64
Manufacturer:
Microchip Technology
Datasheet:
![PIC24HJ256GP210A-I/PF](/photos/12/13/121330/c04-100-tqfp_tmb.jpg)
Part Number:
Description:
IC, 16BIT MCU, PIC24H, 40MIPS, TQFP-100
Manufacturer:
Microchip Technology
Datasheet: