欢迎访问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文件第177页浏览型号C8051F502-IM的Datasheet PDF文件第178页浏览型号C8051F502-IM的Datasheet PDF文件第179页浏览型号C8051F502-IM的Datasheet PDF文件第180页浏览型号C8051F502-IM的Datasheet PDF文件第182页浏览型号C8051F502-IM的Datasheet PDF文件第183页浏览型号C8051F502-IM的Datasheet PDF文件第184页浏览型号C8051F502-IM的Datasheet PDF文件第185页  
C8051F50x-F51x  
Port  
P0  
P1  
P2  
P3  
P4  
P3.1-P3.7, P4.0 only  
available on the 48-pin available on the 48-  
and 40-pin packages pin packages  
P4.1-P4.7 only  
Special  
Function  
Signals  
0
1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7  
PIN I/O  
UART_TX  
UART_RX  
CAN_TX  
CAN_RX  
SCK  
MISO  
MOSI  
NSS  
SDA  
SCL  
CP0  
CP0A  
CP1  
CP1A  
SYSCLK  
CEX0  
CEX1  
CEX2  
CEX3  
CEX4  
CEX5  
ECI  
T0  
T1  
LIN_TX  
LIN_RX  
Figure 20.3. Peripheral Availability on Port I/O Pins  
Registers XBR0, XBR1, and XBR2 are used to assign the digital I/O resources to the physical I/O Port  
pins. Note that when the SMBus is selected, the Crossbar assigns both pins associated with the SMBus  
(SDA and SCL); and similarly when the UART, CAN or LIN are selected, the Crossbar assigns both pins  
associated with the peripheral (TX and RX). UART0 pin assignments are fixed for bootloading purposes:  
UART TX0 is always assigned to P0.4; UART RX0 is always assigned to P0.5. CAN0 pin assignments are  
fixed to P0.6 for CAN_TX and P0.7 for CAN_RX. Standard Port I/Os appear contiguously after the priori-  
tized functions have been assigned.  
Important Note: The SPI can be operated in either 3-wire or 4-wire modes, pending the state of the  
NSSMD1–NSSMD0 bits in register SPI0CN. According to the SPI mode, the NSS signal may or may not  
be routed to a Port pin.  
As an example configuration, if CAN0, SPI0 in 4-wire mode, and PCA0 Modules 0, 1, and 2 are enabled on  
the crossbar with P0.1, P0.2, and P0.5 skipped, the registers should be set as follows: XBR0 = 0x06  
(CAN0 and SPI0 enabled), XBR1 = 0x0C (PCA0 modules 0, 1, and 2 enabled), XBR2 = 0x40 (Crossbar  
enabled), and P0SKIP = 0x26 (P0.1, P0.2, and P0.5 skipped). The resulting crossbar would look as shown  
in Figure 20.4.  
Rev. 1.1  
181