最新免费av在线观看,亚洲综合一区成人在线,中文字幕精品无码一区二区三区,中文人妻av高清一区二区,中文字幕乱偷无码av先锋

dsPIC33FJ32GP204 Datasheet

  • dsPIC33FJ32GP204

  • High-Performance,16-bit Digital Signal Controllers

  • 270頁

  • Microchip   Microchip

掃碼查看芯片數(shù)據(jù)手冊

上傳產(chǎn)品規(guī)格書

PDF預覽

dsPIC33FJ32GP202/204 and dsPIC33FJ16GP304
3.6
Interfacing Program and Data
Memory Spaces
3.6.1
ADDRESSING PROGRAM SPACE
Since the address ranges for the data and program
spaces are 16 and 24 bits, respectively, a method is
needed to create a 23-bit or 24-bit program address
from 16-bit data registers. The solution depends on the
interface method to be used.
For table operations, the 8-bit Table Page register
(TBLPAG) is used to define a 32K word region within
the program space. This is concatenated with a 16-bit
EA to arrive at a full 24-bit program space address. In
this format, the Most Significant bit of TBLPAG is used
to determine if the operation occurs in the user memory
(TBLPAG<7> =
0)
or the configuration memory
(TBLPAG<7> =
1).
For remapping operations, the 8-bit Program Space
Visibility register (PSVPAG) is used to define a
16K word page in the program space. When the Most
Significant bit of the EA is 鈥?鈥? PSVPAG is concatenated
with the lower 15 bits of the EA to form a 23-bit program
space address. Unlike table operations, this limits
remapping operations strictly to the user memory area.
Table 3-25 and Figure 3-7 show how the program EA is
created for table operations and remapping accesses
from the data EA. Here, P<23:0> refers to a program
space word, and D<15:0> refers to a data space word.
The
dsPIC33FJ32GP202/204
and
dsPIC33FJ16GP304 architecture uses a 24-bit-wide
program space and a 16-bit-wide data space. The
architecture is also a modified Harvard scheme, mean-
ing that data can also be present in the program space.
To use this data successfully, it must be accessed in a
way that preserves the alignment of information in both
spaces.
Aside
from
normal
execution,
the
dsPIC33FJ32GP202/204 and dsPIC33FJ16GP304
architecture provides two methods by which program
space can be accessed during operation:
鈥?Using table instructions to access individual bytes
or words anywhere in the program space
鈥?Remapping a portion of the program space into
the data space (Program Space Visibility)
Table instructions allow an application to read or write
to small areas of the program memory. This capability
makes the method ideal for accessing data tables that
need to be updated periodically. It also allows access
to all bytes of the program word. The remapping
method allows an application to access a large block of
data on a read-only basis, which is ideal for look ups
from a large table of static data. The application can
only access the Least Significant word of the program
word.
TABLE 3-25:
PROGRAM SPACE ADDRESS CONSTRUCTION
Access
Space
User
User
Configuration
Program Space Address
<23>
0
0xx
xxxx
TBLPAG<7:0>
0xxx xxxx
TBLPAG<7:0>
1xxx xxxx
0
0
PSVPAG<7:0>
xxxx xxxx
<22:16>
<15>
PC<22:1>
xxxx
xxxx
xxxx xxx0
Data EA<15:0>
xxxx xxxx xxxx xxxx
Data EA<15:0>
xxxx xxxx xxxx xxxx
Data EA<14:0>
(1)
xxx xxxx xxxx xxxx
<14:1>
<0>
0
Access Type
Instruction Access
(Code Execution)
TBLRD/TBLWT
(Byte/Word Read/Write)
Program Space Visibility
(Block Remap/Read)
Note 1:
User
Data EA<15> is always 鈥?鈥?in this case, but is not used in calculating the program space address. Bit 15 of
the address is PSVPAG<0>.
2007 Microchip Technology Inc.
Preliminary
DS70290A-page 45

dsPIC33FJ32GP204相關型號PDF文件下載

您可能感興趣的PDF文件資料

熱門IC型號推薦

掃碼下載APP,
一鍵連接廣大的電子世界。

在線人工客服

買家服務:
賣家服務:
技術(shù)客服:

0571-85317607

網(wǎng)站技術(shù)支持

13606545031

客服在線時間周一至周五
9:00-17:30

關注官方微信號,
第一時間獲取資訊。

建議反饋
返回頂部

建議反饋

聯(lián)系人:

聯(lián)系方式:

按住滑塊,拖拽到最右邊
>>
感謝您向阿庫提出的寶貴意見,您的參與是維庫提升服務的動力!意見一經(jīng)采納,將有感恩紅包奉上哦!