参数资料
型号: PIC18F2480-E/SP
厂商: Microchip Technology
文件页数: 53/88页
文件大小: 0K
描述: IC PIC MCU FLASH 8KX16 28DIP
产品培训模块: Asynchronous Stimulus
PIC18 J Series MCU Overview
标准包装: 15
系列: PIC® 18F
核心处理器: PIC
芯体尺寸: 8-位
速度: 25MHz
连通性: CAN,I²C,SPI,UART/USART
外围设备: 欠压检测/复位,HLVD,POR,PWM,WDT
输入/输出数: 25
程序存储器容量: 16KB(8K x 16)
程序存储器类型: 闪存
EEPROM 大小: 256 x 8
RAM 容量: 768 x 8
电压 - 电源 (Vcc/Vdd): 4.2 V ~ 5.5 V
数据转换器: A/D 8x10b
振荡器型: 内部
工作温度: -40°C ~ 125°C
封装/外壳: 28-DIP(0.300",7.62mm)
包装: 管件
配用: DVA18XP280-ND - DEVICE ADAPTER 18F2220 PDIP 28LD
2010 Microchip Technology Inc.
DS21801F-page 57
MCP2515
10.0
MODES OF OPERATION
The MCP2515 has five modes of operation. These
modes are:
1.
Configuration mode
2.
Normal mode
3.
Sleep mode
4.
Listen-only mode
5.
Loopback mode
The
operational
mode
is
selected
via
the
CANCTRL. REQOP bits (see Register 10-1).
When changing modes, the mode will not actually
change until all pending message transmissions are
complete. The requested mode must be verified by
reading
the
CANSTAT.OPMODE
bits
(see
10.1
Configuration Mode
The MCP2515 must be initialized before activation.
This is only possible if the device is in the Configuration
mode. Configuration mode is automatically selected
after power-up, a reset or can be entered from any
other mode by setting the CANTRL.REQOP bits to
‘100’. When Configuration mode is entered, all error
counters are cleared. Configuration mode is the only
mode where the following registers are modifiable:
CNF1, CNF2, CNF3
TXRTSCTRL
Filter registers
Mask registers
10.2
Sleep Mode
The MCP2515 has an internal Sleep mode that is used
to minimize the current consumption of the device. The
SPI interface remains active for reading even when the
MCP2515 is in Sleep mode, allowing access to all
registers.
To enter Sleep mode, the mode request bits are set in
the
CANCTRL
register
(REQOP<2:0>).
The
CANSTAT.OPMODE bits indicate operation mode.
These bits should be read after sending the sleep
command to the MCP2515. The MCP2515 is active
and has not yet entered Sleep mode until these bits
indicate that Sleep mode has been entered.
When in internal Sleep mode, the wake-up interrupt is
still active (if enabled). This is done so that the MCU
can also be placed into a Sleep mode and use the
MCP2515 to wake it up upon detecting activity on the
bus.
When in Sleep mode, the MCP2515 stops its internal
oscillator. The MCP2515 will wake up when bus activity
occurs or when the MCU sets, via the SPI interface, the
CANINTF.WAKIF bit to ‘generate’ a wake-up attempt
(the CANINTE.WAKIE bit must also be set in order for
the wake-up interrupt to occur).
The TXCAN pin will remain in the recessive state while
the MCP2515 is in Sleep mode.
10.2.1
WAKE-UP FUNCTIONS
The device will monitor the RXCAN pin for activity while
it is in Sleep mode. If the CANINTE.WAKIE bit is set,
the device will wake up and generate an interrupt.
Since the internal oscillator is shut down while in Sleep
mode, it will take some amount of time for the oscillator
to start up and the device to enable itself to receive
messages. This Oscillator Start-up Timer (OST) is
defined as 128 TOSC.
The device will ignore the message that caused the
wake-up from Sleep mode, as well as any messages
that occur while the device is ‘waking up’. The device
will wake up in Listen-only mode. The MCU must set
Normal mode before the MCP2515 will be able to
communicate on the bus.
The device can be programmed to apply a low-pass
filter function to the RXCAN input line while in internal
Sleep mode. This feature can be used to prevent the
device from waking up due to short glitches on the CAN
bus lines. The CNF3.WAKFIL bit enables or disables
the filter.
10.3
Listen-only Mode
Listen-only mode provides a means for the MCP2515
to receive all messages (including messages with
errors) by configuring the RXBnCTRL.RXM<1:0> bits.
This mode can be used for bus monitor applications or
for detecting the baud rate in ‘hot plugging’ situations.
For auto-baud detection, it is necessary that at least
two other nodes are communicating with each other.
The baud rate can be detected empirically by testing
different values until valid messages are received.
Listen-only mode is a silent mode, meaning no
messages will be transmitted while in this mode
(including error flags or acknowledge signals). The
filters and masks can be used to allow only particular
messages to be loaded into the receive registers, or the
masks can be set to all zeros to allow a message with
any identifier to pass. The error counters are reset and
deactivated in this state. The Listen-only mode is
activated by setting the mode request bits in the
CANCTRL register.
相关PDF资料
PDF描述
V375A36E600B3 CONVERTER MOD DC/DC 36V 600W
VE-JWH-IX-F1 CONVERTER MOD DC/DC 52V 75W
PIC18F4610-I/ML IC MCU FLASH 32KX16 44QFN
V375A36E600B2 CONVERTER MOD DC/DC 36V 600W
VE-JWF-IX-F4 CONVERTER MOD DC/DC 72V 75W
相关代理商/技术参数
参数描述
PIC18F2480-I/ML 功能描述:8位微控制器 -MCU 16 KB 768 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2480-I/SO 功能描述:8位微控制器 -MCU 16 KB 768 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2480-I/SP 功能描述:8位微控制器 -MCU 16 KB 768 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2480T-I/ML 功能描述:8位微控制器 -MCU 16 KB 768 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2480T-I/SO 功能描述:8位微控制器 -MCU 16 KB 768 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT