Miniarm-23Xx SPJ Embedded Technologies Pvt. LTD.: User'S Manual
Miniarm-23Xx SPJ Embedded Technologies Pvt. LTD.: User'S Manual
User’s Manual
(Edition 1.4, August 2007)
for
MiniARM-23xx
Evaluation Board
(Covers MiniARM-2368 and MiniARM-2378)
Revision History
Date Version Description Author
16 July 2007 1.0 Initial version. SRT
26 July, 2007 1.1 Formatting changes, changed PVR
board drawings
27 May, 2007 1.2 Re-structured manual SRT
2 August, 2007 1.3 Corrected jumper descriptions PVR, SRT
DISCLAIMER
User’s Manual and other documentation:
This user’s manual and the accompanying documentation such as schematic diagrams – in soft or
hard form - contains descriptions of copyrighted products, which are not explicitly indicated as
such. The absence of the trademark symbol does not infer that a Product is not protected.
Additionally, registered patents and trademarks are similarly not expressly indicated in these
documents.
The information in these documents has been carefully checked and is believed to be entirely
reliable. However, SPJ Embedded Technologies Pvt. Ltd. (henceforth “Company”) assumes
no responsibility for any inaccuracies. The Company, neither gives any guarantee nor accepts
any liability whatsoever for consequential damages resulting from the use of these documents or
associated product. The Company reserves the right to alter the information contained herein
without prior notification and accepts no responsibility for any damages that might result.
Additionally, The Company offers no guarantee nor accepts any liability for damages arising
from the improper usage or improper installation of the hardware or software. The Company
further reserves the right to alter the layout and/or design of the hardware without prior
notification and accepts no liability for doing so.
Table of Contents
1. INTRODUCTION ...................................................................................................................................................6
2. GETTING STARTED.............................................................................................................................................7
2.1 UNPACKING:.........................................................................................................................................................7
2.2 POWER SUPPLY REQUIREMENTS: .........................................................................................................................7
2.3 CONNECTING THE SYSTEM: ..................................................................................................................................7
Powering ON:........................................................................................................................................................7
3. HARDWARE DESCRIPTION ..............................................................................................................................8
SPECIFICATIONS OF MINIARM-2368 AND MINIARM-2378 BOARDS:........................................................................8
4. CONNECTORS, JUMPERS, SWITCHES, POTS AND LEDS..........................................................................9
CONNECTOR LOCATIONS: ...........................................................................................................................................9
CONNECTOR DETAILS: .............................................................................................................................................10
PWR JACK (Power Jack):...................................................................................................................................10
UART-0 Connector:.............................................................................................................................................10
UART-1 Connector:.............................................................................................................................................10
CAN-1 Connector: ...............................................................................................................................................10
CAN-2 Connector: ...............................................................................................................................................11
LCD-CON Connector:........................................................................................................................................11
Ethernet RJ45 Connector: ...................................................................................................................................11
USB-CON Connector: .........................................................................................................................................11
SD-CON Connector:............................................................................................................................................11
JTAG Connector:.................................................................................................................................................12
IO_A, IO_B Connectors: .....................................................................................................................................12
IO_C, IO_D Connectors:.....................................................................................................................................14
JUMPERS, SWITCHES AND POT LOCATIONS:.............................................................................................................17
JUMPER DESCRIPTIONS:............................................................................................................................................18
Jumper “J9” (Power Source Selection): ............................................................................................................18
Jumper “PGM”:.................................................................................................................................................19
Jumper “J1”:......................................................................................................................................................19
Jumpers “JUMPER1” and “JUMPER2” (LCD Backlight Control): ................................................................19
Jumper “J4” (USB device mode Selection): ......................................................................................................19
Jumpers “J5” and “J6” (D- and D+ USB Lines, respectively):........................................................................19
Jumper “ADC” (Connect potentiometer to AD0.0): ..........................................................................................20
Jumper “RTCK” (for JTAG Interface):..............................................................................................................20
Jumper “SD-PWR” (SD card Power Selection): ...............................................................................................20
SWITCHES DESCRIPTIONS:........................................................................................................................................20
Switch “RST” (Reset Push Button): ...................................................................................................................20
POT DESCRIPTIONS: ................................................................................................................................................21
“POT1” (LCD Contrast Adjustment):.................................................................................................................21
“POT2” (Simulate ADC input): ..........................................................................................................................21
LED LOCATIONS: .....................................................................................................................................................22
LEDS DESCRIPTION: ................................................................................................................................................23
PWR:....................................................................................................................................................................23
P1...P8:................................................................................................................................................................23
SD:.......................................................................................................................................................................23
UGL1:..................................................................................................................................................................23
USC1: ..................................................................................................................................................................23
100MBPS:............................................................................................................................................................23
ACT: ....................................................................................................................................................................23
LINK:...................................................................................................................................................................23
1. Introduction
This is user’s manual for MiniARM-2368 and MiniARM-2378 Evaluation Boards (MiniARM-
23xx) based on LPC2368 and LPC2378 micro-controllers, respectively. This is a general-
purpose board designed as a development tool; this board has a facility to download user
programs into the on-chip flash memory of the micro-controller. It is strongly recommended to
read this manual carefully before you start using the MiniARM-23xx board.
CAUTION: This board contains components that are sensitive to Electro-Static Discharge
(ESD). The board must be handled carefully, so as not to subject it to ESD. As far as possible, do
not touch any conducting part on the board – including any component or connector pins – as
this may damage parts of the board permanently. While handling the board, hold it only by it’s
edges. If you must touch any of the parts, make sure to discharge yourself to earth. Parts
damaged due to ESD are not covered by the limited warranty.
2. Getting Started
2.1 Unpacking:
You will find following items in the package:
• MiniARM-23xx board
• Serial communication cable
• Power adaptor*
• CD-ROM
• USB Cable
* Power adaptor is included only if the board is shipped in India. If the board is shipped to any
country other than India, only a power jack with a pair of red and black wires is supplied. The
user is required to provide nominal +8VDC supply across the 2 wires: Red=positive,
Black=negative. This supply voltage maybe in the range 8 to 9 VDC only. Higher voltage may
cause excessive heating and may cause permanent damage to the board.
Powering ON:
After connecting the serial communication cable as described above, you may insert the power
adaptor output jack into the on-board power socket. Plug the power adaptor into 230VAC mains
outlet and turn it on. The power-on indication Red LED will turn on.
CAUTION: Please do not connect or disconnect the serial communication cable while the board
is powered ON. Doing so can damage the serial port of the MiniARM board and/or PC.
3. Hardware Description
Specifications of MiniARM-2368 and MiniARM-2378 boards:
1) LPC2368 / LPC2378 with 12 MHz main crystal.
2) Operating speed up to 72 MHz using on-chip PLL.
3) Ethernet Interface Standards support:
a. 10/100 Mbps Ethernet (10 Base-T, 100 Base-TX, 100 Base-FX and 100 Base-T4).
b. Fully compliant with IEEE standard 802.3.
4) USB2.0 device interface standard support.
5) Includes one SD memory card connector that allows you to connect a wide range of memory
cards.
6) LCD interface circuit with 16-pin connector for directly connecting text LCD module.
7) Four UARTs. Two of them (UART0 and UART1) available as RS232 (3 wire) on 2 separate
DB9 female connectors. Remaining two (UART2 and UART3) are available as low-voltage
TTL (3.3V) on connectors.
8) On-board regulators to supply 5V, 3.3V to the board.
9) Includes AC adaptor (230 VAC input, 8 VDC output, 500 mA).
10) CD-ROM containing:
a) Evaluation version of SCARM – C Compiler for ARM – a product of SPJ Embedded
Technologies Pvt. Ltd.
b) Sample programs to access LCD, serial port, RTC and most other peripherals etc.
c) Flash Magic ISP utility program, courtesy of http://www.flashmagictool.com/ .
11) Unused / optionally used port pins are available on convenient connectors.
12) Push-button to reset the micro-controller.
13) Jumpers to select between Program (ISP) mode and RUN mode.
14) MiniARM-2368 and MiniARM-2378 boards include Real Time Clock (RTC) with battery.
Please note, it can maintain date and time even when power is switched off only if the RTC
is initialized to correct mode of operation by software.
15) The same battery will also power 2KB NVRAM.
Please note, LCD is NOT supplied with the MiniARM. It may be purchased separately and
connected to MiniARM.
UART-0
JTAG Connector
on bottom side
CAN-2
IO_A SD-Card
Connector on IO_B
IO_C bottom side
IO_D
CAN-1
Connector Details:
PWR JACK (Power Jack):
This is power input connector. The supplied power adaptor (if board is shipped in India) has
power jack compatible with this connector.
UART-0 Connector:
This is a DB9 female connector, used for RS232 serial communication with the PC:
Pin 2 = TxD0 – RS232 level output from MiniARM23xx Board. Corresponding 3.3V pin
(P0.2/TXD0) is also available on Pin27 of IO_C connector.
Pin 3 = RxD0 – RS232 level input to MiniARM23xx Board. Corresponding 3.3V pin
(P0.3/RXD0) is also available on Pin28 of IO_C connector.
Pin 4 = ISP_RESET – RS232 level input to MiniARM23xx Board. Used to (optionally) reset the
board under control of ISP utility software.
Pin 5 = GND – Ground.
Pin 7 = ISP_MODE – RS232 level input to MiniARM23xx Board. Used to (optionally) control
the mode of processor (ISP mode or RUN mode).
All other pins of UART-0 are unused. This UART-0 connector is also used for ISP (In-system
Programming).
Note: UART0 is available as 3 wires RS232 only. The signals at pin 4 and 7 of UART-0
connector are not used as RS232 handshake signals. Rather, these 2 signals are only used for
controlling operating mode of the micro-controller (normal “run” mode or ISP mode) and to
reset the micro-controller. This feature is useful while programming the board using FlashMagic.
If you wish, appropriate jumper setting can disable this feature, as described later.
UART-1 Connector:
This is a DB9 female connector, used for RS232 serial communication with the PC:
Pin 2 = TxD1 – RS232 level output from MiniARM23xx Board. Corresponding 3.3V pin
(P0.15/TXD1/SCK0/SCK) is also available on Pin35 of IO_C connector.
Pin 3 = RxD1 – RS232 level input to MiniARM23xx Board. Corresponding 3.3V pin
(P0.16/RXD1/SSEL0/SSEL) is also available on Pin33 of IO_C connector.
Pin 5 = GND – Ground.
All other pins of UART-1 are unused.
CAN-1 Connector:
This is DB9 male connector, used for CAN High-speed communication:
Pin 2 = CANL
Pin 7 = CANH
The CANL output drives the low side of the CAN differential bus.
The CANH output drives the high side of the CAN differential bus.
CAN-2 Connector:
This is DB9 male connector, used for CAN High-speed communication:
Pin 2 = CANL
Pin 7 = CANH
The CANL output drives the low side of the CAN differential bus.
The CANH output drives the high side of the CAN differential bus.
LCD-CON Connector:
This is a 16 pin, single line connector, designed for connection to standard, text LCD modules.
The pin/signal correspondence is designed to be matching with that required by such LCD
modules.
Pin 1 = GND
Pin 2 = +5V
Pin 3 = Vlcd (Contrast control Voltage)
Pin 4 = P1.31 (Used as RS of LCD)
Pin 5 = GND
Pin 6 = P1.29 (Used as EN of LCD)
Pin 7 to 10 = No Connection
Pin 11 to 14 = P1.19 to P1.22 (Used as D4-D7 of LCD, respectively)
Pin 15 = Backlighting
Pin 16 = GND
USB-CON Connector:
The USB device Interface on the MiniARM23xx board uses this connector. This is female B
type connector. It can be typically connected to USB port of your PC through the supplied USB
cable.
SD-CON Connector:
This is mounted on the bottom side of the PCB. Standard SD memory card can be inserted in it.
Once a valid card is inserted, it can be accessed through software.
JTAG Connector:
This standard 20 pin JTAG connector provides debugging support for the LPC23xx. This is
connector is mounted bottom side of the board as shown in figure1. JTAG cables like SJT-S or
SJT-U can be connected to this connector, while other end of the cable can be connected to PC
COM port or USB port, respectively. Debugger software (like the debugger built into SCARM)
allows JTAG based debugging. It is also possible to use third party JTAG based emulators /
debuggers. The pin-out of JTAG Connector is given below:
Pin Signal name.
1 3.3V
3 nTRST
5 TDI
7 TMS
9 TCK
11 RTCK
13 TDO
15 nRST
17 GND
19 GND
2 3.3V
4 GND
6 GND
8 GND
10 GND
12 GND
14 GND
16 GND
18 GND
20 GND
15 P0.9/I2STX_SDA/MOSI1/MAT2.3
17 P1.19/CAP1.1
19 P0.20/DTR1/MCICMD/SCL1
21 P1.22/MAT1.0
23 P1.29/PCAP1.1/MAT0.1
25 P2.11/EINT1/MCIDAT1/I2STX_CLK
27 P0.17/CTS1/MISO0/MISO
29 P0.22/RTS1/MCIDAT0/TD1
31 P0.19/DSR1/MCICLK/SDA1
2 GND
4 GND
6 5V
8 P2.8/TD2/TXD2/TRACEPKT3
10 P1.24/PWM1.5/MOSI0
12 USB-B
14 P2.13/EINT3/MCIDAT3/I2STX_SDA
16 P1.31/SCK1/AD0.5
18 P1.20/PWM1.2/SCK0
20 P1.21/PWM1.3/SSEL0
22 P1.28/PCAP1.0/MAT0.0
24 P2.12/EINT2/MCIDAT2/I2STX_WS
26 3.3V
28 P0.7/I2STX_CLK/SCK1/MAT2.1
30 GND
32 GND
IO_B:
Pin Signal name.
1 P0.6/I2SRX_SDA/SSEL1/MAT2.0
3 P1.15/ENET_REF_CLK
5 P1.14/ENET_RX_ER
7 P1.0/ENET_TXD0
9 P1.9/ENET_RXD0
11 P1.8/ENET_CRS
13 P1.4/ENET_TX_EN
15 P1.1/ENET_TXD1
17 P0.25/AD0.2/I2SRX_SDA/TXD3
19 P1.10/ENET_RXD1
21 P1.27/CAP0.1
23 P0.4/I2SRX_CLK/RD2/CAP2.0
25 P0.5/I2SRX_WS/TD2/CAP2.1
27 P0.0/RD1/TXD3/SDA1
29 P0.1/TD1/RXD3/SCL1
31 P2.10/EINT0
2 GND
4 GND
6 5V
8 5V
10 GND
12 GND
14 GND
16 3.3V
18 3.3V
20 GND
22 GND
24 GND
26 5V
28 5V
30 GND
32 GND
2 P0.30/U1D-
4 P1.30/VBUS/AD0.4
6 P3.26/MAT0.1/PWM1.3
10 {P3.24/CAP0.1/PWM1.1}
12 {P0.13/U2UP_LED/MOSI1/AD0.7}
14 {P0.14/U2CONNECT/SSEL1}
16 {P0.12/MISO1/AD0.6}
18 {P4.0/A0}
20 {P4.2/A2}
22 {P4.4/A4}
24 {P4.6/A6}
26 {P4.8/A8}
28 P0.3/RXD0
30 GND
32 5V
34 3.3V
36 GND
IO_D:
Pin Signal name.
1 P1.16/ENET_MDC
3 P0.26/AD0.3/AOUT/RXD3
5 {P3.7/D7}
7 {P3.5/D5}
9 {P3.3/D3}
11 {P3.1/D1}
13 {P4.24/OE}
15 {P0.31/U2D+}
17 P4.28/MAT2.0/TXD3
19 {P4.30/CS0}
21 P0.11/RXD2/SCL2/MAT3.1
23 {P4.15/A15}
25 {P4.11/A11}
27 P2.0/PWM1.1/TXD1/TRACECLK
29 P2.2/PWM1.3/CTS1/PIPESTAT1
31 P2.4/PWM1.5/DSR1/TRACESYNC
33 P2.6/PCAP1.0/RI1/TRACEPKT1
35 3.3V
2 P1.17/ENET_MDIO
4 P0.23/AD0.0/I2SRX_CLK/CAP3.0
6 {P3.6/D6}
10 {P3.4/D4}
12 {P3.2/D2}
14 {P3.0/D0}
16 {P4.25/WE}
18 P4.29/MAT2.1/RXD3
20 {P4.31/CS1}
22 {P4.14/A14}
24 {P4.12/A12}
26 P2.1/PWM1.2/RXD1/PIPESTAT0
28 P2.3/PWM1.4/DCD1/PIPESTAT2
30 P2.5/PWM1.6/DTR1/TRACEPKT0
32 5V
34 GND
36 GND
Note1: Many pins have multiple functions, hence the signal names include many options
separated by ‘/’. For details, please refer to LPC23xx data-sheets.
Note2: Signal names enclosed in curly braces {} are available only in MiniARM-2378. In case
of MiniARM2368, these pins of connectors IO_A, IO_B, IO_C and IO_D have no connection.
RTCK
JUMPER1 ADC
J6
J5
J4 J9
JUMPER2
J1
PGM
SD-PWR
RESET push-button
Figure 2: Jumpers, switches and POT locations
Jumper Descriptions:
Viewpoint Reference: Look at the MiniARmM23xx board from front side. The LCD connector
should be near the upper edge. Two CAN connectors should be near the right edge. Two RS232
connectors should be near the left edge.
Conventions used:
• 2 pin jumpers: These can be shorted or open. These 2 conditions are noted as Short or
Open, respectively.
• 3 pin jumpers: 3 conditions are possible in this case: middle and rightmost pin shorted,
middle and leftmost pin shorted, or open (no pins shorted). These 3 conditions are noted
as Right, Left or Open, respectively.
“Don’t care” condition of a jumper is noted as X.
The jumper setting is clearly described in the table. Row marked with asterisk (*) indicates
factory setting.
CAUTION: When powering the board from USB, there is a restriction on current. So user may
not connect additional peripherals likes LCD, LAN cable etc. so as to stay within current limit.
This may harm your PC! Power consumption of the board varies depending on what peripherals
are connected and what is the operating speed. The table below indicates typical power
consumption under various conditions:
Jumper “PGM”:
PGM jumper Description
position
* Right Mode (ISP mode or RUN mode) will be controlled by FlashMagic.
Left ISP mode selected manually. (FlashMagic can not control mode).
Open RUN mode selected manually. (FlashMagic can not control mode).
Jumper “J1”:
J1 jumper Description
position
* Short Allow FlashMagic to automatically reset the board.
Open Do not allow FlashMagic to automatically reset the
board.
Note: In either case, user can always manually reset the board by momentarily pressing the
RESET push-button.
J4 jumper Description
position
* Right USB device Connect is controlled by Soft-connect port pin P2.9.
Left USB device Connect is controlled by hardware.
Open USB device will not work; port pin P2.9 can be used for other purpose.
ADC Description
position
Open POT2 will not be connected to AD0.0. External input maybe connected to
AD0.0.
* Short Connects the port pin P0.23 to POT2 for ADC simulation. You may not
connect external input to AD0.0 even though this pin is available on IO_D
connector.
RTCK Description
position
* Open No pull-down to RTCK.
Short 10K pull-down to RTCK.
Switches Descriptions:
POT Descriptions:
LED locations:
Figure 3 shows locations of all LEDs on the board:
ACT
UGL1
USC1
LINK
100MBPS
P8 to P1
(P2.7 to P2.0)
LEDs Description:
PWR:
PWR is a red LED that indicates power ON.
P1...P8:
P1 to P8 are yellow LEDs that indicate status of port pins P2.0 to P2.7, respectively. If port pin
output is HIGH, the corresponding LED will glow. These LEDs can be used for testing purpose.
Note that the port pins P2.0 to P2.7 are also available on IO_D connector. Please refer to
connector details for pin numbers.
SD:
SD is a blue LED that indicates power to SD-card.
UGL1:
UGL1 is a blue LED that indicates good USB link.
USC1:
USC1 is a red LED that indicates a USB soft connect from P0.14 or by hardware.
100MBPS:
100MBPS is a red LED that indicates a 100Mbit Speed Ethernet LAN connection. If it is OFF,
that indicates a 10Mbit Speed Ethernet LAN connection.
ACT:
ACT is a yellow LED that indicates LAN traffic. I.e. when Ethernet packets are sent or received,
this LED will blink. This LED maybe present in the RJ45 connector itself or on the PCB, as
shown in Figure3.
LINK:
LINK is a green LED that indicates good LAN link. I.e. it will normally glow when LAN cable
is plugged in the connector. This LED maybe present in the RJ45 connector itself or on the PCB,
as shown in Figure3.
NOTE: Flash Magic is not an SPJ product. It has been downloaded from FlashMagic
web site.
To install the ISP software, you may extract the appropriate zip file and then run
SETUP.EXE from the extracted files.
1) Start Flash Magic (using Start — Programs — Flash Magic) and configure the COM Port
interface as illustrated.
• From the device list, select appropriate device (LPC2378 or LPC2368).
• Enter crystal frequency correctly (12.0 MHz).
• Select COM port.
• Select Baud Rate. Usually it works fine at 115200 baudrate. If you face problems at this
baudrate, you may try a lower baudrate.
These setting are shown below.
2) You may have to check or un-check the High Speed Communications option,
depending on your jumper setting. If jumper PGM is RIGHT and J1 is SHORT, then you
must check this option; otherwise you must un-check it. To check or un-check this
option, select Options/Advanced Options from menu and then select the
Communications tab, as shown below.
3) You may have to check or un-check the Use DTR and RTS to control RST and P0.14
option, depending on your jumper setting. If jumper PGM is RIGHT and J1 is SHORT,
then you must check this option; otherwise you must un-check it. To check or un-check
this option, select Options/Advanced Options from menu and then select the Hardware
Config tab, as shown below.
4) To verify the correct connection, you may select ISP/Read Device Signature... from the
menu. When you do this, a window like this should pop-up. Simply click on Close button
to close it.
5) Click on the "Browse…" button. Select appropriate HEX file. You may use one of the
example programs included in the SCARM software. MiniARM-23xx examples can be
found under the folder SCARM\Examples\MiniARM\MiniARM-23xx.
6) Click on "Start" button.
7) Erasing and/or Programming progress will be displayed. When done, depending on your
jumper setting, the board may automatically reset and goto RUN mode, or you may have
to do it manually. If jumper PGM is RIGHT and J1 is SHORT, then board will reset and
goto RUN mode automatically. Otherwise, you may have to open both – PGM and J1 –
jumpers and press the RST push-button.
CAUTION: Pin P2.10 is also available in the connector IO_B. If you have connected an external
device to this connector, ensure that P2.10 is not pulled low during reset. If it is pulled low
during reset, the LPC23xx may enter ISP mode and may not run user program.
Hello:
Transmit "Hello" to UART0 and then echo characters. Before running this program, connect the
MiniARM board to PC COM port and have SPJTerminal running with appropriate setting
(19200 baud, 8 Data Bits, 1 Stop Bits, Echo Off, Parity None). When you switch on power to the
board, you should see "Hello" appearing in the main SPJTerminal window. Then if you type any
key, you should see the same character appearing in SPJTerminal window (because the board
echoes it).
Hello1:
This is same as Hello, except that it uses UART1 (instead of UART0). Hence, to test this
program, you will need to Connect UART1 of board to COM port of PC.
HelloLCD:
This similar to Hello, but it additionally displays the “Hello” string on LCD and also echoes
characters to LCD.
SquareWave:
Produces a squarewave at P0.24 (i.e. pin 1 of connector IO_A).
FastSquareWave:
Produces a squarewave at P0.24 (i.e. pin 1 of connector IO_A). This is much faster squarewave
because it uses PLL multiplier and MAM.
LEDRing:
Turns on the P1…P8 LEDs (connected to P2.0…P2.7 pins), one after the other cyclically.
Clock:
Uses on-chip RTC (battery powered) and displays date/time on LCD as well on UART0 serial
port (i.e. can be seen in SPJTerminal window, if board is connected to PC). However, at power-
on, it waits maximum 5 seconds to check reception of any character from serial port. If a
character is received within 5 seconds and if it is 'S', then it will allow user to set the clock (via
serial port). If no character received within 5 seconds or of some other character is received, it
simply starts displaying the time (updates every second). Battery backed-up RAM (2 KB)
Test: Also this example verifies the Battery backed-up RAM. It checks the "SPJ Systems" string
in first locations of Battery backed-up RAM. If it finds ok it will show message "Bat RAM is
Ok..." on serial window, otherwise it will write the string into RAM locations and shows
message "Bat RAM is not Ok... " on serial window.
USB:
USB Test demonstrates the Mass Storage Example. User can see "README.txt" file on PC
having contents: “This is a USB Memory Device demonstration for the MINIARM 23XX Board
with Philips LPC23XX." User can copy this file to local hard-disk of PC. Also user can
delete/modify this file. However, such modifications are saved in RAM. I.e. after switching OFF
and ON, it will once again show the original README.txt file.
ADC:
Analog input simulation is facilitated for AD0.0 channel with on-board potentiometer (POT2).
This program displays ADC reading on LCD as well on UART0 serial port (i.e. can be seen in
SPJTerminal window, if board is connected to PC). It simply starts displaying the ADC reading
(updates every second). User may turn POT2 to change analog input voltage connected to
AD0.0; accordingly updated reading is displayed on LCD. ADC reading is the range (0x000 to
0x3FF).
DAC:
This example program generates a ramp wave on DAC port pin P0.26, which is available on
Pin3 of IO_D connector.
CAN:
This example program attempts to test communication between CAN1 and CAN2 ports, by
sending messages from both ports and checking their reception on the other port. Result of the
test is indicated by LEDs P1 and P2. P1 indicates that message sent by CAN2 is received by
CAN1. P2 indicates that message sent by CAN1 is received by CAN2. Please note, this program
will work correctly only if a straight cable is connected between CAN1 and CAN2 connectors.
Note that such a cable is not supplied with the board.
EMAC:
This example tests the TX and RX of Ethernet port. Note that the board does not include or
provide a unique MAC address. You may need to obtain or purchase it separately. Since this is
only a test program, it hard-codes 0x010203040506 as it’s own MAC address. When this
program is run, it will wait until it receives an Ethernet packet with destination address matching
with it’s own MAC address. When such a packet is received, it simply sends it back to the
source.
MCI:
This example program tests SD-Card. It checks for presence of SD-Card and then writes data
into SD card and read it back. After reading, the data is compared with what was written, and
result (matching or not) is displayed on serial window.
LCD module:
The MiniARM board has been specially engineered for easy LCD connection. 16 char X 2 rows,
text LCD module can be mounted directly on the MiniARM board. The board also provides
appropriate mounting holes, so the LCD can be fixed to the MiniARM board with simple screw
arrangement. Due to the direct connection, no cable is required.
SGL-ARM board:
This board provides Graphics LCD interface to the MiniARM boards. This board can be
mounted right on top of the MiniARM board. It provides 2 different types of connectors – these
are directly matching with some of the popular Graphics LCD module. Supported resolutions are
128 X 64, 240 X 64, 240 X 128, 320 X 240 and so on. Note that graphics LCDs with T6963 and
SEDxxx controllers are supported. Further, it also provides 2 PS/2 ports. You may connect a
PS/2 keyboard and a PS/2 mouse to these. Optionally, touch-screen interface is also offered
with a 4-pin connector (for 4 wire touch screen). The SL-ARM-GL, SL-ARMPS, SL-ARM-TS
libraries (fully compatible with SCARM C Compiler) provide interface functions for graphics
LCD, PS/2 keyboard, PS/2 mouse and Touch-screen. Thus you can develop GUI applications
using MiniARM board, SGL-ARM add-on board, SL-ARM-XX libraries and SCARM C
Compiler.
7. MiniARM Applications
The MiniARM evaluation board is designed to be used in many different configurations. Some
of them are described here:
1. As a test platform for your ARM applications. Using the default configuration, you can
download your program (HEX file) into the on-chip flash memory of the µC and run it.
2. Since the board provides standard 20-pin JTAG pins on a connector, debugging is easily
possible with the help of debugger software (on PC). JTAG cable maybe needed for such
debugging.
3. The sample programs provided with the MiniARM evaluation board include programs to
interface with LCD, USB, CAN, and Ethernet etc. Thus, you can connect the required
peripherals externally and have your application ready in a short time.
4. As an experimenting platform for self-learning or for training. Students may find it especially
useful for implementing their projects.