PIC18F2480-I/SP Microchip Technology, PIC18F2480-I/SP Datasheet - Page 299

IC PIC MCU FLASH 8KX16 28DIP

PIC18F2480-I/SP

Manufacturer Part Number
PIC18F2480-I/SP
Description
IC PIC MCU FLASH 8KX16 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2480-I/SP

Program Memory Type
FLASH
Program Memory Size
16KB (8K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
SPI/I2C/MSSP/EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
4
Operating Supply Voltage
5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM163011, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2480-I/SP
Manufacturer:
TDK
Quantity:
64
Part Number:
PIC18F2480-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
REGISTER 24-21: RXERRCNT: RECEIVE ERROR COUNT REGISTER
EXAMPLE 24-5:
© 2009 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
REC7
; Need to read a pending message from RXB0 buffer.
; To receive any message, filter, mask and RXM1:RXM0 bits in RXB0CON registers must be
; programmed correctly.
;
; Make sure that there is a message pending in RXB0.
BTFSS
BRA
; We have verified that a message is pending in RXB0 buffer.
; If this buffer can receive both Standard or Extended Identifier messages,
; identify type of message received.
BTFSS
BRA
; Read all 29-bits of Extended Identifier message.
...
; Now read all data bytes
MOVFF
...
; Once entire message is read, mark the RXB0 that it is read and no longer FULL.
BCF
...
R-0
RXB0CON, RXFUL
NoMessage
RXB0SIDL, EXID
StandardMessage
RXB0DO, MY_DATA_BYTE1
RXB0CON, RXFUL
REC<7:0>: Receive Error Counter bits
This register contains the receive error value as defined by the CAN specifications. When
RXERRCNT > 127, the module will go into an error-passive state. RXERRCNT does not have the
ability to put the module in “bus-off” state.
REC6
R-0
READING A CAN MESSAGE
W = Writable bit
‘1’ = Bit is set
REC5
R-0
PIC18F2480/2580/4480/4580
REC4
R-0
; Does RXB0 contain a message?
; No. Handle this situation...
; Is this Extended Identifier?
; No. This is Standard Identifier message.
; Yes. This is Extended Identifier message.
; This will allow CAN Module to load new messages
; into this buffer.
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
REC3
R-0
REC2
R-0
x = Bit is unknown
REC1
R-0
DS39637D-page 299
REC0
R-0
bit 0

Related parts for PIC18F2480-I/SP