Evbmm: User Manual
Evbmm: User Manual
Evbmm: User Manual
va tio fo IC te r P le e t s
lu n r B 5 m K ro fo co n S i
o 1
a ,
rd A V co m p b in R n e g o
T, lle rs d a t F g rd ro ID ra W
ta e M rs b
S in , h e tr rs o P e e im th S
rv o e p fo
e d re r -
o tr d B co d
o cr E ty m tr o
e o
s lle H m co
its to r
n R
ig m n
r ic lle m
rs u n
, rs p T
lle C B
rs
ro m
EVBmmTm
Evaluation system for microcontrollers ARM and minimodules PROPOX.
User Manual
REV 1.1
te ys
ro ic
s,
fo
Contents
Introduction........................................................................................................................................ 3 1.1 Features EVBmmTm ................................................................................................................. 4 Getting started .................................................................................................................................. 5 2.1 Component layout .................................................................................................................... 5 Hardware description ...................................................................................................................... 7 3.1 Power supply ............................................................................................................................ 7 3.2 mmTm socket for minimodules ................................................................................................ 8 3.3 LED diodes.............................................................................................................................. 10 3.4 Switches .................................................................................................................................. 10 3.5 Buzzer ...................................................................................................................................... 11 3.6 Potentiometers ....................................................................................................................... 11 3.7 1-WIRE Interface.................................................................................................................... 12 3.8 RESET button ......................................................................................................................... 12 3.9 USB interface.......................................................................................................................... 12 3.9 Interfejs USB Host ................................................................................................................. 14 3.10 RS-232 interfaces ................................................................................................................ 14 3.11 MMC/SD slot card................................................................................................................ 16 3.12 JTAG Connector .................................................................................................................. 16 3.13 Alphanumeric LCD display ................................................................................................. 18 3.14 Graphic display GLCD ........................................................................................................ 19 3.15 CAN interface ....................................................................................................................... 20 3.16 IRDA ...................................................................................................................................... 20 3.17 Codec Audio ......................................................................................................................... 21 Header and connectors ................................................................................................................ 23 4.1 Connectors .............................................................................................................................. 23 4.2 Jumpers ................................................................................................................................... 26 4.3 LEDs & switches .................................................................................................................... 26 Technical Data................................................................................................................................. 28 Technical Assistance .................................................................................................................... 29 Accessories ..................................................................................................................................... 30 Warranty Statement ....................................................................................................................... 30
1
Introduction
System evaluation EVBmmTm (Evaluation Board for Mini Modules Team) is tool to designed to building electronic systems based on 32-bit microcontroller ARM and Propox minimodules. This flexible base will allow You to create and verify projects and "shark ideas" quick and easily. Our remedy idea "many ideas one solution" was implemented in this project. That is the reason why we've created Evaluation System, able to handle most of Propox minimodules which to fit dimensions into mmTm socket. Additionally, working on this System, we have took into consideration our future minimodules based on ARM microcontrollers. The board houses also such peripherals as: LEDs, push-buttons, potentiometers, a LCD display, a RS232 interfaces, CAN interface, buzzer, SD/MMC slot card, codec audio, 1-Wire connector and IRDA transceiver. Optionally board can be equipped in Alphanumeric LCD Display or Graphic LCD Display (128 x 64 pix resolution) with KS0108 controller. All these elements are accessible through pin connectors, permitting their connection with any processor port. This approach supported Flexibility technology, and allowed to connect any pin of microcontrollers or Propox minimodule. 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 development tools as well as demonstration software. The EVBmmTm along with the minimodule can be also used in didactic laboratories of informatics colleges and universities. It can be also used to build circuits realizing thesis projects.
We wish great success and full satisfaction while designing Tm and constructing applications bases EVBmm .
Tm
List of main features of EVBmmTm are as follow: 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 & +3,3V) Possibility supply with USB port Power switch 8 switches and 8 LED diodes Buzzer 2 potentiometers IRDA port USB Device & 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 (for 128x64 display)
Construction of system evaluation EVBmmTm, allowed to implementation FPGA minimodules based on Xilinx Spartan3 (MMfpga02, MMfpga12) devices, and selective minimodules MMnet series. W projekcie systemu In project EVBmmTm board, we have took into consideration support our future minimodules. List of currently supported minimodules is available on site www.propox.com
2
Getting started
make a complete designing system and starting set for a wide range of modules. The system was optimized to cooperate with family minimodules by Propox.
Board EVBmmTm, along with minimodules and accessories
Tm
EVBmmTm Components: 1. Supply connector; 2. USB-B Device connector 3. RS232C connectors; 4. CAN interface; 5. Jtag connector for in system debbuging / programing ARM microcontrollers 6. External mmTm connector ( to connecting peripheries and jtag connector 7. Input-output analog audio codec connectors 8. IRDA transceiver; 9. 1-Wire connector; 10. RESET switch; 11. Potentiometers; 12. Switches; 13. LEDs; 14. SD/MMC slot card; 15. Power switch; 16. Alphanumeric LCD 2x16 connector; 17. Graphic LCD 128x64pix connect; 18. Buzzer; 19. Internal part mmTm sockets (for minimodules); 20. Peripheries devices EVBmmTm; 21. USB Host connector Construction of Evaluation System EVBmmTm is allowing to implement FPGA minimodules based on XILINX Spartan3 (MMfpga02 and MMfpga12) devices, and selective series of MMnet minimodules. Working on this System, we have took into consideration our future minimodules.
3
Hardware description
3.1 Power supply
The EVBmmTm 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. 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.
Fixed voltage +5V and +3.3V, is obtained from LM7805 and SPX2920M3-3,3 standard IC regulator. Can be used to supply microcontroller or minimodules and peripheries such as character ALCD and graphic GLCD. Maximum output current is 400mA for +3,3V voltage and 600mA for 5V voltage. Voltage outputs are available on the headers J1 (+5V) and J15 (+3.3V) . Ground is available on J14 and J38 headers marked as GND.
Tm
Solution with USB_5V jumper allows drawing up to 100mA from USB bus. To draw higher current (up to 500mA), accordingly to USB 1.1 or 2.0 specifications, power switch should be used. Software should turn on this power switch after successful enumeration. Example of power switch is shown below (it is not implemented on the board).
Minimodule installed in mmTm socket, to beware, so that goldpin connector placed close to right edge of minimodule, insert into socket marked as CD. Other goldpin connector (right side of minimodule) fit into (dependent of width minimodule ) socket marked as AB or BA. Access to pins, is possible trough headers placed close mmTm socket (Figure 5). 8
On the bottom side board, close goldpins of mmTm sockets, are placed solder padsjumpers allowed to connect GND of board direct to minimodule. By means of the solder pads, we can direct connect A20,D1 and D1 pins of mmTm socket to GND of board.
Depending on version of installed minimodule, we short only one in three solder pads-jumpers (Figure 6). This solution allowed to shorten ground path.
WARNING!!! Make sure that power supply of minimodules is connected correctly. Reverse of polarisation, or overvoltage (5V instead 3,3V) can cause damage of minimodule !!!
3.4 Switches
The EVBmmTm is equipped with eight microswitches. Pushing a switch causes the corresponding SWx to be pulled low, while releasing it will result in 3,3V on the appropriate switch header connector.
10
3.5 Buzzer
The board EVBmmTm has a built-in acoustic signaler, controlled by a logic low state through a transistor. The base of the transistor is connected to connector MISC as BUZZ.
3.6 Potentiometers
Board EVBmmTm 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....+3,3V range. The leads of potentiometers are available on MISC connector.
11
12
Solution with jumper allows drawing up to 100mA from USB bus. To draw higher current (up to 500mA),accordingly to USB 1.1 or 2.0 specifications, power switch should be used. Software should turn on this power switch after successful enumeration. Example of power switch is shown below (it is not implemented on the board).
Figure 14. Example of USB power switch it is necessary for drawing more than 100mA from USB bus
USB host recognize presence of full-speed-device on the bus by sensing pull-up on D+ line. Example pull-up circuit (not implemented on board ), shown on drawing bellow.
13
Pull-up is by default turned off by R13 resistor. Active reset signal or low level on UDP_PUP line turns on pull-up, what is interpreted by USB host as connection of USB device.
Signals T_D+ , T_D- (for upper connector), and B_D+ i B_D- (for lower connector) are led to goldpin connector marked as HOST_USB.
14
15
Additionally, card connector has switches informing about card status, which also are connected to Card connector. The contacts of switches are pull-up by 10k resistors to +3,3V supply. Active contact shorted line to ground. Meaning of these switches is explained in table: INS 1 1 0 0 UNL 1 0 1 0 Status card No card Inserted, locked Inserted, unlocked
WARNING! SD/MMC card can operated only with 3,3V logic levels. Card not tolerant voltage levels above 3,3V. Make sure that power supply microcontroller is 3,3V !!!
EVBmmTm board has standard, 20-pin connector J9 (Wiggler standard), allowing operation with all JTAG debuggers. Its signal are led to JP8 goldpin connector, marked as JTAG
PIN DESRIPTION VCC Supply voltage to the emulator Vref Target voltage sense TRST Tap RESET, RESET signal for JTAG chain TDI Test Data Input, TMS Test Mode Select, TCK Test Clock TDO Test Data Output, SRST Target RESET DBGRQ Debug Request DBGACK Debug Acknow GND Ground
17
Figure 22. Default ALCD configuration backlight permanently turned on, contrast regulated with ALCD CTR potentiometer
18
LCD backlight can be permanently turned on by closing jumper (LGT and GND on ALCD connector), or can be controlled by any microcontroller pin. The adjustment of contrast may be done by GLCD CTR potentiometer.
19
Both high-speed mode and slope-control mode are available and can be selected by setting HIGH/SLOPE jumper. CAN terminal resistor (120) is enabled when JP12 jumper marked as TERM, is closed. Signal line of CAN are available on J22 header marked as CAN.
3.16 IRDA
On the EVBmmTm board , placed infrared transceiver TFDU4100 compliant to the IRDA 1.2 standard for serial infrared (SIR) data communication , supporting IRDA speeds up to 115.2 kbit/s. Signal line of transceiver are available on J33 header marked as IRDA.
The Sensitivity Control pin (SC) allows the minimum detection irradiance threshold of the transceiver to be lowered, when set to a logic HIGH. 20
On board placed three stereo audio Jack connectors. OUTPUT connector allows connect headphones (jumpers set HP), or stereo audio amplifier (jumper set LIN). INPUT connector is line inputs for left and right audio channels. MICIN is a high-impedance, lowcapacitance input that is compatible with a wide range of microphones. It has a programmable volume control and a mute function. The TLV320AIC23 can operate in master or slave clock mode. In the master mode (jumper S/M CLK is set M position), the TLV320AIC23 clock and sampling rates are derived from a 12-MHz crystal MCLK signal. In Slave mode (jumper S/M CLK is set S position), MCK signal is derived from external source (i.e. from microcontrollers) and fitted on MCK 21
pin. Default CODEC jumpers are set for Master mode and Headphones Output as shown Figure 26.
For more information about the configuration and function Audio Codec, can be found in TLV320AIC23 datasheet.
WARNING!!! CODEC can operated only with 3,3V logic levels. CODEC not tolerant voltage levels above 3,3V !!!
22
4
Header and connectors
4.1 Connectors
LEDs & Switches Header
LED0...7 LEDs
SW0...7 Switches
ALCD Character Display Header CTR LCD contrast line VC contrast potentiometer output voltage RS control line LCD data/command E strobe line LCD DB4,DB5,DB6,DB7 data line LGT Backlight Display pin control for ALCD and GLCD +5V voltage out +5V
GLCD Character Display Header DB0-DB7 data line /CS1, /CS2 memory bank select, for left/right screen part /RST reset line GLCD R/W read/write data line RS data/instruction select line E display enable line (strobe line)
23
CANL L sigal for CAN CANH H sigal for CAN GND masa
ISC Header ADJ0 ADJ0 potentiometer output ADJ1 ADJ1 potentiometer output BUZZ buzzer control pin 1-W 1-Wire output pin
SD/MMC Data Flash header CS strobe line MOSI Master Output Slave Input CLK Clock Line MISO Master Input Slave Output INS Insert Card signalization UNL Lock Write signalization
IRDA header GND ground SC Sensitive Control TXd data input RXd data output 24
AUDIO CODEC header GND Ground MCK External Master Clock Input /CS SPI Chip select MODE SPI/ 2Wire selection SDIN Data line input (for SPI and TWI) SCLK Clock line inut (for SPI and TWI) LRCIN Left-Right Clock Input DIN Digital Input for audio data BCLK Bit Clock for audio data CLKOUT Clock Out for audio data LRCOUT Left-Right Clock Output for audio data DOUT Digital Out for audio data JTAG connectors
VCC emulator supply Vref target voltage sense nTRST Tap RESET, reset for JTAG chain TDI JTAG Test data input TMS JTAG Test Mode select TCK JTAG Test Clock TDO JTAG Test Data Output nSRST RESET signal GND Ground RTCK Return Clock DBGRQ Debugger request DBGACK Debugger Acknowledge
25
Function
Board +5V power supply from USB bus. Default setting: Not fitted In HI position CAN interface operated in High Speed mode. In SLOPE position CAN interface operated in Slope Control mode. Default setting: HI CAN terminal resistor (120R) is enabled when jumper TERM is fitted. Default setting: Not fitted Master/Slave clock Audio Codec. When jumper is set M position, codec is clocked external clock source passed on MCK pin. In set S position codec clocked with 12MHz crystal oscillator. Default setting: M In HP position allowed to connect headphones to OUTPUT Jack. In LINE position allowed to connect audio amplifier to OUTPUT Jack. Default setting: HP Connecting system RESET with JTAG Reset. Default setting: Not fitted
TERM
S/M CLK
HP/LIN
JRST
Function
The RED Led is directly connected to the +5V supply. The power led is always lit when power is applied to GrandEVBavr The RESET push button caused low level on RESET header.
26
5
Troubleshooting Guide
Tabela 2 Problem
Problem
Reason
Supply cable not connect.
Solution
Connect supply power cable to the DC jack. Check that the power supply is of type 9-15V. Turn on the power switch. Connect signal to ports minimodules Connect signal to ports minimodules Set jumpers to TERM header Check configuration Check Contrast voltage on display Check cable. Check minimodules. Check power supply on minimodules.
Signals UART RxD and TxD are not connect to minimodules port
Signals CAN RxD and TxD are CAN communication does not not connect to minimodules port work properly CAN line ends is not terminated Wrong connection of ALCD (GLCD) signals to ports Wrong contrast voltage JTAG cable connect wrong. The JTAG device cannot be programmed Minimodules placed wrong. Wrong supply power.
27
6
Technical Data
System unit: Dimensions board: Weight: Operating Conditions VCC supply voltage DC (VDC): VCC supply voltage AC (VAC) Max. Current POWER (Ivcc):
without connectors 187mm x 124mm with connectors 190mm x 132mm c.a. 200g
9-15V DC 7-12V AC 1.5 A @ VDC 9V or VAC 7V 1A @ VDC 12V or VAC 9V 700mA @ VDC 15V or VAC 12V +3,3V DC 0,4 A but not greater then Ivcc 5V DC 1 A but not greater then Ivcc
Voltage +3,3V : Max. current (+3,3V): Voltage +5V Max. current (+5v): Connectors: Power Connector UART Connector RS232 USB Device Connector USB Host Connector CAN Connector AUDIO connectors JTAG connector
5.7mm x 2.1mm 9 (D-SUB) female USB-B female 2x USB-A female 3-screws terminal block Stereo JACK 3,5mm IDC 20
28
7
Technical Assistance
For technical support, please contact [email protected]. When requesting technical support, please include following information: Version number of EVBmmTm Complete target device (minimodule) part number Programming voltage Jumper settings A detailed description of the problem
8
Example Application
Examples programs are available on www.propox.com site.
29
9
Accessories
Below is a list of the available categories of accessories for the EVBmmTm board: Perypherial cables Minimodules with FPGA, AVR and ARM devices ARMcableI programmer 9V/750mA (230VAC) power supply 1-WIRE DS1820 thermometer
10
Warranty Statement
EVBmmTm warranty is for six month. Repair will be completed at no cost to user if user has not caused failure. User is responsible for shipment charges. Limitation and Liability Although all the information contained herein have been carefully verified, Propox assumes no responsibility for errors that might appears in this document, or for damage to things or persons resulting from technical errors, omission and improper use of this guide and of the related software and hardware.
30
31
32