欢迎访问ic37.com |
会员登录 免费注册
发布采购

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第144页浏览型号C8051F502-IM的Datasheet PDF文件第145页浏览型号C8051F502-IM的Datasheet PDF文件第146页浏览型号C8051F502-IM的Datasheet PDF文件第147页浏览型号C8051F502-IM的Datasheet PDF文件第149页浏览型号C8051F502-IM的Datasheet PDF文件第150页浏览型号C8051F502-IM的Datasheet PDF文件第151页浏览型号C8051F502-IM的Datasheet PDF文件第152页  
C8051F50x-F51x  
18.2. Configuring the External Memory Interface  
Configuring the External Memory Interface consists of five steps:  
1. Configure the Output Modes of the associated port pins as either push-pull or open-drain (push-pull is  
most common), and skip the associated pins in the crossbar.  
2. Configure Port latches to “park” the EMIF pins in a dormant state (usually by setting them to logic 1).  
3. Select Multiplexed mode or Non-multiplexed mode.  
4. Select the memory mode (on-chip only, split mode without bank select, split mode with bank select, or  
off-chip only).  
5. Set up timing to interface with off-chip memory or peripherals.  
Each of these five steps is explained in detail in the following sections. The Port selection, Multiplexed  
mode selection, and Mode bits are located in the EMI0CF register shown in SFR Definition .  
18.3. Port Configuration  
The External Memory Interface appears on Ports 1, 2, 3, and 4 when it is used for off-chip memory access.  
When the EMIF is used, the Crossbar should be configured to skip over the /RD control line (P1.6) and the  
/WR control line (P1.7) using the P1SKIP register. When the EMIF is used in multiplexed mode, the Cross-  
bar should also skip over the ALE control line (P1.5). For more information about configuring the Crossbar,  
see Section “20.6. Special Function Registers for Accessing and Configuring Port I/O” on page 191. The  
EMIF pinout is shown in Table 18.1 on page 149.  
The External Memory Interface claims the associated Port pins for memory operations ONLY during the  
execution of an off-chip MOVX instruction. Once the MOVX instruction has completed, control of the Port  
pins reverts to the Port latches or to the Crossbar settings for those pins. See Section “20. Port Input/Out-  
put” on page 177 for more information about the Crossbar and Port operation and configuration. The Port  
latches should be explicitly configured to “park” the External Memory Interface pins in a dormant  
state, most commonly by setting them to a logic 1.  
During the execution of the MOVX instruction, the External Memory Interface will explicitly disable the driv-  
ers on all Port pins that are acting as Inputs (Data[7:0] during a READ operation, for example). The Output  
mode of the Port pins (whether the pin is configured as Open-Drain or Push-Pull) is unaffected by the  
External Memory Interface operation, and remains controlled by the PnMDOUT registers. In most cases,  
the output modes of all EMIF pins should be configured for push-pull mode.  
The C8051F500/1/4/5 devices support both the multiplexed and non-multiplexed modes and the  
C8051F508/9-F510/1 devices support only multiplexed modes. Accessing off-chip memory is not sup-  
ported by the C8051F502/3/6/7 devices.  
148  
Rev. 1.1  
 复制成功!