参数资料
型号: MA330029
厂商: Microchip Technology
文件页数: 61/322页
文件大小: 0K
描述: MODULE PLUG-IN DSPIC33FJ16GP102
标准包装: 1
系列: *
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页当前第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页第275页第276页第277页第278页第279页第280页第281页第282页第283页第284页第285页第286页第287页第288页第289页第290页第291页第292页第293页第294页第295页第296页第297页第298页第299页第300页第301页第302页第303页第304页第305页第306页第307页第308页第309页第310页第311页第312页第313页第314页第315页第316页第317页第318页第319页第320页第321页第322页
dsPIC33FJ16GP101/102 AND dsPIC33FJ16MC101/102
4.6
Interfacing Program and Data
4.6.1
ADDRESSING PROGRAM SPACE
Memory Spaces
The dsPIC33FJ16GP101/102 and
dsPIC33FJ16MC101/102 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 dsPIC33FJ16GP101/
102 and dsPIC33FJ16MC101/102 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 lookups
from a large table of static data. The application can
only access the lsw of the program word.
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 MSb 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 MSb
of the EA is ‘ 1 ’, 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 4-32 and Figure 4-7 show how the program EA is
created for table operations and remapping accesses
from the data EA.
TABLE 4-32:
PROGRAM SPACE ADDRESS CONSTRUCTION
Access Type
Instruction Access
User
Access
Space
<23>
0
Program Space Address
<22:16> <15> <14:1>
PC<22:1>
<0>
0
(Code Execution)
0xx
xxxx
xxxx
xxxx
xxxx xxx0
TBLRD/TBLWT
User
TBLPAG<7:0>
Data EA<15:0>
(Byte/Word Read/Write)
Configuration
0xxx xxxx
TBLPAG<7:0>
1xxx xxxx
xxxx xxxx xxxx xxxx
Data EA<15:0>
xxxx xxxx xxxx xxxx
Program Space Visibility
(Block Remap/Read)
User
0
0
PSVPAG<7:0>
xxxx xxxx
Data EA<14:0> (1)
xxx xxxx xxxx xxxx
Note 1:
Data EA<15> is always ‘ 1 ’ in this case, but is not used in calculating the program space address. Bit 15 of
the address is PSVPAG<0>.
? 2011 Microchip Technology Inc.
Preliminary
DS70652C-page 61
相关PDF资料
PDF描述
MA9D00-42 DSUB CONN W/DIAGNOSTIC PORT STRT
MAI ADAPTER PUSH-ON/M-SWTCH ATTCHMNT
MAV0020RP VARISTOR ARRY 2ELEMENT 120V 0405
MAX11503EVKIT+ KIT EVAL FOR MAX11503
MAX11504EVKIT+ KIT EVAL FOR MAX11504
相关代理商/技术参数
参数描述
MA330030 功能描述:子卡和OEM板 dsPIC33EP256GP506 PIM RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA330031 功能描述:子卡和OEM板 32Bit MCU 512KBFlash 128KB RAM, 80 MHz RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA330031-2 功能描述:子卡和OEM板 32Bit MCU 512KBFlash 128KB RAM, 80 MHz RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA330032 制造商:Microchip Technology Inc 功能描述:DSPIC33FJ32MC104 MOTOR CONTROL PIM - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:MOD PIM DSPIC33FJ32MC104 制造商:Microchip Technology Inc 功能描述:DSPIC33FJ32MC104, MOTOR CONTROL, PIM 制造商:Microchip Technology Inc 功能描述:dsPIC33FJ32MC104 Motor Ctrl 制造商:Microchip Technology Inc 功能描述:PLUG-IN-MODULE, DSPICDEM MOTOR CONTROL; Silicon Manufacturer:Microchip; Core Architecture:dsPIC; Core Sub-Architecture:dsPIC33; Silicon Core Number:dsPIC33F; Silicon Family Name:dsPIC33FJxxMCxxx
MA330033 制造商:Microchip Technology Inc 功能描述:DSPIC33EP512GM706 SINGLE MOTOR INTERNAL OP-1AMP PIM - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:MOD PIM DSPIC33EP512GM706 INT 制造商:Microchip Technology Inc 功能描述:dsPIC33EP512GM706 Single Motor Internal Op-Amp PIM 制造商:Microchip Technology Inc 功能描述:Single Motor Internal Op-Amp PIM w/ dsPIC33EP512GM706 制造商:Microchip Technology Inc 功能描述:dsPIC33EP512GM706 Single Motor Internal Op-Amp PIM, Plug-in Modules