Upload
trinhhanh
View
213
Download
0
Embed Size (px)
Citation preview
MMMMMMMMwizwizwizwiznetnetnetnet5300530053005300 Ethernet minimodule
User Guide
REV 1.0
rter K
its E
mbe
dded
Web
Ser
ve
PIC m
icro
cont
rolle
rs S
ta-
s fo
r ‘51
, AVR
, ST,
ation
Boa
rd
Eva
lu
rs P
roto
typing
Boa
rds M
inim
od-
Micro
proc
esor
sys
tem
s, P
CB
AVR, P
IC, S
T micro
cont
rolle
rs
ed In
Sys
tem
pro
gram
mer
s fo
r
net c
ontro
llers
, RFID
High
Spe-
ules
for m
icro
cont
rolle
rs, e
ther
-
design
ing
Eva
luat
ion
Board
s fo
r
ethe
rnet
con
trolle
rs, R
FID H
igh
nim
odules
for m
icro
cont
rolle
rs,
Serve
rs P
roto
typing
Boa
rds
mi-
lers
Sta
rter K
its E
mbe
dded
Web
‘51,
AVR, S
T, P
IC m
icro
cont
rol-
Spe
ed In
Sys
tem
s pr
ogra
mm
e-
roco
ntro
llers
Sta
rter K
its E
mbe
-
ards
for `
51, A
VR, S
T, P
IC m
ic-
PCB d
esigning
Eva
luat
ion
Bo-
ollers
Micro
proc
esor
sys
tem
s,
rs fo
r AVR
, PIC
, ST m
icro
cont
rl-
dded
Web
Ser
wer
s Pro
totyping
mer
s fo
r AVR
, PIC
, ST m
icro
co-
High
Speed
In S
yste
m p
rogr
am-
cont
rolle
rs, e
ther
net c
ontro
llers
,
Board
s M
inim
odules
for m
icro
-
con
trolle
rs M
icro
proc
esor
Boa
rds
ning
Eva
luat
ion
Sys
tem
s, P
CB D
esig-
R
Many ideas one solution
Contents
1 INTRODUCTION ....................................................................................................................................... 3
APPLICATIONS .............................................................................................................................................. 3
FEATURES .................................................................................................................................................... 3
CONSTRUCTION OF THE MODULE ....................................................................................................... 4
BLOCK DIAGRAM .......................................................................................................................................... 4
MODULE PIN-OUT ......................................................................................................................................... 5
ATMEGA128 MICROCONTROLLER ............................................................................................................. 11
ETHERNET CONTROLLER W5300 .............................................................................................................. 11
MEMORY CONTROLLER .............................................................................................................................. 12
DATAFLASH MEMORY ................................................................................................................................. 13
RESET CIRCUIT ........................................................................................................................................ 13
LED DIODES ............................................................................................................................................... 14
2 CONNECTION OF THE MODULE WITH THE EXTERNAL WORLD ....................................... 15
CONNECTION TO THE ETHERNET NETWORK ............................................................................................. 15
RS-232 INTERFACE ................................................................................................................................... 16
RS-485 INTERFACE ................................................................................................................................... 16
USB INTERFACE ........................................................................................................................................ 17
RADIO LINK ................................................................................................................................................. 17
LCD DISPLAY ............................................................................................................................................. 18
3 PROGRAMMING THE MODULE ..................................................................................................... 18
ISP CONNECTOR ........................................................................................................................................ 18
JTAG CONNECTOR .................................................................................................................................... 20
4 AN APPLICATION EXAMPLE ......................................................................................................... 21
5 EVALUATION BOARD ...................................................................................................................... 22
6 SPECIFICATIONS .............................................................................................................................. 23
7 TECHNICAL ASSISTANCE ............................................................................................................. 23
8 GUARANTEE ...................................................................................................................................... 23
9 ASSEMBLY DRAWINGS .................................................................................................................. 24
10 DIMENSIONS .................................................................................................................................. 25
11 SCHEMATICS ................................................................................................................................. 25
3
1 Introduction
Thank you for buying MMwiznet5300 minimodule. It was created with the idea of facilitating the communication of microprocessor systems through the Internet/Ethernet networks. The heart of the module is the RISC Atmega128 microcontroller with 128kB of program memory and 64kB of (external) RAM memory, co-operating with the Ethernet controller, WizNET W5300. The minimodule has an 512kB DataFlash serial memory for storage of WWW pages and of any files e.g. with measurement data. The memory is connected to a fast SPI bus with 8 Mb/s transmission speed.
Applications
The MMwiznet5300 minimodule can be used as a design base for electronic circuits co-operating from the Ethernet/Internet network, covering the following areas of interest:
• Industrial remote controlling and monitoring systems • Telemetry • Intelligent buildings • Alarm systems • Weather stations and environment monitoring • Medical electronics • Heating and air-conditioning systems • Telecommunication • Road traffic monitoring • Remote data logging • Home automation
The MMwiznet5300 minimodule can be also used in didactic workshops of information and electronic schools, illustrating the aspects of co-operation of electronic circuits from the Ethernet/Internet network, as well as be used to construct thesis circuits.
Features
• Fast RISC microcontroller ATmega128 with up to 16 MIPS throughput
• Ethernet controller10/100Mb/s W5300 with hardware TCP/IP stack
• 128kB of in circuit programmable FLASH program memory
• 64KB of RAM memory
• 4kB of EEPROM memory
• Serial DataFlash memory 4Mbits (512kBytes)
• Reliable reset circuit
• Crystal resonator 14.7456 or 16 MHz
• 4 LED diodes indicating: power, LAN activity, DataFlash activity
• Fully SMD made on 4-layer PCB
• 1 x 20 terminals with 0.1" (2.54mm) pitch fitting every prototype board
• Available free operating system with TCP/IP stack supporting many protocols
• Available evaluation board and sample applications
• Small dimensions: 56mm x 30.5mm
4
Construction of the module
Block diagram
The block diagram of the MMwiznet5300 minimodule is shown in the drawing:
ATmega12864kB RAM W5300
DataFlash
16MHz
EEPROM
PORTB
PORTD
BUS
PORTE
PORTF
Figure 1 Block diagram of the MMwiznet5300 minimodule.
Minimodule is sold in version MMwiznet5300-4-16-1, which contain 4Mbit DataFlash memory, 16MHz crystal and RJ45 connector mounted. For larger quantity orders it is possible to adjust module to customer’s needs, and then ordering using following selector is possible
MMwiznet5300 – f – c – c
0 – without DataFlash 4 –4Mb DataFlash 8 – 8Mb DataFlash 16 – 16Mb DataFlash 32 – 32Mb DataFlash
3.6864 - 3.6864 MHz Crystal 4 - 4 MHz Crystal 6 - 6 MHz Crystal 8 - 8 MHz Crystal 11.059 - 11.059 MHz Crystal 14.7456 - 14.7456 MHz Crystal 16 - 16 MHz Crystal
0 – without RJ45 connector(J4 mounted instead) 1 – with RJ45 connector
6
J1
J1
Function
in MMwiznet
5300
Name Name Function in
MMwiznet5300
PB0/#SS 1 1 PE7/ INT7 DataFlash
– SCK PB1/ SCK 2 2 PE6/ INT6 DataFlash
- MOSI PB2/MOSI 3 3 PE5/ INT5 Interrupt from
W5300 DataFlash
– MISO PB3/ MISO 4 4 PE4/ INT4
PB4/OC0/PWM0 5 5 PE3/ AC- DataFlash
– #CS PB5/ OC1A/PWM1A 6 6 PE2/ AC+
PB6/OC1B/PWM1B 7 7 PE1/ PDO/TxD
PB7/ OC2/PWM2 8 8 PE0/ PDI/RxD
PD0/#INT0/SCL 9 9 AREF
PD1/#INT1/SDA 10 10 PF0/ ADC0
PD2/#INT2/RxD1 11 11 PF1/ ADC1
PD3/#INT3/TxD1 12 12 PF2/ ADC2
PD4/ IC1 13 13 PF3/ADC3
PD5 14 14 PF4/ ADC4/TCK
PD6/ T1 15 15 PF5/ ADC5/TMS
PD7/T2 16 16 PF6/ ADC6/TDO
LEDACT 17 17 PF7/ ADC7/TDI
LEDLINK 18 18 TOSC1/PG4
+5V 19 19 TOSC2/PG3
GND 20 20 #RESET
J1
No. Function Alt. function Description
1 PB0 #SS
PB0 – general purpose digital I/O Alternative functions: SS – Slave Port Select input. When the SPI is enabled as a slave, this pin is configured as an input regardless of the setting of DDB0. As a slave, the SPI is activated when this pin is driven low. When the SPI is enabled as a master, the data direction of this pin is controlled by DDB0. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB0 bit. Table 31 and Table 32 relate the alternate functions of Port B to the overriding signals shown in Figure 33 on page 67. SPI MSTR INPUT and SPI SLAVE OUTPUT constitute the MISO signal, while MOSI is divided into SPI MSTR OUTPUT and SPI SLAVE INPUT.
7
2 PB1 SCK
PB1 – general purpose digital I/O Alternative functions: SCK – Master Clock output, Slave Clock input pin for SPI channel. When the SPI is enabled as a slave, this pin is configured as an input regardless of the setting of DDB1. When the SPI is enabled as a master, the data direction of this pin is controlled by DDB1. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB1 bit.
3 PB2 MOSI
PB2 – general purpose digital I/O Alternative functions: MOSI – SPI Master Data output, Slave Data input for SPI channel. When the SPI is enabled as a slave, this pin is configured as an input regardless of the setting of DDB2. When the SPI is enabled as a master, the data direction of this pin is controlled by DDB2. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB2 bit.
4 PB3 MISO
PB3 – general purpose digital I/O Alternative functions: MISO – Master Data input, Slave Data output pin for SPI channel. When the SPI is enabled as a master, this pin is configured as an input regardless of the setting of DDB3. When the SPI is enabled as a slave, the data direction of this pin is controlled by DDB3. When the pin is forced to be an input, the pull-up can still be controlled by the PORTB3 bit.
5 PB4 OC0/PWM0
PB4 – general purpose digital I/O Alternative functions: OC0 – Output Compare Match output: The PB4 pin can serve as an eternal output for the Timer/Counter0 Output Compare. The pin has to be configured as an output (DDB4 set (one)) to serve this function. The OC0 pin is also the output pin for the PWM mode timer function.
6 PB5 OC1A/PWM1A
PB5 – general purpose digital I/O Alternative functions: OC1A – Output Compare Match A output: The PB5 pin can serve as an external output for the Timer/Counter1 Output Compare A. The pin has to be configured as an output (DDB5 set (one)) to serve this function. The OC1A pin is also the output pin for the PWM mode timer function.
7 PB6 OC1B/PWM1B
PB6 – general purpose digital I/O Alternative functions: OC1B – Output Compare Match B output: The PB6 pin can serve as an external output for the Timer/Counter1 Output Compare B. The pin has to be configured as an output (DDB6 set (one)) to serve this function. The OC1B pin is also the output pin for the PWM mode timer function.
8 PB7 OC2/PWM2
PB7 – general purpose digital I/O Alternative functions: OC2 – Output Compare Match output: The PB7 pin can serve as an external output for the Timer/Counter2 Output Compare. The pin has to be configured as an output (DDB7 set “one”) to serve this function. The OC2 pin is also the output pin for the PWM mode timer function. OC1C – Output Compare Match C output: The PB7 pin can serve as an external output for the Timer/Counter1 Output Compare C. The pin has to be configured as an output (DDB7 set (one)) to serve this function. The OC1C pin is also the output pin for the PWM mode timer function.
8
9 PD0 #INT0/SCL
PD0 – general purpose digital I/O Alternative functions: INT0 – External Interrupt source 0. The PD0 pin can serve as an external interrupt source to the MCU. SCL – Two-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to enable the Two-wire Serial Interface, pin PD0 is disconnected from the port and becomes the Serial Clock I/O pin for the Two-wire Serial Interface. In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with slew-rate limitation.
10 PD1 #INT1/SDA
PD1 – general purpose digital I/O Alternative functions: INT1 – External Interrupt source 1. The PD1 pin can serve as an external interrupt source to the MCU. SDA – Two-wire Serial Interface Data: When the TWEN bit in TWCR is set (one) to enable the Two-wire Serial Interface, pin PD1 is disconnected from the port and becomes the Serial Data I/O pin for the Two-wire Serial Interface. In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with slew-rate limitation.
11 PD2 #INT2/RxD1
PD2 – general purpose digital I/O Alternative functions: INT2 – External Interrupt source 2. The PD2 pin can serve as an External Interrupt source to the MCU. RXD1 – Receive Data (Data input pin for the USART1). When the USART1 receiver is enabled this pin is configured as an input regardless of the value of DDD2. When the USART forces this pin to be an input, the pull-up can still be controlled by the PORTD2 bit.
12 PD3 #INT3/TxD1
PD3 – general purpose digital I/O Alternative functions: INT3 – External Interrupt source 3: The PD3 pin can serve as an external interrupt source to the MCU. TXD1 – Transmit Data (Data output pin for the USART1). When the USART1 Transmitter is enabled, this pin is configured as an output regardless of the value of DDD3.
13 PD4 IC1
PD4 – general purpose digital I/O Alternative functions: XCK1 – USART1 External clock. The Data Direction Register (DDD4) controls whether the clock is output (DDD4 set) or input (DDD4 cleared). The XCK1 pin is active only when the USART1 operates in Synchronous mode. IC1 – Input Capture Pin1: The PD4 pin can act as an input capture pin for Timer/Counter1.
14 PD5 PD5 – general purpose digital I/O
15 PD6 T1 PD6 – general purpose digital I/O Alternative functions: T1 – Timer/Counter1 counter source.
16 PD7 T2 PD7 – general purpose digital I/O Alternative functions: T2 – Timer/Counter2 counter source.
17 LEDACT The output of the LEDACT diode driving signal (indicating activity of the module in Ethernet network). It can be used to connect an additional diode, e.g. led out externally to the device case.
18 LEDLINK The output of the LEDLINK diode driving signal (indicating connection to the Ethernet network). It can be used to connect an additional diode, e.g. led out externally to the device case.
19 +5V Power supply input +5V. 20 GND Grodund.
9
J2 Nr Funkcja Alt. funkcja Opis
1 PE7 INT7
PE7 – General purpose digital I/O Alternative functions: INT7 – External Interrupt source 7: The PE7 pin can serve as an external interrupt source. IC3 – Input Capture Pin3: The PE7 pin can act as an input capture pin for Timer/Counter3.
2 PE6 INT6
PE6 – general purpose digital I/O Alternative functions: INT6 – External Interrupt source 6: The PE6 pin can serve as an external interrupt source. T3 – Timer/Counter3 counter source.
3 PE5 INT5
PE5 – general purpose digital I/O Alternative functions: INT5 – External Interrupt source 5: The PE5 pin can serve as an External Interrupt source. OC3C – Output Compare Match C output: The PE5 pin can serve as an External output for the Timer/Counter3 Output Compare C. The pin has to be configured as an output (DDE5 set “one”) to serve this function. The OC3C pin is also the output pin for the PWM mode timer function.
4 PE4 INT4
PE4 – general purpose digital I/O Alternative functions: INT4 – External Interrupt source 4: The PE4 pin can serve as an External Interrupt source. OC3B – Output Compare Match B output: The PE4 pin can serve as an External output for the Timer/Counter3 Output Compare B. The pin has to be configured as an output (DDE4 set (one)) to serve this function. The OC3B pin is also the output pin for the PWM mode timer function.
5 PE3 AC-
PE3 – general purpose digital I/O Alternative functions: AC- – Analog Comparator Negative input. This pin is directly connected to the negative input of the Analog Comparator. OC3A, Output Compare Match A output: The PE3 pin can serve as an External output for the Timer/Counter3 Output Compare A. The pin has to be configured as an output (DDE3 set “one”) to serve this function. The OC3A pin is also the output pin for the PWM mode timer function.
6 PE2 AC+
PE2 – general purpose digital I/O Alternative functions: AC+ – Analog Comparator Positive input. This pin is directly connected to the positive input of the Analog Comparator. XCK0, USART0 External clock. The Data Direction Register (DDE2) controls whether the clock is output (DDE2 set) or input (DDE2 cleared). The XCK0 pin is active only when the USART0 operates in Synchronous mode.
7 PE1 PDO/TPD
PE1 – general purpose digital I/O Alternative functions: PDO – SPI Serial Programming Data Output. During Serial Program Downloading, this pin is used as data output line for the ATmega128. TXD0 – UART0 Transmit pin.
10
8 PE0 PDI/RxD
PE0 – general purpose digital I/O Alternative functions: PDI – SPI Serial Programming Data Input. During Serial Program Downloading, this pin is used as data input line for the ATmega128. RXD0 – USART0 Receive Pin. Receive Data (Data input pin for the USART0). When the USART0 receiver is enabled this pin is configured as an input regardless of the value of DDRE0. When the USART0 forces this pin to be an input, a logical one in PORTE0 will turn on the internal pull-up.
9 AREF Analog reference voltage for the A/D converter
10 PF0 ADC0 PF0 – general purpose digital I/O Alternative functions: ADC0 – Analog to Digital Converter, Channel 0.
11 PF1 ADC1 PF1 – general purpose digital I/O Alternative functions: ADC1 – Analog to Digital Converter, Channel 1.
12 PF2 ADC2 PF2 – general purpose digital I/O Alternative functions: ADC2 – Analog to Digital Converter, Channel 2.
13 PF3 ADC3 PF3 – general purpose digital I/O Alternative functions: ADC3 – Analog to Digital Converter, Channel 3.
14 PF4 ADC4/TCK
PF4 – general purpose digital I/O Alternative functions: ADC4 – Analog to Digital Converter, Channel 4. TCK – JTAG Test Clock: JTAG operation is synchronous to TCK. When the JTAG interface is enabled, this pin can not be used as an I/O pin.
15 PF5 ADC5/TMS
PF5 – general purpose digital I/O Alternative functions: ADC5 – Analog to Digital Converter, Channel 5. TMS – JTAG Test Mode Select: This pin is used for navigating through the TAP-controller state machine. When the JTAG interface is enabled, this pin can not be used as an I/O pin.
16 PF6 ADC6/TDO
PF6 – general purpose digital I/O Alternative functions: ADC6 – Analog to Digital Converter, Channel 6. TDO – JTAG Test Data Out: Serial output data from Instruction Register or Data Register. When the JTAG interface is enabled, this pin can not be used as an I/O pin. The TDO pin is tri-stated unless TAP states that shift out data are entered.
17 PF7 ADC7/TDI
PF7 – general purpose digital I/O Alternative functions: ADC7 – Analog to Digital Converter, Channel 7. TDI – JTAG Test Data In: Serial input data to be shifted in to the Instruction Register or Data Register (scan chains). When the JTAG interface is enabled, this pin can not be used as an I/O pin.
18 PG4 TOSC1
PG4 – general purpose digital I/O Alternative functions: TOSC1 - Timer Oscillator pin 1: When the AS0 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter0, pin PG4 is disconnected from the port, and becomes the input of the inverting Oscillator amplifier. In this mode, a Crystal Oscillator is connected to this pin, and the pin can not be used as an I/O pin.
19 PG3 TOSC2
PG4 – general purpose digital I/O Alternative functions: TOSC1 - Timer Oscillator pin 2: When the AS0 bit in ASSR is set (one) to enable asynchronous clocking of Timer/Counter0, pin PG3 is disconnected from the port, and becomes the inverting output of the Oscillator amplifier. In this mode, a Crystal Oscillator is connected to this pin, and the pin can not be used as an I/O in.
20 #RESET Input/output of RESET signal
11
ATmega128 microcontroller
• High-performance RISC architecture, 121 instructions (most single clock cycle execution), 16 MIPS at 16MHz
• 128 KBytes of Flash memory
• 4K Bytes of SRAM memory
• 4K Bytes of EEPROM
• SPI Master/Slave interface
• Four internal timers/counters 8/16bit
• Two UART interfaces (up to 1Mbaud)
• Serial interface compatible with I2C
• In System Programming
• In Circuit Debugging through JTAG interface
• Real Time Clock with 32 kHz oscillator
• 8 channel 10-bti A/D converter
• 6 I/O ports
• 6 PWM outputs
• Extended temperature range, internal and external interrupt sources
• Internal watchdog timer
• More informations at Atmel's site
Ethernet controller W5300
• Single chip Ethernet contro ller with embedded TCP/IP stack
• Integrated 10BaseT/100BaseTX Ethernet PHY
• Supports hardwired TCP/IP protocols : TCP,UDP,ICMP,IPv4,ARP,IGMPv2,PPPoE,Ethernet
• Supports 8 independent SOCKETs simultaneously
• High network performance : Up to 50Mbps
• Supports PPPoE connection (with PAP/CHAP Authentication mode)
• Internal 128Kbytes memory for data communication
• Supports auto negotiation and auto MDI/MDIX(Crossover)
• Supports network Indicator LEDs
The module is adapted to operate with the network controller with use of interrupts. The interrupt signal is connected to input INT5 (PE5) of the microcontroller.
The state of the Ethernet controller is signaled by two LED diodes: LNK – connection with the network, and ACT – active (transmission/reception).
12
Memory controller
MMwiznet5300 has simple memory controller, which divides memory space into two areas: RAM memory area and Ethernet controller area. Implementation of memory controller is shown on drawing below
1234
56
1112
8
U4
74HC30 89
10
U5C
74HC00
#SEL_LAN
#SEL_RAM
A10
A12A13
A11
A15A14
+5V
Memory map is shown below:
FFFF W5300
FC00
External RAM and MCU’s
internal RAM 64511B
0000
13
DataFlash memory
The minimodule can be equipped with serial AT45DB DataFlash memory (4 - 32Mb capacity), this gives 0.5 – 4MB of memory for storing files with WWW pages or collecting measurement files. The memory is connected to a fast SPI bus with 8 MB/s transmission speed.
Memory chip is activated after applying a low logic level to #CS input. The #CS input of memory is connected to port PB5 of the microcontroller. The SPI bus occupies three terminals of the microprocessor: PB1, PB2, PB3. It should be kept in mind that if DataFlash memory is installed, the just outlined port terminals cannot be used externally to the module. Of course the SPI bus can be used for communication with external peripherals, under the condition that they will have circuit selection inputs (CS). The diagram below shows the connection of DataFlash memory inside the module.
SCK2
SO8
SI1
VCC6
GND7
CS#4
WP#5
RST#3
U6
AT45DB041BGND
C3
100n
R310k
+5V
D1
DF
PB2PB3PB1PB5
+5V
Figure 3 Connection of DataFlash memory inside the module.
A detailed description of DataFlash circuits is on the Atmel Company page: www.atmel.com.
RESET circuit
The MMwiznet5300 has a built-in voltage monitoring circuit constructed around the DS1811 integrated circuit. The circuit generates a RESET signal in case when the supply voltage value is lower than 4.6 V. This takes place when the supply voltage is switched on or off, when the VCC voltage changes its value from 0 to 5 V.
The guard circuit detects also momentary VCC voltage drops. A short duration drop of VCC below 4.6 V causes the generation of a resetting signal of 100 ms duration. This signal is applied directly to the resetting input of the microcontroller and the W5300. The RESET signal is led out to a module connector and it can be used as the zeroing output resetting external circuits and as the input for resetting the module, e.g. by means of the RESET button. In such a case the RESET button can short the RESET line directly to ground. An implementation of the reset circuit is presented in the diagram below.
#RESET
RESET
GND
+5V
RST1
VCC2
GND3
U7
DS1811
1112
13
U5D
74HC00
R410k
+5V
Figure 4 Implementation of the reset circuit in the module.
14
LED diodes
The minimodule is equipped with four LED diodes which signal the following:
• supply of power
• operation of the Ethernet controller: o connection to the network o activity (transmission/reception)
• operation of the DataFlash memory (analogously as the HDD diode in PCs).
Diode signals (with exception of DataFlash diode) are led out outside the module which enables doubling the signaling e.g. externally to the device case. An example of a realization of such a solution is shown in the drawing:
LINK
ACT
+5V
1k
1k
RESET
GND
GND
PE7/INT7J2_1
PE6/INT6J2_2
PE5/INT5J2_3
PE4/INT4J2_4
PE3/AC-J2_5
PE2/AC+J2_6
PE1/PDO/TxD0J2_7
PE0/PDI/RxD0J2_8
PF7/ADC7J2_17
PF6/ADC6J2_16
PF5/ADC5J2_15
PF4/ADC4J2_14
PF3/ADC3J2_13
PF2/ADC2J2_12
PF1/ADC1J2_11
PF0/ADC0J2_10
AREFJ2_9
+5VJ1_19
GNDJ1_20
LED_LINKJ1_18
LED_ACTIVJ1_17
#RESETJ2_20
TOSC1J2_18
TOSC2J2_19
PD7/T2J1_16
PD6/T1J1_15
PD5J1_14
PD4/IC1J1_13
PD3/INT3/TxD1J1_12
PD2/INT2/RxD1J1_11
PD1/INT1/SDAJ1_10
PD0/INT0/SCLJ1_9
PB7/OC2/PWM2J1_8
PB6/OC1B/PWM1BJ1_7
PB5/OC1A/PWM1AJ1_6
PB4/OC0/PWM0J1_5
PB3/MISOJ1_4
PB2/MOSIJ1_3
PB1/SCKJ1_2
PB0/SSJ1_1
TP
IN-
J4_
1
TP
IN+
J4_
2
TP
OU
T-
J4_
3
TP
OU
T+
J4_
4
MMnet01
+5VGND
Figure 5 Connection of external signaling diodes and the RESET button.
15
2 Connection of the module with the external world Connection to the Ethernet network
MMwiznet5300 module has RJ45 connector integrated with separation transformer and LED diodes. This frees the user from necessity of buying suitable components and mounting them on base board. Led diodes indicates operation of the Ethernet controller: green – connection to the network, orange – activity.
LA
N
GND GND
C20100nF
1234
J4
Header 4
SH101
SH102
TXD+1
TXD_CT2
TXD-3
RXD+4
RXD_CT5
RXD-67
SH8
A19
K110
A211
K212
J3
JFM24011-0101T
R12 470R
R11 470R
LINK
D3
ACT
D4
+3.3V+3.3V
C21100nF
+3.3V
R1649.9R
R1549.9R
R1449.9R
R1349.9R
C38100nF
GND GND
R9470R
R10470R
+3V3A
ACTLED
LINKLED
TXOP
TXONRXIP
RXIN
Figure 6 Connection of RJ45 jack inside module.
The module can be also bought without mounted RJ45 connector. In this case Ethernet signals are led out from module through J4 connector. This option makes possible to place separation transformer on the base board and use Power-Over-Ethernet technology or power device through Ethernet cable.
1
2
3
4
5
6
7
8
16
15
14
11
10
9
13
12
XM
ITR
CV
20F001N
10n 10n 10n/2kV 10n/2kV
LAN_GNDLAN_GND
AC2
AC1
GND GND
LA
N
LAN_GND
TX+1
TX-2
RX+345
RX-678
SH1SH2
RJ45
10n
TXOP
TXON
RXIP
RXIN
Figure 7 Connection to the Ethernet using a transformer.
16
RS-232 interface
The ATmega128 microcontroller has two USART ports which can be used to connect the minimodule with a PC computer or other equipment equipped with a RS-232 port. Such a connection requires a level converter based on a MAX232 or similar IC, connected to the TxD and RxD lines.
V+2
C1+1
C1-3
C2+4
C2-5
V-6
T1 IN11
T2 IN10
R1 OUT12
R2 OUT9
T1 OUT14
T2 OUT7
R1 IN13
R2 IN8
VC
C1
6G
ND
15 ST2321
62738495
DB9F
GNDGND
GND
GND
GND
+5V
+5V
RS
-23
2
PE1(TxD0) lub PD3(TxD1)
PE0(RxD0) lub PD2(RxD1)
100n
100n
100n
100n
Figure 6 Connection of the RS-232 to the MMwiznet5300.
RS-485 interface
The RS-485 interface facilitates long-distance transmission in a difficult environment. An implementation of this interface is as simple as that of RS-232 and requires only a line driver, e.g. MAX485. The feature discerning this interface from RS-232 is the necessity to control the direction of action of the driver (transmission/reception). This control is effected through the program, using any I/O pin of the microcontroller. The 560R resistors visible in the diagram polarize initially the inputs, increasing the immunity to interference. The 120R resistor connected by means of a shorting strap is used to match the interface to the line impedance.
VCC8
B7
A6
GND5
RO1
RE2
DE3
DI4
MAX485
U8
Pxx
JP
123 B
AGND
+5V +5V
GNDGND
GND
560R
120R560R
PE1(TxD0) lub PD3(TxD1)
PE0(RxD0) lub PD2(RxD1)
Figure 7 Connection of the RS-485 port to the MMwiznet5300.
17
USB interface
The current standard in connecting with a PC, the USB interface, permits quick transfers and taking the power supply from the computer. Thanks to the existence of circuits converting the USB interface to RS-232, its implementation in own equipment is very simple and cheap. The drawing below presents a way of equipping the MMwiznet5300 module with an USB interface, using the MMusb232 module. After installing VCP drivers, such an interface is seen in the system as a virtual COM port, thus its software on the PC should surely provide no problems.
TXLED1
PWRCTL2
PWREN3
TxDEN4
RI5
DCD6
DSR7
DTR8
CTS9
RTS10
RxD11
TxD12
NC13
GND14
RESET15
RESETO16
GND17
3V3OUT18
GND19
SLEEP20
RXLED21
IOVCC22
EXTVCC23
PORTVCC24
MMusb232
GND
GND
GND
RX
TX1k5
1k5+5V
+5V_USB
PE1(TxD0) lub PD3(TxD1)PE0(RxD0) lub PD2(RxD1)
USB Connector
Figure 8 Connection of the USB port to the MMnet01.
Additional information on the MMusb232 module can be found on the web page: http://www.propox.com/products/t_93.html?lang=en
Radio link
Fitting the system with the possibility of communicating via a wireless path provides a possibility of easy control and collection of measurement data from system elements dispersed in the object, without the need to install any cabling. Thanks to the existence of integrated transceivers the construction of such links is relatively simple. The figure presents a way of connecting an MMnet01 module with a radio minimodule MMcc1000. To execute such a connection, five I/O microcontroller lines are needed, including one breakpoint input. An optional connection of the RSSI output with the input of the A/D converter permits the measurement of the strength of the received signal.
GND
GND
GND
Antena
+3.3VADCx
INTx
Pxx
Pxx
Pxx
Pxx
CHPJ1_6
DIOJ1_5
DCLKJ1_4
PCLKJ1_3
PDATAJ1_2
PALEJ1_1
GNDJ2_6
RSSIJ2_5
VCCJ2_4
GNDJ2_3
ANTJ2_2
GNDJ2_1
MMcc1000
J1 J2
1k1k1k1k1k
Additional information on the MMcc1000 module can be found on the page: http://www.propox.com/products/t_92.html?lang=en
18
LCD display
MMwiznet5300 module does not have external system bus, so LCD display can be connected only to microcontroller’s ports. Such a solution is shown in the figure below.
1234567891011121314
LCD 16x2
PE5
100n
GND
+5V
PE6
+5VGND
PE1
PE3PE2
PE0
PE4
7k5
620R
HD44780
GNDVCCCONTRSRWE
D7
D0D1D2D3D4D5D6
Figure 9 Connection of the LCD display to microcontroller ports.
RW input can be permanently connected to ground, which reduce necessary pin count to six.
3 Programming the module
The ATmega128 microcontroller has 128kB of Flash memory programmable in the system for the program code and 4kB of EEPROM memory for user’s data. Programming of these memories can be effected in two ways: by means of an ISP interface or through JTAG. Both interfaces have a standard of used connectors and a standard of arranging signals in the connector.
ISP connector
The programmer in ISP standard communicates with the microcontroller through a three-wire SPI interface (plus the RESET signal and power supply). The interface uses the I/O terminals of the microcontroller (PE0, PE1 and PB1) which, after the programming, can fulfill ordinary functions. When connecting peripherals to these terminals it should be remembered that the programmer should have the possibility to force appropriate logic levels on them. The figures below present the method of connecting the ISP connector to the module. Figure 13 shows the use of an analog multiplexer 4053 to separate the programmer from the peripherals connected to microcontroller ports.
19
+5VGND
12345678910
ISP
GNDGNDGNDGND+5V
MISOSCKRSTLEDMOSI
ISP1k
+5V
PE7/INT7J2_1
PE6/INT6J2_2
PE5/INT5J2_3
PE4/INT4J2_4
PE3/AC-J2_5
PE2/AC+J2_6
PE1/PDO/TxD0J2_7
PE0/PDI/RxD0J2_8
PF7/ADC7J2_17
PF6/ADC6J2_16
PF5/ADC5J2_15
PF4/ADC4J2_14
PF3/ADC3J2_13
PF2/ADC2J2_12
PF1/ADC1J2_11
PF0/ADC0J2_10
AREFJ2_9
+5VJ1_19
GNDJ1_20
LED_LINKJ1_18
LED_ACTIVJ1_17
#RESETJ2_20
TOSC1J2_18
TOSC2J2_19
PD7/T2J1_16
PD6/T1J1_15
PD5J1_14
PD4/IC1J1_13
PD3/INT3/TxD1J1_12
PD2/INT2/RxD1J1_11
PD1/INT1/SDAJ1_10
PD0/INT0/SCLJ1_9
PB7/OC2/PWM2J1_8
PB6/OC1B/PWM1BJ1_7
PB5/OC1A/PWM1AJ1_6
PB4/OC0/PWM0J1_5
PB3/MISOJ1_4
PB2/MOSIJ1_3
PB1/SCKJ1_2
PB0/SSJ1_1
TP
IN-
J4_1
TP
IN+
J4_2
TP
OU
T-
J4_3
TP
OU
T+
J4_4
MMwiznet5300
Figure 10 Connecting the MMnet01 module with an ISP connector.
+5VGND
12345678910
ISP
#RESET
GNDGNDGNDGND+5V
X012
X113
Y02
Y11
Z05
Z13
INH6
A11
B10
C9
X14
Y15
Z4
VDD16
VSS8
VEE7
4053
PE1
PB1
PE0
GND+5VGNDGND
ISP
+5V1k
MISOSCKRSTLEDMOSI
#RESET
PE7/INT7J2_1
PE6/INT6J2_2
PE5/INT5J2_3
PE4/INT4J2_4
PE3/AC-J2_5
PE2/AC+J2_6
PE1/PDO/TxD0J2_7
PE0/PDI/RxD0J2_8
PF7/ADC7J2_17
PF6/ADC6J2_16
PF5/ADC5J2_15
PF4/ADC4J2_14
PF3/ADC3J2_13
PF2/ADC2J2_12
PF1/ADC1J2_11
PF0/ADC0J2_10
AREFJ2_9
+5VJ1_19
GNDJ1_20
LED_LINKJ1_18
LED_ACTIVJ1_17
#RESETJ2_20
TOSC1J2_18
TOSC2J2_19
PD7/T2J1_16
PD6/T1J1_15
PD5J1_14
PD4/IC1J1_13
PD3/INT3/TxD1J1_12
PD2/INT2/RxD1J1_11
PD1/INT1/SDAJ1_10
PD0/INT0/SCLJ1_9
PB7/OC2/PWM2J1_8
PB6/OC1B/PWM1BJ1_7
PB5/OC1A/PWM1AJ1_6
PB4/OC0/PWM0J1_5
PB3/MISOJ1_4
PB2/MOSIJ1_3
PB1/SCKJ1_2
PB0/SSJ1_1
TP
IN-
J4_1
TP
IN+
J4_2
TP
OU
T-
J4_3
TP
OU
T+
J4_4
MMwiznet5300
Figure 11 Connection of the MMnet01 module with an ISP connector using a multiplexer.
20
1 2
9 10
VCCGNDGNDGNDGND
MOSILEDRSTSCKMISO
Figure 12 ISP connector.
PIN DESCRIPTION
MOSI Commands and data from programmer to target
LED Multiplexer and LED diode driving signal
RST RESET signal
SCK Serial Clock, Controlled by programmer
MISO Data from target AVR to programmer
VCC Supply voltage to the programmer
GND Ground
Caution: The SPI interface used for programming the processor is not the same interface which is available to the user for communication with peripherals and it uses other outputs.
Programmers which can be used to program the MMnet01 can be found on the following pages: - ISPCable I: http://www.propox.com/products/t_77.html?lang=en - ISPCable II: http://www.propox.com/products/t_78.html?lang=en
JTAG connector
JTAG is a four-lead interface permitting the takeover of control over the processor’s core and its internal peripherals. The possibilities offered by this interface are, among others: step operation, full-speed operation, equipment and program pitfalls, inspection and modification of contents of registers and data memories. Apart from this, functions are available offered by ISP programmers: programming and readout of Flash, EEPROM, fuse memories and lock bites. The method of connecting the JTAG connector to the minimodule is shown in the drawing:
+5VGND
GND
+5VTDI
TDOTMS
TCK1 23 45 67 89 10
J8
JTAG
GND
+5V
VCC
VrefRST
PE7/INT7J2_1
PE6/INT6J2_2
PE5/INT5J2_3
PE4/INT4J2_4
PE3/AC-J2_5
PE2/AC+J2_6
PE1/PDO/TxD0J2_7
PE0/PDI/RxD0J2_8
PF7/ADC7J2_17
PF6/ADC6J2_16
PF5/ADC5J2_15
PF4/ADC4J2_14
PF3/ADC3J2_13
PF2/ADC2J2_12
PF1/ADC1J2_11
PF0/ADC0J2_10
AREFJ2_9
+5VJ1_19
GNDJ1_20
LED_LINKJ1_18
LED_ACTIVJ1_17
#RESETJ2_20
TOSC1J2_18
TOSC2J2_19
PD7/T2J1_16
PD6/T1J1_15
PD5J1_14
PD4/IC1J1_13
PD3/INT3/TxD1J1_12
PD2/INT2/RxD1J1_11
PD1/INT1/SDAJ1_10
PD0/INT0/SCLJ1_9
PB7/OC2/PWM2J1_8
PB6/OC1B/PWM1BJ1_7
PB5/OC1A/PWM1AJ1_6
PB4/OC0/PWM0J1_5
PB3/MISOJ1_4
PB2/MOSIJ1_3
PB1/SCKJ1_2
PB0/SSJ1_1
TP
IN-
J4_
1
TP
IN+
J4_
2
TP
OU
T-
J4_
3
TP
OU
T+
J4_
4
MMwiznet5300
Figure 13 Connection of the MMnet01 module with the JTAG connector.
21
1 2
9 10
GNDVrefNSRSTNTRSTGND
TCKTDOTMSVCCTDI
Figure 14 JTAG connector.
PIN DESCRIPTION
TCK Test Clock, clock signal from emulator to target
TDO Test Data Output, data signal from target to emul.
TMS Test Mode Select, mode select signal from
VCC Supply voltage to the emulator
TDI Test Data Input, data signal from emul. to target
Vref Target voltage sense
RST RESET signal
GND Ground
If the JTAG interface is connected into the fuse bits of the microcontroller, then terminals PF4...PF7 (ADC4...ADC7) can serve only as an interface and cannot operate as I/O terminals or analogue inputs.
The programmer/emulator JTAG can be found on the page: - JTAGCable I : http://www.propox.com/products/t_99.html?lang=en
4 An application example
The diagram below shows the MMwiznet module in a simple application, controlling relays through the Ethernet network (e.g. surfing the WWW). The diagram does not include the supply of power.
+5VGND
LAN
123
ARK3
1N4148
GND
BC 857
+12V
123
ARK3
1N4148
GND
BC 857
4k7
4k7
1k5
1k5
GND
GND
RR
EL
2R
RE
L1
PE7/INT7J2_1
PE6/INT6J2_2
PE5/INT5J2_3
PE4/INT4J2_4
PE3/AC-J2_5
PE2/AC+J2_6
PE1/PDO/TxD0J2_7
PE0/PDI/RxD0J2_8
PF7/ADC7J2_17
PF6/ADC6J2_16
PF5/ADC5J2_15
PF4/ADC4J2_14
PF3/ADC3J2_13
PF2/ADC2J2_12
PF1/ADC1J2_11
PF0/ADC0J2_10
AREFJ2_9
+5VJ1_19
GNDJ1_20
LED_LINKJ1_18
LED_ACTIVJ1_17
#RESETJ2_20
TOSC1J2_18
TOSC2J2_19
PD7/T2J1_16
PD6/T1J1_15
PD5J1_14
PD4/IC1J1_13
PD3/INT3/TxD1J1_12
PD2/INT2/RxD1J1_11
PD1/INT1/SDAJ1_10
PD0/INT0/SCLJ1_9
PB7/OC2/PWM2J1_8
PB6/OC1B/PWM1BJ1_7
PB5/OC1A/PWM1AJ1_6
PB4/OC0/PWM0J1_5
PB3/MISOJ1_4
PB2/MOSIJ1_3
PB1/SCKJ1_2
PB0/SSJ1_1
TP
IN-
J4_
1
TP
IN+
J4_
2
TP
OU
T-
J4_
3
TP
OU
T+
J4_
4
MMwiznet5300
Figure 15 MMwiznet5300 in a simple application controlling relays through the Ethernet network.
22
5 Evaluation Board
Minimodule can be used with two evaluation foards from Propox offer. Below is short characterisation of them:
EVBnet01 EVBmmTm
• Power supply
• RS232 port
• USB port (with use of MMusb232 minimodule)
• ISP connector
• JTAG connector
• 2x16 chars LCD display
• 8 LED diodes
• 4 push-buttons
• 2 potentiometers
• Prototype design area
• Connector with all terminals of the minimodule
• Connectors of all peripherals accessible on board
• JTAG connector for in system programming and debugging
• Voltage regulators (+5V and +3,3V)
• Possibility supply with USB Port
• Power switch
• 8 switches and 8 LED diodes
• Buzzer
• 2 potentiometers
• IRDA port
• USB Device and USB Host ports
• Two ports RS232 with LEDs
• Codec Audio
• CAN Interface
• 1-WIRE connector
• SD/MMC card slot
• Alphanumeric LCD connector
• Graphic LCD connector
More info: http://www.propox.com/products/t_138.html?lang=en
More info: http://www.propox.com/products/t_183.html?lang=en
23
6 Specifications
Microcontroller ATmega128 16MHz
Ethernet controller W5300 10/100Mb/s
Program memory 128kB
Data memory 64kB
EEPROM memory 8kB
DataFlash memory up to 4MB
No. of digital I/O up to 32
No. of analog inputs up to 8
Power 5V 5%
Dimensions 56x30.5mm
Weight ok. 100g
Operating temperature range 0 – 70ºC
Humidity 5 – 95%
Connectors double 1x20 headers
7 Technical assistance
In order to obtain technical assistance please contact [email protected] . In the request please include the following information:
• number of the module version (e.g. REV 1)
• a detailed description of the problem
8 Guarantee
The MMwiznet5300 minimodule is covered by a six-month guarantee. All faults and defects not caused by the user will be removed at the Producer’s cost. Transportation costs are borne by the buyer.
The manufacturer takes no responsibility for any damage and defects caused in the course of using the MMwiznet5300 module.
24
9 Assembly drawings
Figure 16 Assembly drawing – top layer.
Figure 17 Assembly drawing – bottom layer.
26
ADC4ADC5
ADC3
ADC1
ADC7
ADC2
ADC0
ADC6
PD6
PD3PD4
PD0
PD5
PD2PD1
PD7
#R
D
AL
E
#W
R
PE
3
PE
5P
E6
PE
7P
B0
PB
2P
B3
PB
4
PE
2
PB
5P
B6
PE
4
#RESET
PB7
RESET20
XTAL223
XTAL124
GND53
AVCC64
AGND63
AREF62
VCC52
PC
0/A
83
5P
C1
/A9
36
PC
2/A
10
37
PC
3/A
11
38
PC
4/A
12
39
PC
5/A
13
40
PC
6/A
14
41
PC
7/A
15
42
PD0(/INT0/SCL)25
PD1(/INT1/SDA)26
PD2(/INT2RxD1)27
PD3(/INT3/TxD1)28
PD4/IC129
PD530
PD6/T131
PD7/T232
PB
0/S
S1
0
PB
1/S
CK
11
PB
2/M
OS
I1
2
PB
3/M
ISO
13
PB
4/O
C0
/PW
M0
14
PB
5/O
C1
A/P
WM
1A
15
PB
6/O
C1
B/P
WM
1B
16
PB7/OC2/PWM217
PA0/AD051
PA1/AD150
PA2/AD249
PA
3/A
D3
48
PA
4/A
D4
47
PA
5/A
D5
46
PA
6/A
D6
45
PA
7/A
D7
44
PF7/ADC754
PF6/ADC655
PF5/ADC556
PF4/ADC457
PF3/ADC358
PF2/ADC259
PF1/ADC160
PF0/ADC061
AL
E4
3
RD
34
WR
33
GND22
VCC21
TOSC119
TOSC218
PE
N1
PE
0/P
DI/
Rx
D2
PE
1/P
DO
/Tx
D3
PE
2/A
C+
4
PE
3/A
C-
5
PE
4/I
NT
46
PE
5/I
NT
57
PE
6/I
NT
68
PE
7/I
NT
79
U3ATMEGA128
C122pF
C222pF
X1
16MHz
GND
GND
GND
GND GND
+5V
+5V
+5V
+5V
AD0
AD2AD1
AD
6
AD
4A
D5
AD
7
AD
3
A1
4
A8
A1
0
A1
2
A9
A1
3
A1
5
A1
1
PE
1
PB
1
PE
0
C4100nF
D12
D23
D34
D45
D56
D67
D78
D89
C11
OC1
Q119
Q218
Q317
Q416
Q515
Q614
Q713
Q812
U2
74HC573
ALE
A0
A1
A2
A3
A4
A5
A6
A7
AD6
AD0
AD2
AD4
AD1
AD5
AD7
AD3
C5100nF
+5V
GND
C6100nF
C8100nF
Sheet 1 of 2 1.00
http://www.propox.comemail: [email protected]
Size: File: Rev:
Date: 02-03-2010
Title: MMwiznet5300
#RESET
GND
+5V
RST1
VCC2
GND3
U7
DS1811
123456789
1011121314151617181920
J2
Header 20
1234567891011121314151617181920
J1
Header 20
AREF
GND+5V
ADC4ADC5
ADC3
ADC1
ADC7
ADC2
ADC0
ADC6
AREF
PE3
PE5PE6PE7
PE2
PE4
PE1PE0
PB0
PB2PB3PB4PB5PB6
PB1
PB7
PD6
PD3PD4
PD0
PD5
PD2PD1
PD7
#RESET
TOSC1TOSC2
TOSC1TOSC2
VCC
SCK2
SO8
SI1
VCC6
GND7
CS#4
WP#5
RST#3
U6
AT45DB321DGND
C3100nF
#RD#WR
GND
+5V
AD6
AD0
AD2
AD4
AD1
AD5
AD7
AD3
A8
A10
A12
A9
A13
A11
K6T1008
A020
A119
A218
A317
A416
A515
A614
A713
A83
A92
A1031
A111
A1212
A134
A1411
CS130
OE32
WE5
D021
D122
D223
D325
D426
D527
D628
D729
A157
A1610
CS26
VCC8
GND24
A179
U1
+5V
A15A14
R31k
PWR
D2
+5V
GND
R51k
DF
D1
1234
56
1112
8
U4
74HC30 89
10
U5C
74HC00
#SEL_LAN
#SEL_RAM
A10
A12A13
A11
A15A14
#SEL_RAM
PB2PB3PB1PB5
C13100nF
C14100nF
+5V
56
4U5B
74HC00LINKLED
1
23
U5A
74HC00
R410k
+5V
+
C1610u/10V
GND
+3.3V
+
C2410u/10V
GNDGND
VIN1
GN
D2
VOUT3
TA
B4
U9 SPX2920M3-3.3
GND
+5V
+3.3V
+5V+5V
1112
13
U5D
74HC00
GND
ACTLED
+5V
27
Sheet 2 of 2 1.00
http://www.propox.comemail: [email protected]
Size: File: Rev:
Date: 02-03-2010
Title: MMwiznet5300
LA
N
GND
GND
C20100nF
1234
J4
Header 4
SH101
SH102
TXD+1
TXD_CT2
TXD-3
RXD+4
RXD_CT5
RXD-67
SH8
A19
K110
A211
K212
J3
JFM24011-0101T
R12 470R
R11 470R
A0A1A2A3
#RD#WR
#SEL_LAN
X2
25MHz
LINK
D3
A4
ACT
D4
AD6
AD0
AD2
AD4
AD1
AD5
AD7
AD3
PE5
C1713pF
C1813pF
GNDGND
+3.3V +3.3V
C21100nF
+3.3V
+3V3A
GNDR7
12k 1%
R8
300R 1%
R1649.9R
R1549.9R
R1449.9R
R1349.9R
C38100nF
GND GND
C27100nF
C28100nF
C33100nF
C321uF
GND GND
+
C2210u/10V
+
C3110u/10V
L1
BLM
L2
BLM
R61M
+3.3V
+3.3V
RXIPRXIN
TXOPTXON
XTLPXTLN
R9470R
R10470R
(INT5)
A5A6A7A8A9
+3V3A
+3V3A
1V8_OUT
+
C34
10u/10V
C35100nF
C36100nF
C37100nF
GND GND GND GND
#RESET
C39100nF
C40100nF
GNDGND
ACTLEDLINKLED
RSET_BG1
VC
C3
A3
2
NC3
GN
DA
4
RXIP5
RXIN6
VC
C1
A8
7
TXOP8
TXON9
GN
DA
10
VC
C1
V8
11
GN
D1
2
1V8O13V
CC
3V
31
4
GN
D1
5
GN
DA
16
VC
C1
A8
17
BIT16EN18
TEST_MODE319
TEST_MODE220
TEST_MODE121
TEST_MODE022
OP_MODE023
OP_MODE124
OP_MODE225
VC
C3
V3
26
GN
D2
7
DATA1528
DATA1429
DATA1330
DATA1231
DATA1132
DATA1033
DATA934
DATA835
VC
C1
V8
36
GN
D3
7
DATA738
DATA639
DATA540
DATA441
DATA342
DATA243
DATA144
DATA045
VC
C3
V3
46
GN
D4
7
ADDR948
ADDR849
ADDR750
ADDR651
ADDR552
ADDR453
ADDR354
ADDR255
ADDR156
ADDR057
VC
C1
V8
58
GN
D5
9/WR
60
/RD61
/CS62
VC
C3
V3
63
GN
D6
4
/INT65
/RESET66
BRDY067
BRDY168
BRDY269
BRDY370
MII_RXC71
VC
C1
V8
72
GN
D7
3
MII_RXDV74
MII_RXD075
MII_RXD176
MII_RXD277
MII_RXD378
MII_COL79
/FDX80
MII_CRS81
MII_TXC82
VC
C3
V3
83
GN
D8
4
/SPDLED(MII_TXD0)85
/FDXLED(MII_TXD1)86
/COLLED(MII_TXD2)87
/RXLED(MII_TXD3)88
/TXLED(MII_TXEN)89
/LINKLED90
OSC25I91
VC
C1
V8
92
GN
D9
3
VC
C1
V8
94
XTLN95
XTLP96
GN
D9
7
NC98
NC99
NC100
U8W5300
GND
GND
GNDGND
GND
+1V8A +1V8D
C7100nF
C9100nF
C10100nF
C12100nF
GND
+1V8D
+1V8A
+
C11
10u/10V
GND
D5
BAW56