PIC18F97J60-I/PF Microchip Technology, PIC18F97J60-I/PF Datasheet - Page 232

IC PIC MCU FLASH 65KX16 100TQFP

PIC18F97J60-I/PF

Manufacturer Part Number
PIC18F97J60-I/PF
Description
IC PIC MCU FLASH 65KX16 100TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F97J60-I/PF

Program Memory Type
FLASH
Program Memory Size
128KB (64K x 16)
Package / Case
100-TQFP, 100-VQFP
Core Processor
PIC
Core Size
8-Bit
Speed
41.667MHz
Connectivity
EBI/EMI, Ethernet, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
70
Ram Size
3808 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3808 B
Interface Type
Display Driver/Ethernet/EUSART/I2C/MSSP/SPI
Maximum Clock Frequency
41.667 MHz
Number Of Programmable I/os
70
Number Of Timers
5
Operating Supply Voltage
2.35 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164136, DM183033
Minimum Operating Temperature
- 40 C
On-chip Adc
16-ch x 10-bit
Package
100TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
41.667 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162064 - HEADER INTFC MPLABICD2 64/80/100DM163024 - BOARD DEMO PICDEM.NET 2
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F97J60-I/PF
Manufacturer:
MICRRCHIP
Quantity:
1 800
Part Number:
PIC18F97J60-I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F97J60-I/PF
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC18F97J60-I/PF
0
Company:
Part Number:
PIC18F97J60-I/PF
Quantity:
9 000
PIC18F97J60 FAMILY
18.4
Before the Ethernet module can be used to transmit
and receive packets, certain device settings must be
initialized. Depending on the application, some config-
uration options may need to be changed. Normally,
these tasks may be accomplished once after Reset and
do not need to be changed thereafter.
Before any other configuration actions are taken, it is
recommended that the module be enabled by setting
the ETHEN bit (ECON2<5>). This reduces the Idle time
that might otherwise result while waiting for the
PHYRDY flag to become set.
18.4.1
Before receiving any packets, the receive buffer must
be initialized by setting the ERXST and ERXND Point-
ers. All memory between and including the ERXST and
ERXND addresses will be dedicated to the receive
hardware. The ERXST Pointers must be programmed
with an even address while the ERXND Pointers must
be programmed with an odd address.
Applications expecting large amounts of data and
frequent packet delivery may wish to allocate most of
the memory as the receive buffer. Applications that
may need to save older packets, or have several
packets ready for transmission, should allocate less
memory.
When programming the ERXST or ERXND Pointers, the
ERXWRPT Pointer registers will automatically be
updated with the value in the ERXST registers. The
address in the ERXWRPT registers will be used as the
starting location when the receive hardware begins writ-
ing received data. When the ERXST and ERXND Point-
ers are initialized, the ERXRDPT registers should
additionally be programmed with the value of the
ERXND registers. To program the ERXRDPT registers,
write to ERXRDPTL first, followed by ERXRDPTH. See
Section 18.5.3.3 “Freeing Receive Buffer Space” for
more information.
18.4.2
All memory which is not used by the receive buffer is
considered to be transmission buffer. Data which is to
be transmitted should be written into any unused
space. After a packet is transmitted, however, the hard-
ware will write a 7-byte status vector into memory after
the last byte in the packet. Therefore, the application
should leave at least 7 bytes between each packet and
the beginning of the receive buffer.
18.4.3
The appropriate receive filters should be enabled or
disabled by writing to the ERXFCON register. See
Section 18.8 “Receive Filters” for information on how
to configure it.
DS39762B-page 230
Module Initialization
RECEIVE BUFFER
TRANSMISSION BUFFER
RECEIVE FILTERS
Preliminary
initialization; the order of programming is unimportant.
18.4.4
If the initialization procedure is being executed immedi-
ately after enabling the module (setting the ETHEN bit
to ‘1’), the PHYRDY bit should be polled to make cer-
tain that enough time (1 ms) has elapsed before
proceeding to modify the PHY registers. For more
information
Section 18.1.3.1 “Start-up Timer”.
18.4.5
Several of the MAC registers require configuration during
initialization. This only needs to be done once during
1.
2.
3.
4.
5.
6.
7.
8.
Set the MARXEN bit (MACON1<0>) to enable
the MAC to receive frames. If using full duplex,
most applications should also set TXPAUS and
RXPAUS to allow IEEE defined flow control to
function.
Configure the PADCFG<2:0>, TXCRCEN and
FULDPX bits in the MACON3 register. Most
applications should enable automatic padding to
at least 60 bytes and always append a valid
CRC. For convenience, many applications may
wish to set the FRMLNEN bit as well to enable
frame length status reporting. The FULDPX bit
should be set if the application will be connected
to a full-duplex configured remote node;
otherwise leave it clear.
Configure the bits in MACON4. For maintaining
compliance with IEEE 802.3, be certain to set
the DEFER bit (MACON4<6>).
Program the MAMXFL registers with the maxi-
mum frame length to be permitted to be received
or transmitted. Normal network nodes are
designed to handle packets that are 1518 bytes
or less; larger packets are not supported by
IEEE 802.3.
Configure the MAC Back-to-Back Inter-Packet
Gap register, MABBIPG, with 15h (when
Full-Duplex mode is used) or 12h (when
Half-Duplex
Register 18-18 for a more detailed description of
configuring the inter-packet gap.
Configure
Inter-Packet Gap Low Byte register, MAIPGL,
with 12h.
If half duplex is used, configure the MAC Non
Back-to-Back Inter-Packet Gap High Byte
register, MAIPGH, with 0Ch.
Program the local MAC address into the
MAADR1:MAADR6 registers.
WAITING FOR THE PHY START-UP
TIMER
MAC INITIALIZATION SETTINGS
on
the
the
mode
MAC
© 2006 Microchip Technology Inc.
PHY
is
Non
start-up
used).
Back-to-Back
Refer
timer,
to
see

Related parts for PIC18F97J60-I/PF