- No category
advertisement
REV 0.8
Evaluation Board for
MMnet01/101
User
Manual
Ev
PI alu ati on s f or
C
Pr oto rs ule s f ler s S
Se rve nim od eth er
B oa
‘5
1, mi ule s f ne cro rte r K its
E de sig nin g E tar ter rs t c rd
AV
R,
Pr co ntr typ ing for
AV
R,
P
T
m icr oc tem s,
PC
B
Mi cro pr oc es or
s ys
K its oto typ or
m on tro
S
T, oll er
B oa rd s M icr oc lle rs,
IC
, S ce ing
T so s S mb ed de d W
E mb cro co ntr ol-
B on tro mi r s taeb
S oa rd
R
FI
D
Hi gh cro ys er lle co tem tio n B ve ini mo dr-
et he pe
on tro lle rs, gh
S s f or rs, s, oar ds ro co
fo r ` ntr oll
51
, A er s S
S er
VR
, S tar ter
K its
E mb e-
fo r m typ icr lle ing ors, mini mo er du les
Bo ar ds
M s, eth co ntr oll er
Hi gh
S pe op ro ce so s M icr
Many ideas one solution nin g E va lua
Bo ar ds ne t c ed
In
P
AV
R, or
m on tro icr oc lle tem
pr
S ys
IC
, S rs,
R
FI og ra
D
Hi mm er on tro lle rs va lua tio n B oa rd s f or
‘51
, A
VR
, S
T,
PI
C mi ed de d W eb s m i-
Sp ee d I n S ys tem s p ro gr am me
ntr lrs oll er
PC
B s M icr op ro de sig nin g E va lua
T,
PI
C mi cdd ed
W eb ed
In
S ys
VR
, P
IC
, S
T me rs
co for
A ntr oll er
S we rs
Pr oto ne t c tem on tro
pr og ra co
mi cro r sig
ys tem s,
PC
B
De
R
tio n
Contents
1 INTRODUCTION
....................................................................................................................................... 3
F
EATURES
.................................................................................................................................................... 3
2 THE BOARD .......................................................................................................................................... 4
P
LACEMENT OF ELEMENTS ON THE BOARD
................................................................................................. 4
A
RRANGEMENT ON LEAD
-
OUTS
................................................................................................................... 5
B
OARD SUPPLY
............................................................................................................................................ 5
LED
DIODES
................................................................................................................................................. 6
P
USH
-
BUTTONS
............................................................................................................................................ 6
LCD
DISPLAY
............................................................................................................................................... 7
P
OTENTIOMETERS
........................................................................................................................................ 7
B
UZZER
........................................................................................................................................................ 8
RESET
BUTTON
.......................................................................................................................................... 8
RS-232
INTERFACE
..................................................................................................................................... 9
USB
INTERFACE
........................................................................................................................................ 10
1-W
IRE
I
NTERFACE
.................................................................................................................................... 11
ISP
AND
JTAG
CONNECTORS
................................................................................................................... 11
3 TECHNICAL ASSISTANCE ............................................................................................................. 13
4 GUARANTEE ...................................................................................................................................... 13
5 BOARD LAYOUT AND DIMENSIONS ........................................................................................... 14
6 SCHEMATICS ..................................................................................................................................... 14
1
Introduction
Features
The EVBnet01 board was created with the aim of providing a hardware base for a designer of systems relying on the MMnet01/101 minimodules, allowing to realize and verify quickly one’s own ideas. Having this in mind, the board has been designed in such a way that the user has access to all terminals of the module which are led out to connectors. The board houses also such peripherals as: LEDs, push-buttons, potentiometers, a LCD display, a RS232 and USB interface, a 1-Wire connector. All these elements are accessible through pin connectors, permitting their connection with any processor port. The board has also a large prototype area which permits the designer to connect other elements in any configuration. Due to the incision (vcut) between the prototype area and the rest of the board, the prototype part can be broken off.
The board contains also a power supply which relieves the user from the need to provide a regulated supply voltage.
Together with the board, we deliver source codes of the Nut/OS together with the TCP/IP stack as well as demonstration software.
The EVBnet01 along with the MMnet01/101 minimodule can be also used in didactic laboratories of informatics colleges and universities, illustrating aspects of co-operation of electronic circuits with the Ethernet/Internet networks. It can be also used to build circuits realizing thesis projects.
• Socket for the MMnet01/101 module
• Connector with all terminals of the MMnet01/101 module
• Connectors of all peripherals accessible on board
• +5V power supply
• Power switch
• USB port (with use of MMusb232 minimodule)
• RS232 port
• 1-Wire connector
• Connector for In System Programming
• Multiplexer separating the ISP connector from the rest of the system
• JTAG connector for in system programming and debugging
• connector for 2x16 LCD display
(1)
• 8 LED diodes
• 4 push-buttons
• 2 potentiometers
• Buzzer
• Prototype design area
Notice: 1. Mounted optionally
3
2 The Board
Placement of elements on the board
Figure 1 Placement of elements on the EVBnet01 board.
1. Prototype area
2. Connector with led-out MMnet01/101 module terminals
3. MMnet01/101 minimodule
4. MMusb232 minimodule
5. RS232 connector
6. Supply connector
7. Power switch
8. Programming connector in the JTAG system
9. Programming/emulation connector in the JTAG system
10. LCD display
11. LED diodes
12. Push-buttons
13. Potentiometers
14. RESET button
15. 1-Wire connector
16. Peripheral connectors
17. Buzzer
4
Arrangement on lead-outs
Function in MMnet01/101
Name
Interrupt from RTL8019AS
DataFlash - MOSI
Bank select (optional)
Name
PE7
1
PE5
3
PE3
5
PE1
7
2
PE6
4
PE4
6
PE2
8
PE0
AREF
9
10 ADC0
ADC1
11
12 ADC2
ADC3
13
14 ADC4
ADC5
15
16 ADC6
ADC7
17
18 TOSC1
TOSC2
19
20 #RESET
PB0
21
22 PB1
PB2
23
24 PB3
PB4
25
26 PB5
PB6
27
28 PB7
PD0
29
30 PD1
PD2
31
32 PD3
PD4
33
34 PD5
PD6
35
36 PD7
LACT
37
38 LLNK
+5V
39
40 GND
Board supply
The EVBnet01 board can be supplied in two ways:
• From an external power supply with an output of 7-12 V AC or 9-15 V DC, having a standard plug with a bolt diameter of 2.1 mm, connected to supply socket J3. In case of a DC supply voltage its polarity is irrelevant. Power is supplied to the module through JP11 jumper, which allows measurment of module current consupltion. During normal operation this jumper should be cosed.
• From USB connector. In this case JP1 jumper should be closed. Board houses also USB power switch, which allows drawing up to 500mA from USB bus.
Notice: Both supply methods should not be used simultaneously.
5
Function in MMnet01/101
DataFlash – SCK
DataFlash – MISO
DataFlash – #CS
The regulated + 5 V voltage is led out to the J1 connector (+ 5V) and J14 (GND).
J3
POWER
1
2
3
4
-
BR1
RB152
+
1
+
C8
470u/25V
SW1
D2
1N4148
C13
100n
Vin Vout
U4
GND
7805
C12
100n
+
C11
47u/16V
D11
PWR
R22
1k
+5V
GND
Figure 2 Implementation of the power supply on the EVBnet01 board.
LED diodes
The EVBnet01 has 8 LED diodes which play the role of the simplest interface between the system and the user. The board is constructed in such a way that it allows any connection between the diodes and microcontroller leads. A diode lights up when a low signal level is applied to appropriate leads. The LED current flowing into the microcontroller pin is about 3 mA.
5
7
1
3
LEDn
6
8
2
4
J10
D5
D4
D3
D10
D9
D8
D7
D6
LED0
LED1
LED2
LED3
LED4
LED5
LED6
LED7
R15
1k
R14
1k
R13 1k
R12
1k
R11
1k
R10
1k
R9
1k
R8
1k
+5V
Figure 3 Implementation of LED diodes.
Push-buttons
The EVBnet01 board is equipped with four microswitches which can be connected to any lead of the microcontroller. Pushing a button causes a low state on any port terminal.
6
+5V
R19
10k
R18
10k
R17
10k
R16
10k
1
3
J12
SWn
2
4
SW0
SW1
SW2
SW3
GND
Figure 4 Implementation of push-buttons.
LCD display
EVBnet01 has place for standard 2x16 characters LCD display with HD44780 compatible controller. Display terminals D4-D7, RS, E, contrast and backlight are led to LCD connector J7. LCD connector is designed in this way, that it is possible to connect contrast signal to onboard potentiometer with use of jumpers, or with use of wire to any microcontroller pin, that can generate PWM (through RC low pass filter, which can be built on prototype area). Similarly, LCD backlight can be permanently turned on by closing jumper, or can be controlled by any microcontroller pin.
Because LCD connector contains only higher part of display bus, it has to work 4-bit mode. Also, RW line is permanently connected to ground, what allows only read operation, but it is sufficient to proper operation.
Such approach minimizes required microcontroller port pins to six.
+5V
Figure 5 Default LCD configuration
– backlight permanently turned on, contrast regulated with R5 potentiometer.
R4
7k5
R5
1k
CONTRAST
C15
100n
+5V
5
7
1
3
9
J7
GND
6
8
2
4
10
R24
1k
GND
+5V
GND
+5V
Q2
D5
D6
D7
A
K
D1
D2
D3
D4
GND
+5V
Vc
LCD_RS
LCD_RW
LCD_E
D0
J11
13
14
15
16
9
10
11
12
7
8
5
6
3
4
1
2
LCD 2x16
BC 817
GND
Figure 6 Connection of LCD display on the board.
Potentiometers
7
EVBnet01 has two potentiometers, POT0 and POT1. The potentiometers can be used to simulate the outputs of analog circuits. The voltage across POTx terminals can be adjusted in the 0....REF range.
1
3
J13
2
4
AREF
R20
10k
POT1
2 2
R21
10k
POT0
GND
Figure 7 Implementation of potentiometers.
Buzzer
The board has a built-in acoustic signaler, controlled by a logic low state through a transistor. The base of the transistor is connected to connector J13 as SPK.
1
3
J13
2
4
+5V
R6
10k
Q1
BC 857
LS1
GND
C17
CAP
GND
BUZZER
Figure 8 Implementation of the Buzzer.
RESET button
The EVBnet01 board has a led-out RESET signal which can be used as the output to reset external circuits and as the input to reset the module, e.g. through the RESET push-button. The EVBnet01 board is equipped with an on-board resetting button; by pressing it we force a low state on the RESET terminal of the module.
8
+5V
R7
4k7
SW6
RESET
#RESET
C16
100n
GND GND
Figure 9 Implementation of the RESET button.
RS-232 interface
The EVBnet01 board has one port for serial
RS232 transmission with a DB-9 connector. The lead-outs TxD, RxD, RTS, CTS are applied to the jumpers through a MAX232 level converter.
The DSR and DTR signals have been shorted.
Applying jumpers causes the connection of TxD and RxD to the USART0 port of the microcontroller and of CTS and RTS signals to line PE2 and PE3, respectively. Signals of the
RS232 port can be connected also to any leadouts of the microcontroller by means of cables.
Notice: if flow control has not been implemented, signals CTS and RTS should be connected to each other by means of a jumpers (as shown in the figure) in order to assure proper communication.
9
J4
DB9F
5
9
4
8
3
7
2
6
1
GND
GND
GND
+5V
U1
+
C6
100n
2
V+
6
V-
+
GND
C7
100n
14
7
13
8
T1 OUT
T2 OUT
R1 IN
R2 IN
MAX232
+5V
C1+
C1-
C2+
1
3
4
C2-
T1 IN
T2 IN
R1 OUT
R2 OUT
5
11
10
12
9
GND
+ C4
100n
+ C5
100n
RS232_TXD
RS232_RTS
RS232_RXD
RS232_CTS
+5V
D12
TX
R26
1k
+5V
D13
RX
R27
1k
Figure 10 Connection of the RS-232 port to the MMnet01/101.
USB interface
The EVBnet01 board has also USB port, realized with use of MMusb232 minimodule.
GND GND GND
M2
MMusb232
1
Q3A
IRF7104
7, 8
R25
1k
C2
100nF
JP10
+5V
JP3
JP4
JP2
JP5
PE1 (TXD0)
PE2
PE0 (RXD0)
PE3
USB_RXD
USB_TXD
USB_CTS
USB_RTS
JP6
JP1
JP8
JP9
PD2 (RXD1)
PD3 (TXD1)
PD5
PD4
Figure 11 Connection of the USB port to the MMnet01/101.
Additionally board is equipped with USB power switch (based on Q3), with allows, accordingly to USB specification, drawing up to 500mA from USB bus. For proper operation of this switch it is required that „Pull
Down IO Pins in USB Suspend” option in FT232BM settings is enabled.
The terminals TxD, RxD, RTS, CTS are connected to the jumpers. The DSR and DTR signals have been shorted
10
Applying jumpers causes the connection of TxD and RxD to the USART1 port of the microcontroller and of CTS and RTS signals to line PD5 and PD4, respectively. Signals of the
RS232 port can be connected also to any lead-outs of the microcontroller by means of cables.
Attention: if flow control has not been implemented, signals
CTS and RTS should be connected to each other by means of a jumpers (as shown in the figure) in order to assure proper communication.
1-Wire Interface
The EVBnet01 board has a 1-Wire bus connector. This connector can be used to connect e.g. a digital
DS1820 thermometer or Dallas/Maxim iButton reader from. The data signal has been applied to the J13 connector and designated as 1-W. It can be connected to any microcontroller lead-out by means of the attached cable.
+5V +5V
1
3
J13
2
4
R2
2k2
R1
100R
J2
1
2
3
1-WIRE
1
GND
1WIRE
Figure 12 Connection of the 1-Wire connector.
ISP and JTAG connectors
Programming of the module can be effected through the ISP or JTAG interfaces (the second one permits also debugging in the system).
The ISP standard programmer communicates with the microcontroller through a three-wire SPI interface (plus the RESET signal and power supply). The interface uses the I/O pins of the microcontroller (PE0, PE1 and
PB1) which, after programming, can perform usual functions. The LED signal controls the operation of multiplexer U3 which disconnects, for the duration of the programming session, the ISP bus lines from the peripheral circuits of the board, thus eliminating the possibility of an accidental writing operation into these circuits. During the writing operation this line should be in the low state. The JP7 short allows manual control of the multiplexer in case of using a programmer which is not serving this line.
11
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 and lock bits.
TCK
TDO
TMS
TDI
ADC4
ADC6
ADC5
+5V
ADC7
GND
GND
GND
GND
+5V
J6
10
8
6
4
2
ISP
J8
5
7
1
3
9
JTAG
10
6
8
2
4
+5V
9
7
5
3
1
R3
1k
GND
+5V
#RESET
GND
#RESET
D1
ISP
PE1
PB1
PE0
GND
JP7
ISP Enable
12
13
U3
X0
X1
2
1
Y0
Y1
5
3
Z0
Z1
11
6
10
9
B
C
INH
A
4053
VDD
VSS
VEE
X
Y
Z
16
8
7
14
15
4
PE1_M
PB1_M
PE0_M
+5V
GND
GND
GND
MOSI
LED
RST
SCK
MISO
Figure 13 Connection of the MMnet01/101 module with the JTAG connector.
1 2
9 10
VCC
GND
GND
GND
GND
Figure 14 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
TCK
TDO
TMS
VCC
TDI
1 2
9 10
GND
Vref
NSRST
NTRST
GND
Figure 15 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 emulator to target
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
Programmers which may be used with EVBnet01 and MMnet01/101 may be found on 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
12
JTAG programmer/emulator may be found on page:
- JTAGCable I: http://www.propox.com/products/t_99.html?lang=en
3 Technical assistance
In order to obtain technical assistance please contact [email protected]
. In the request please include the following information:
• Number of the board version (e.g. REV 2)
• Setting of resistors
• A detailed description of the problem
4 Guarantee
The EVBnet01 board 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 Producer takes no responsibility for any damage and defects caused in the course of using the EVBnet01 board.
13
5 Board layout and dimensions
6 Schematics
14
R4
7k5
+5V
R5
1k
CONTRAST
C15
100n
GND
+5V
5
7
1
3
9
J7
6
8
2
4
10
R24
1k
GND
+5V
GND
+5V
D5
D6
D7
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MS
TDI
ADC4
ADC6
ADC5
+5V
ADC7
GND
GND
GND
GND
+5V
J6
10
8
6
4
2
ISP
J8
5
7
1
3
9
JTAG
6
8
2
4
10
+5V
9
7
5
3
1
R3
1k
GND
+5V
#RESET
GND
#RESET
D1
ISP
PE1
PB1
PE0
GND
JP7
ISP Enable
6
11
10
9
12
13
U3
X0
X1
2
1
Y0
Y1
5
3
Z0
Z1
INH
A
B
C
4053
VDD
VSS
VEE
X
Y
Z
16
8
7
14
15
4
GND
PE1_M
PB1_M
PE0_M
+5V
GND
GND
+5V
GND
C14
100n
PE7
PE5
PE3
PE1
AREF
ADC1
ADC3
ADC5
ADC7
TOSC2
PB0
PB2
PB4
PB6
PD0
PD2
PD4
PD6
LED_ACTIV
+5V
J9
5
7
1
3
9 10
11 12
13 14
15 16
6
8
2
4
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
Header 20X2
PE6
PE4
PE2
PE0
ADC0
ADC2
ADC4
ADC6
TOSC1
#RESET
PB1
PB3
PB5
PB7
PD1
PD3
PD5
PD7
LED_LINK
GND
15
AREF
R20
10k
ADJ1
2
GND
1
3
J12
2
4
SW0
SW1
SW2
SW3
GND
2
R21
10k
ADJ0
1
3
J13
2
4
+5V
R2
2k2
R1
+5V
100R
J2
1
2
3
1-WIRE
GND
+5V
R23
10k
R6
10k
GND
Q1
BC 857
GND
C17
100n
GND
LS1
BUZZER
+5V
R7
4k7
SW6
RESET
C16
100n
#RESET
GND GND http://www.propox.com
email: [email protected]
Title: EVBnet01
Size:
File:
Date: 31-03-2005
Sheet 1 of 2
Rev:
1.00
J4
DB9F
5
9
4
8
3
7
2
6
1
GND
GND
GND
+5V
+
+
U1
C6
100n
2
V+
6
V-
C7
100n
GND
14
7
13
8
T1 OUT
T2 OUT
R1 IN
R2 IN
MAX232
+5V
+5V
GND
C1+
C1-
C2+
C1
100n
1
3
4
C2-
T1 IN
T2 IN
R1 OUT
R2 OUT
5
11
10
12
9
GND
+
C4
100n
+ C5
100n
RS232_TXD
RS232_RTS
RS232_RXD
RS232_CTS
+5V
D12
TX
R26
1k
+5V
D13
RX
R27
1k
JP3
JP4
JP2
JP5
PE1 (TXD0)
PE2
PE0 (RXD0)
PE3
GND GND GND
M2
MMusb232
1
Q3A
IRF7104
7, 8
R25
1k
C2
100nF
JP10
+5V
USB_RXD
USB_TXD
USB_CTS
USB_RTS
JP6
JP1
JP8
JP9
PD2 (RXD1)
PD3 (TXD1)
PD5
PD4
J3
POWER
1
2
3
4
-
BR1
RB152
+
1
+
C8
470u/25V
SW1
D2
1N4148
Vin Vout
C13
100n
U4
GND
7805
C12
100n
+
C11
47u/16V
D11
PWR
+5V
R22
1k
GND
16
MH1 MH2 MH4 MH5 MH3 MH6
GND GND GND GND
TPIN-
TPIN+
TPOUT-
TPOUT+ not mounted
J5
3
4
1
2
Header 4
GND
GND
+5V
+5V
J1
1
2
J14
1
2 http://www.propox.com
email: [email protected]
Title: EVBnet01
Size:
File:
Date: 31-03-2005
Sheet 2 of 2
Rev:
1.00
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement