esa mcb51-2 user guide refer the datasheet of at89c51ed2 ... 2 will be supplied with at89c51ed2 or...
TRANSCRIPT
ESA MCB51-2 USER GUIDEVersion 1.0
March 2012
Electro Systems Associates Pvt Ltd4215, First Main Road, Subramanyanagar, Bangalore 560 021
Phone: +91 80 2357 7924 Fax: +91 80 2347 5615e-mail:[email protected]
www.esaindia.com
CONTENTS
CHAPTER 1 INTRODUCTION
Main Features Scope of Supply Specifications General Description
CHAPTER 2 HARDWARE DESIGN DETAILS Power Supply MCU Memory Serial Interfaces Interrupts Buffer SPI
CHAPTER 3 CONFIGURATION & INSTALLATIONConfigurationIntegration with Keil IDE
CHAPTER 4 EXMPLE PROGRAMS
Blinky Program HELLO WORLD Program
APPENDICES
APPENDIX A Schematics APPENDIX B Component layout diagram APPENDIX C ASCII Character Table APPENDIX D ESA Product list
CHAPTER 1
INTRODUCTION
ESA MCB 51-2 evaluation board can support development work using a wide variety of 8051 compatible 8-bit microcontrollers. The 8051 family of microcontrollers are extensively used for embedded & real time applications. ESA MCB 51-2 is designed to be general purpose development board for Single Chip MCU applications that may be used as an instruction learning aid and also as a development tool in R&D labs and industries.
1.1MAIN FEATURES
ñ Powerful monitor in EPROM helps in integration of MCB 51-2 with Keil µVision Debugger.ñ Supports Harvard architecturesñ Supports 64 KB of RAMñ Supports 64 KB of ROMñ On-board USB portñ RS-232C port using UARTñ On-board PPIñ Supports serial download and execute user program at full speedñ Debug the user programs at source level (in both C and Assembly languages) using single step
& break point facilities provided in Keil Debugger.ñ Reset & Interrupt push button switchesñ Examine/Modify the contents of MCU registers & memory contentsñ User definable push button switchñ System configuration using on-board DIP switchesñ LEDs connected to port P1 for program testingñ On-board EEPROM (24AA010) with SPI interfaceñ Supports ISPñ Single Euro size card
1.2 SCOPE OF SUPPLY
· ESA MCB 51-2 Board.· ESA MCB 51-2 User Guide· DC Power Adapter 5V, 2A· A CD-ROM containing:
ñ Keil µVision C51 Evaluation software.ñ Sample programs for ESA interface modules.ñ AT89C51ED2/RD2 Data sheet.ñ FT Clean utilityñ Communication drivers for Host through USB.
· One USB Cable· RS -232C Cable( Optional)
1.3 SPECIFICATIONS PROCESSOR
· AT89C51ED2/RD2 operating at 24 MHz. PROCESSOR FEATURESØ ON CHIP PERIPHERALS· Three 16-bit Timer/counters.· Watch Dog timer.· Programmable counter array(PCA) · On chip SPI (Serial Peripheral Interface) on port1.· Full duplex enhanced UART.
Ø BUS· 8-BIT multiplexed with 0 wait status.
Ø MEMORY
ON CHIP: PROGRAM MEMORY: 64KB of Flash. DATA MEMORY: 256 Byte of internal RAM. 1792 Bytes of XRAM. 2KB of EEPROM.(only in AT89C51ED2) EXTERNAL: 128KB of RAM. 128KB of ROM (Monitor) 1KB of SPI EEPROM
Ø SERIAL PORTS
ñ 1 USB (On chip UART)ñ 1 RS-232-C (using 16650 on the board) on 9 pin D type female connector.
Ø INTERRUPTS
ñ Nine sources of interrupts(both external & internal). ñ Two external interrupts INT0 & INT1 provided with push button switches.
These also can be used as general purpose switches.
Ø 26 Pin EXTERNAL INTERFACE
ñ PA, PB & PC Port lines of PPI are available through 26-Pin connector,which is compatible to ESA Interface modules.
Ø LED INDICATORS· P1 Port lines are connected to LED's.
1.4 GENRAL DESCRIPTION 1.4.1 BLOCK DIAGRAM
The ESA MCB 51-2 is built around AT89C51ED2/RD2; this board provides a platform to user to evaluate the on-chip features of 8051 family microcontrollers. Please refer the datasheet of AT89C51ED2/RD2 for more details of the chip. The 32 I/O lines of the microcontroller are available to user on different connectors (Please refer Hardware chapter for more details on these connectors).
Fig 1
CHAPTER 2 HARDWARE
This chapter describes hardware units/subsystems (listed below) of the MCB 51-2 and the schematic circuit diagrams are included in the appendix.
Hardware:· Power Supply· MCU· Memory · Serial Interfaces · Interrupts· Buffer· SPI· PPI(8255)
3.1 Power SupplyPower is supplied to the MCB 51-2 from an external 5Volt DC power supply, with a standard 5.5mm barrel female plug with a center positive connection.
3.2 MCUESA MCB 51-2 will be supplied with AT89C51ED2 or AT89C51RD2 micro controller.
3.2.1 MCU RESETThe board has power on reset circuit; RESET switch can be used to reset the microcontroller manually.3.2.2 MCU CLOCKA 24 MHz crystal is connected to the oscillator pins of the microcontroller. This crystal works as the clock source.
3.3 MEMORYThe MCB51-2 maps two memory devices into the address space of the MCU; the RAM 0000h-1FFFFh (128KB) , and the EPROM (128KB) 0000h-1FFFFh (Monitor uses only E800h-FFFFh). The 20V8 PAL provides the chip select signal for the external UART and a user chip select signal. The MCB51-2 board comes with a Monitor EPROM, which can support different Monitor versions. User may replace the Monitor EPROM with a 27C1001 or 27C2001 for target program. If an EPROM is used with a user application program, the DIP switch Monitor must be set to OFF. Note: User can use memory from 0000h-DFFFh (E000h to E7FFh used for I/O mapping.
3.4 Serial InterfacesThe MCB 51-2 supports both the on-chip serial port and an external UART. External UART uses the MAX232, to convert TTL to RS-232 voltage levels. Internal UART or on chip UART signals are available on CN1 USB connector through FT232R-USB (UART to USB) converter. External UART signal available on D type Female connector at J2. The Monitor can be configured to use either the on-chip serial port or the external UART for the communication with the PC. When the EXT_UART DIP switch is ON, the external UART is used at 57600 BPS for the Monitor communication. Otherwise the
on-chip serial port is used at 34800 BPS for the Monitor communication. The internal serial port is derived from the internal serial functions of the 8051 (P3.0/RXD and P3.1/TXD). The external UART (U7) is implemented using an 16550 device. A 1.8432 MHz oscillator provides the input frequency to the UART. The interrupt output of the UART is optionally connected to the INT0 pin (port 3.2) of the MCU. When the UART_INT DIP switch is ON, the UART interrupt is connected to the P3.2 MCU pin. Both serial ports are configured as a standard 3-wire interface.
The handshaking signals are automatically looped back to the PC as shown in the figure below.
Fig.9
3.5 INTERRUPTSThe MCU (AT89c51ED2/RD2) supports up to 9 interrupts (2 external & 7 internal) with four priority levels (see MCU datasheet for more information)
External Interrupts: The INT0 and INT1 interrupt are available to user; these are provided with on-board switches (S2 & S3). If DIP switch (switch 5) is ON then INT0 is connected to the serial interrupt. (see Configuration and Installation chapter->Configuration->DIP switches for more information). Internal Interrupts: All on-Chip interrupts are available to user. 3.6 BUFFER
In MCB 51-2 MCU multiplexes the address bus (A0-A7) & data bus (D0-D7) on PORT0. To accomplish this, the address lines are latched using the 74HC373.
3.7 SPI (Serial Peripheral Interface)MCB 51-2 have on board SPI accessible Serial EEPROM 25AA010A. The memory is accessed via a Serial Peripheral Interface™ (SPI) compatible serial bus. The bus signals required are: clock input (SCK), data in (SI), data out (SO) and Chip Select (CS). For information, see Data sheet of 25AA010A/25LC010A.
3.8 PPI (Programmable Peripheral Interface) The PPI ports PA, PB and PC from Programmable Peripheral Controller (8255) are available on 26-Pin connector J1. User can make use of these port lines to connect different interfaces to MCB 51-2 board.Following are address of ports of 8255
Control Port CA: 0xE003 Port A PA: 0xE000 Port B PB: 0xE001 Port C PC: 0xE002
CHAPTER 3 CONFIGURATION & INSTALLATION
This chapter describes the configuration and the installation procedures of ESA MCB 51-2. The ESA MCB 51-2 board requires +5V power and a serial connection to a PC running Keil µVision IDE (Integrated Development Environment).
Ø Hardware Requirements
· The ESA MCB 51-2 Board.· A serial cable (USB or RS232-C).· A PC (450MHz and above) with an available RS-232 Port or USB Port, 128 MB RAM and 30MB Hard Disk Space.
Ø Software Requirements
· Microsoft Windows 2000/XP/Win7· Keil µVision IDE and Debugger.
3.1 CONFIGURATIONThe Board will be shipped with ready configuration to connect with Keil IDE. You can configure MCB 51-2 with DIP switches & Jumpers.
DIP Switches:The following section describes each of the DIP switches of MCB 51-2 board.
UART_INTR: Default OFF
The UART_INTR switch controls the generation of external 16550 UART interrupt on the microcontroller. If UART_INTR is ON, the interrupt output from the 16550 is connected to port pin P3.2 (INT0). If UART_INTR is OFF, the interrupt output from the 16550 is not connected to the microcontroller. This switch is useful when using interrupt-driven serial I/O with the external UART. The user must set UART_INTR to ON, if he/she wants to halt execution of a user program within µVision.
EXT_UART: Default OFF
The EXT_UART switch controls generation of chip select signal for the external 16550 UART . If EXT_UART is ON, the chip select signal is generated and the Monitor program uses the external serial interface for communication. The communication baud rate is 57600 bps. If EXT_UART is OFF, the UART chip select is not generated and the Monitor program uses the on-chip serial UART interface for communication. In this case, the communication baud rate is 38400 bps. Monitor: Default ON
The Monitor switch selects the monitor EPROM for debugging. When Monitor is ON, the monitor is used for debugging with the supplied EPROM. When Monitor is OFF, the user may insert an EPROM with his/her target application.
LED: Default ON
The LED switch has ON/OFF function. . When LED is ON, the LEDs on port 1 are enabled. When LED is OFF, the LEDs are disabled. If the Monitor DIP switch is ON and LED is OFF, the Monitor does not modify the port 1 lines on power-up.
INT0: Default OFF
The INT0 switch controls the interrupt signal connection from INT0 push button to P3.2. If INT0 is ON, the interrupt from INT0 push button is connected to P3.2.If INT0 is OFF; the interrupt from INT0 push button is disconnected to P3.2. *Note: At any given time either UART_INTR or INT0 can be ON. But both can be OFF.
The Following Figure showing default DIP switch setting with On-chip UART, on-board monitor, LED enable.
Fig 2: DEFAULT DIP SWITCH SETTINGS JUMPERS: MCB 51-2 have four jumper to configure SPI (serial peripheral interface).If all the jumpers are shorted then Port Lines (P1.1, P1.6, P1.7, P1.5) are connected to the 25AA010 EEPROM. These jumper & port lines are connected to the EEPROM in following way:
JP1:P11: CS (Chip select of EEPROM) JP2:P16: SCLK (Serial Clock for EEPROM) JP3:P17: MOSI (Master Out Slave In Signal for EEPROM) JP4:P15: MISO (Master In Slave Out Signal for EEPROM)
MCB 51-2 have two jumpers (JP5 & JP6) to select EA & PSEN signal of MCU. If Jumper JP5 is on position B-C (GND), the user can access external memory; if it is on position A-B (VCC) then user can access internal flash memory for programming. If jumper JP6 is shorted, PSEN is connected to ground & the user can program on chip flash memory using ATMEL FLIP.
Default Condition: JP5 is on position B-C (GND) & JP6 is open.
3.2 INSTALLATION
1. Connect +5V power supply to the board. 2. Connect the serial cable or USB cable to PC. 3. Switch ON the power & check whether power LED is ON.After powering up, the board can be connected to Keil µVision IDE to download and execute the user programs. The ESA Monitor-51 Driver is used to download the user application code into memory, and to debug the user application code. 3.3 INTEGRATION WITH KEIL The following steps describe the procedure to create and compile µVision project for ESA MCB 51-2 board. User can find more information on Keil project creation and compilation in the µVision and C51 Getting Started User Guide.
1. Start the µVision IDE, create a new project file from the home window (Project -> New µVision Project).In the 'create new project' window, and enter the project name after selecting the project folder & save. Now the 'select device for Target’ window appears. Select ATMEL-> AT89C51ED2. After pressing OK, a message box appears asking for confirmation of 'copy standard 8051 start up code to project folder?’ Enter NO.
Fig.3
Fig.42. Next, from the home window, create and save a source file, by selecting File->New. Save file
with a name and extension, (.C, .ASM or .M51). Now add this saved file to the project, by selecting the target, say, Target 1 or Simulator. Right click on the Source Group and select 'Add Files to Source Group' option. In the next window, select the saved file and click Add.
Fig 5
3. Set the Target options for the ESA MCB 51-2 as shown below. Selecting Project->Options for Target opens the Options for Target window. Under Debug tab, select Keil Monitor -51 driver from 'Use' drop-down list.
Fig.6
4. To load and start user application, enable Load Application at Startup option.5. Select appropriate communication settings using the Settings button (next to Use drop-down list) as
shown below.
Fig.7Under the COM Port settings, select the COM Port to which the board is connected and select the baud rate as 57600 or 38400 (recommended). Enable Serial Interrupt option if the user application is not using on-chip UART, to stop program execution.
6. In the home screen, under Project->Build the project, click on Build the project; µVision translates all the user application and links. After the Build, press Reset on ESA MCB 51-2
7. Now user can enter into Debug mode from the home screen (Debug->Debug- Start / Stop Debug session)
8. The debugger connects to ESA MCB 51 and downloads the user application program into memory and enables all the debugging features like Run, Step, and Step over etc.
9. In Case of any Communication problems, a dialog box opens for trouble-shooting the communication
problems.
Fig.810. Here check for correct COM Port settings and ensure the COM Port is working. Check the monitor
configuration (Step 3), Keil Monitor-51 Driver should be selected.. Press Reset on ESA MCB 51-2 and click try again. If the problem still persists, please contact the manufacturer.
11. To stop the execution of user application programs, use Stop option in Debug dialog. If the user enabled the Serial Interrupt in Target Debug settings (Step 5) then the program execution stops normally, otherwise it displays a sub-window as shown below.
Fig.9
Here user can use the Stop Debugging button to stop the application program execution.
CHAPTER 4 SAMPLE PROGRAMS
Writing programs for ESA MCB 51-2 is very simple. Here are some sample programs.
4.1 BLINKY Program
The user may use this to test the working of the MCB 51-2 and verify that he/she can use the tools provided to develop a program successfully. BLINKY blinks the LEDs on the MCB 51-2 evaluation board. The complete source listing for the program is shown below:
/* BLINKY.C - LED Flasher for the ESA MCB 51-2 Evaluation Board with 80C51device*/#include <REG51F.H>void wait (void) { /* wait function */; /* only to delay for LED flashes */}void main (void) {unsigned int i; /* Delay var */unsigned char j; /* LED var */while (1) { /* Loop forever */for (j=0x01; j< 0x80; j<<=1) { /* Blink LED 0, 1, 2, 3, 4, 5, 6 */P1 = j; /* Output to LED Port */for (i = 0; i < 10000; i++) { /* Delay for 10000 Counts */wait (); /* call wait function */}}for (j=0x80; j> 0x01; j>>=1) { /* Blink LED 6, 5, 4, 3, 2, 1 */P1 = j; /* Output to LED Port */for (i = 0; i < 10000; i++) { /* Delay for 10000 Counts */wait (); /* call wait function */}}}Program Execution Procedure:
1. Go to the KEIL folder → C51 folder → examples → Blinky.2. Click on Keil µV file .Blinky The Keil µVision window will open containing the Blinky
project.3. Check all the settings as mentioned in section 3.2.4. Connect the USB cable between the host PC and connector CN1 on the board.5. Go to Options for Target, select device AT89C51ED2.6. Go to debug settings, select “Use Keil Monitor-51” and select the option Run to main.7. Check target setup, select COM Port, and baud rate. While communicating through internal
UART the baud rate should be 38400 bps and for external UART the baud rate should be 57600 bps.
8. Build the target, and click start & stop debug button → Checkout PC is pointing to the main function.
9. Press the run button on the Keil µV window and see the blinking of on board LED's.
4.2 HELLO WORLD Program
The HELLO WORLD is a simple program that prints "Hello World” to the serial port of the MCB 51-2. When an user successfully builds and runs this program, he/she would have used the entire tool-set.The complete source listing for the program is shown below:
*------------------------------------------------------------------------------HELLO.CCopyright 1995-2005 Keil Software, Inc.------------------------------------------------------------------------------*/#include <REG51F.H>#include <stdio.h> /* prototype declarations for I/O functions */#ifdef MONITOR51 /* Debugging with Monitor-51 needs */char code reserve [3] _at_ 0x23; /* space for serial interrupt if */#endif /* Stop Execution with Serial Intr. *//* is enabled *//*------------------------------------------------------------------------------------------The main C function. Program execution starts here after stack initialization.------------------------------------------------------------------------------------------*/void main (void) {/*------------------------------------------------Setup the serial port for 2400 baud at 24MHz.------------------------------------------------*/#ifndef MONITOR51SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */TMOD |= 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */TH1 = 0xE6; /* TH1: reload value for 2400 baud @ 24MHz */TR1 = 1; /* TR1: timer 1 run */TI = 1; /* TI: set TI to send first char of UART */#endif/*-----------------------------------------------------------------------------------------------------Note that an embedded program never exits (because there is no operating system to return to). It must loop and execute forever.-----------------------------------------------------------------------------------------------------*/while (1) {P1 ^= 0x01; /* Toggle P1.0 each time we print */printf ("Hello World\n"); /* Print "Hello World" */}}
Program Execution Procedure:
1. Go to the KEIL folder → C51 folder → Examples → Hello.2. Click on µVision (µV) file. The Keil µV window will open with the HELLO WORLD project.3. Check all the settings as mentioned in section 2.2.4. Connect the USB cable between the host PC and CN1 of MCB 51-2.5. Go to Options for Target, select device.6. Go to debug settings, select “Use Keil Monitor-51” and select the option Run to main.7. Check target setup, select COM port, and baud rate. It should be noted that when using internal
UART the baud rate is fixed at 38400 bps.8. Build the target, and click start & stop debug button.9. The code can be executed by clicking run button on Keil µV window.10. Go to Keil window view tab →serial window → UART #1.11. The ‘UART #1’ window will be opened.12. On this Keil serial window, you can see “HELLO WORLD” being displayed.
Fig 11
Fig 12
APPENDICES
APPENDIX A Schematics APPENDIX B Component layout diagram APPENDIX C ASCII Character Table
APPENDIX D ESA Product list
APPENDIX A
Schematics
1
1
2
2
3
3
4
4
D D
C C
B B
A A
1
Electro Systems Associates Pvt Ltd4215, J.K.Complex, First Main RoadSubramanyanagar, P.O.Box 2139BANGALORE, INDIAwww.esaindia.com3
12/14/2012 3:54:53 PM
Title
Size: Number:
Date:DRN By:
Revision:
Sheet ofTime:A4
CKD By: B.SRINIVAS RAO APD By:
OE1
LE11
1D3 1Q 2
2D4 2Q 5
3D7 3Q 6
4D8 4Q 9
5D13 5Q 12
6D14 6Q 15
7D17 7Q 16
8D18 8Q 19
VCC 20
GND10
U3
74HC373P
AD[0..7] 5VA[0..7]
5 6
147
U4CMC74HC14AD
9 8
147
U4DMC74HC14AD
1 2
147
U4AMC74HC14AD
3 4
147
U4BMC74HC14AD
11 10
147
U4EMC74HC14AD
10uF
C5
10KR3
S4
Reset
5V
123
JP5
Header 3
5V
12
JP6
Header 2
CLK/IN1
IN2
IN3
IN4
IN5
IN6
IN7
IN8
IN9
IN10
IN11
IN/OE13
GND12
IN14
I/O 15I/O 16I/O 17I/O 18I/O 19I/O 20I/O 21I/O 22
IN23
VCC 24U1
ATF20V8B
5V
AD
[0..7
] A[0..7]
EA
ALE
PSEN
LED
CS_UART
CS_RAMCS_ROM
8255_CS
10uFC4
10KR2
S3
INT 1
5V
INT1
A16_ROM
10uFC3
10KR1
S2
INT 0
5V
INT0
A16_RAM
RD_RAM
RST
RST
PSENA10A11A12A13A14A15
MONITOR
RDP1.7
AD0AD1AD2AD3
AD[0..7]
AD4AD5AD6AD7
12
Y124MHZ
22pFC1
22pF
C2
A8A9A10A11A12A13A14A15
A[8..15]
NIC1
P1.0
/T2
2P1
.1/T
2EX
3P1
.2/E
CI
4P1
.3/C
EX0
5P1
.4/C
EX1
6P1
.5/C
EX2
7P1
.6/C
EX3
8P1
.7/C
EX4
9RST10
P3.0
/RxD
11NIC12
P3.1
/TxD
13P3
.2/IN
T014
P3.3
/INT1
15P3
.4/T
016
P3.5
/T1
17P3
.6/W
R18
P3.7
/RD
19
XTAL220
XTAL121
VSS
22
NIC23
P2.0/A8 24
P2.1/A9 25
P2.2/A10 26
P2.3/A11 27
P2.4/A12 28
P2.5/A13 29
P2.6/A14 30
P2.7/A15 31
PSEN32
ALE/PROG33
NIC34
EA/VPP35
P0.7/AD7 36P0.6/AD6 37P0.5/AD5 38P0.4/AD4 39P0.3/AD3 40P0.2/AD2 41P0.1/AD1 42P0.0/AD0 43
VC
C44
U2P89C51RD2HBA
5V
AD
[0..7]A
[8..15]
P10
P11
P12
P13
P14
P15
P16
P17
P[10..17]P[10..17]
RSTEAALEPSEN
ON
_TX
DO
N_R
XD
RD
WR
INT1
UA
RT_
INT
12345678
161514131211109
S1
SW DIP-8
LED
UART_INTRUART_INT UART_INT
CS_UART EXT_UARTMONITORLED
MONITOR
GND
UART_INT INT0P17P1.7
AD0AD1AD2AD3AD4AD5AD6AD7
A0A1A2A3A4A5A6A7
5V
ESA MCB51-2ESA 2445
4.7KR8
5V
CS_UART_EXT
PIC101 PIC102
COC1
PIC201 PIC202
COC2
PIC301
PIC302COC3
PIC401
PIC402
COC4
PIC501
PIC502
COC5
PIJP501
PIJP502
PIJP503
COJP5PIJP601
PIJP602
COJP6
PIR101
PIR102COR1
PIR201
PIR202COR2
PIR301
PIR302COR3
PIR801
PIR802COR8
PIS101
PIS102
PIS103
PIS104
PIS105
PIS106
PIS107
PIS108 PIS109
PIS1010
PIS1011
PIS1012
PIS1013
PIS1014
PIS1015
PIS1016
COS1
PIS201 PIS203
COS2
PIS301 PIS303
COS3
PIS401 PIS403
COS4
PIU101
PIU102
PIU103
PIU104
PIU105
PIU106
PIU107
PIU108
PIU109
PIU1010
PIU1011
PIU1012
PIU1013
PIU1014
PIU1015
PIU1016
PIU1017
PIU1018
PIU1019
PIU1020
PIU1021
PIU1022
PIU1023
PIU1024
COU1
PIU201
PIU202PIU203PIU204PIU205PIU206PIU207PIU208PIU209
PIU2010
PIU2011
PIU2012
PIU2013PIU2014PIU2015PIU2016PIU2017PIU2018PIU2019
PIU2020
PIU2021
PIU2022PIU2023
PIU2024
PIU2025
PIU2026
PIU2027
PIU2028
PIU2029
PIU2030
PIU2031
PIU2032
PIU2033
PIU2034
PIU2035
PIU2036
PIU2037
PIU2038
PIU2039
PIU2040
PIU2041
PIU2042
PIU2043
PIU2044COU2
PIU301
PIU302PIU303
PIU304 PIU305
PIU306PIU307
PIU308 PIU309
PIU3010
PIU3011
PIU3012PIU3013
PIU3014 PIU3015
PIU3016PIU3017
PIU3018 PIU3019
PIU3020
COU3
PIU401 PIU402
PIU407PIU4014 COU4A
PIU403 PIU404
PIU407PIU4014 COU4B
PIU405 PIU406
PIU407PIU4014
COU4C
PIU407PIU408PIU409
PIU4014 COU4D
PIU407PIU4010PIU4011
PIU4014 COU4E
PIY101PIY102
COY1 PO8\2\5\5\0\C\S\
POA0POA1POA2POA3POA4POA5POA6POA7
POA8POA9
POA10POA11POA12POA13POA14POA15
POA160RAMPOA160ROM
POA000070
POA0800150
POAD0POAD1POAD2POAD3POAD4POAD5POAD6POAD7
POAD000070
POALE
POC\S\0\R\A\M\POC\S\0\R\O\M\
POC\S\0\U\A\R\T\ POC\S\0\U\A\R\T\0\E\X\T\
POE\A\
POINT0
POINT1
POLEDPOMONITOR
POON0RXDPOON0TXD
POP107
POP10POP11POP12POP13POP14POP15POP16
POP17
POP01000170
POPSEN
POR\D\
POR\D\0\R\A\M\
PORST
POUART0INT POUART0INTR
POW\R\
1
1
2
2
3
3
4
4
D D
C C
B B
A A
2
Electro Systems Associates Pvt Ltd4215, J.K.Complex, First Main RoadSubramanyanagar, P.O.Box 2139BANGALORE, INDIAwww.esaindia.com3
12/14/2012 3:54:53 PM
Title
Size: Number:
Date:DRN By:
Revision:
Sheet ofTime:A4
CKD By: B.SRINIVAS RAO APD By:
VPP1 A162 A153
A124
A75 A66 A57 A48 A39 A210 A111 A012 Q0 13
Q1 14
Q2 15
GND16
Q3 17
Q4 18
Q5 19
Q6 20
Q7 21
CE22
A1023
OE24
A1125
A926 A827
A1328
A1429
NC 30
PROG 31VCC 32U5
M27C1001-10B1
AD[0..7]
AD0AD1AD2AD3AD4AD5AD6AD7
A0A1A2A3A4A5A6A7
A[0..12]
A8A9A10A11A12
5V
NC
1
A16 2
A15 31
A12 4
A7 5
A6 6
A5 7
A4 8
A3 9
A2 10
A1 11
A0 12D013 D114 D215
GN
D16
D317 D418 D519 D620 D721
CE1
22
A10 23
OE
24
A11 25
A9 26
A8 27
A13 28A14 3
CE2
30
WR
29
VC
C32
U6TC551001BPL-70
AD[0..7]
AD0AD1AD2AD3AD4AD5AD6AD7
5V
D02
D13
D24
D35
D46
D57
D68
D79
ADS28
A031
A130
A229
CS216
CTS 40
CS014
CS115
DCD 42DSR 41
MR39
RD24
RI 43
RCLK 10
RD25
SIN 11
WR20 WR21
XIN18
BAUDOUT 17
DTR 37
DDIS26
INTR 33
OUT1 38
OUT2 35
RTS 36
RXRDY32
SOUT 13
TXRDY27
XOUT19
VDD 44
VSS 22
NC 1
NC 12
NC 23
NC 34
U7
PC16550DV
AD[0..7]
AD0AD1AD2AD3AD4AD5AD6AD7
A0A1A2
A8A9
5V
13 12
147
U4FMC74HC14AD
12
Y21.8432 MHZ
22pFC6
22pF
C7
AD
[0..7
]
AD
[0..7
]
AD
[0..7]
A[0
..12]
A0A1A2A3A4A5A6A7A8A9A10A11A12A13A14A15
UART_INTRRD_RAM
EX_TXD
EX_RXDA[0..15]
A[0..15]
A14
A16_ROM
CS_ROMPSEN
RST
WR
A16_RAM
RD_RAMWR
CS_RAM
CS1
SO2 WP 3
VSS 4
SI5 SCK6
HOLD 7
VCC 8U8
25AA010AT-I/MS
5V12
JP1
12
JP2
12
JP3
12
JP4
10KR4
P11
P16
P17
P15
0.1uF
C8
0.1uF
C9
0.1uF
C10
0.1uF
C11
0.1uF
C12
0.1uF
C13
0.1uF
C14
0.1uF
C15
0.1uF
C16
0.1uF
C17
0.1uF
C18
0.1uF
C19
5V
CS
SCLK
MOSI
MISO
ESA MCB51-2ESA 2445
5V
10KR9
CS_UART_EXT
PIC601 PIC602
COC6
PIC701 PIC702
COC7
PIC801
PIC802COC8
PIC901
PIC902COC9
PIC1001
PIC1002COC10
PIC1101
PIC1102COC11
PIC1201
PIC1202COC12
PIC1301
PIC1302COC13
PIC1401
PIC1402COC14
PIC1501
PIC1502COC15
PIC1601
PIC1602COC16
PIC1701
PIC1702COC17
PIC1801
PIC1802COC18
PIC1901
PIC1902COC19
PIJP101
PIJP102
COJP1
PIJP201
PIJP202
COJP2
PIJP301
PIJP302
COJP3
PIJP401
PIJP402
COJP4
PIR401
PIR402COR4
PIR901
PIR902
COR9
PIU407PIU4012PIU4013
PIU4014 COU4F
PIU501
PIU502
PIU503
PIU504
PIU505
PIU506
PIU507
PIU508
PIU509
PIU5010
PIU5011
PIU5012 PIU5013
PIU5014
PIU5015
PIU5016
PIU5017
PIU5018
PIU5019
PIU5020
PIU5021
PIU5022
PIU5023
PIU5024
PIU5025
PIU5026
PIU5027
PIU5028
PIU5029
PIU5030
PIU5031
PIU5032
COU5
PIU601
PIU602
PIU603
PIU604
PIU605
PIU606
PIU607
PIU608
PIU609
PIU6010
PIU6011
PIU6012PIU6013
PIU6014
PIU6015
PIU6016
PIU6017
PIU6018
PIU6019
PIU6020
PIU6021
PIU6022
PIU6023
PIU6024
PIU6025
PIU6026
PIU6027
PIU6028
PIU6029 PIU6030
PIU6031
PIU6032
COU6
PIU701
PIU702
PIU703
PIU704
PIU705
PIU706
PIU707
PIU708
PIU709
PIU7010
PIU7011
PIU7012
PIU7013
PIU7014
PIU7015
PIU7016
PIU7017
PIU7018
PIU7019
PIU7020
PIU7021
PIU7022
PIU7023
PIU7024
PIU7025
PIU7026
PIU7027
PIU7028
PIU7029
PIU7030
PIU7031
PIU7032
PIU7033
PIU7034
PIU7035
PIU7036
PIU7037
PIU7038
PIU7039
PIU7040
PIU7041
PIU7042
PIU7043
PIU7044
COU7
PIU801
PIU802 PIU803
PIU804
PIU805
PIU806
PIU807
PIU808
COU8
PIY201PIY202
COY2
POA0POA1POA2POA3POA4POA5POA6POA7POA8POA9POA10POA11POA12 POA13POA14POA15POA160RAM
POA160ROM
POA0000120 POA0000150
POAD0POAD1POAD2POAD3POAD4POAD5POAD6POAD7
POAD000070
POC\S\0\R\A\M\
POC\S\0\R\O\M\
POC\S\0\U\A\R\T\0\E\X\T\
POEX0RXD
POEX0TXD
POP11
POP15
POP16
POP17
POPSEN
POR\D\0\R\A\M\
PORSTPOUART0INTR
POW\R\
1
1
2
2
3
3
4
4
D D
C C
B B
A A
3
Electro Systems Associates Pvt Ltd4215, J.K.Complex, First Main RoadSubramanyanagar, P.O.Box 2139BANGALORE, INDIAwww.esaindia.com3
12/14/2012 3:54:53 PM
Title
Size: Number:
Date:DRN By:
Revision:
Sheet ofTime:A4
CKD By: B.SRINIVAS RAO APD By:
OE1 LE11
1D3 1Q 2
2D4 2Q 5
3D7 3Q 6
4D8 4Q 9
5D13 5Q 12
6D14 6Q 15
7D17 7Q 16
8D18 8Q 19
VCC 20
GND10
U10
74HC373P
5V
123456789
10
RP1
390R
5V
10K
R5
P10P11P12P13P14P15P16P17
P[10..17]
P[10
..17]
LED
1
2
3
4
5
6
7
8
9
11
10
J2
D Connector 9
GND15
VCC 16C1+1
VC+ 2C1-3
C2+4
C2-5
VC- 6
T2OUT 7
R2IN 8R2OUT9 T2IN10
T1IN11
R1OUT12 R1IN 13T1OUT 14
U11
MAX232
10uF/16VC23
10uF/16V
C240.1uFC22
0.1uFC25
5V
ON_TXD
ON_RXD
EX_TXDEX_RXD
1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 26
J1
26 PIN FRC MALE RT.
PC0 PC1PC2 PC3PC4 PC5
PC6 PC7PA0 PA1PA2 PA3PA4 PA5PA6 PA7PB0 PB1PB2 PB3PB4 PB5PB6 PB7
GND 7
VCC 26
PB725 PB624 PB523 PB422 PB321 PB220 PB119 PB018
PC710 PC611 PC512 PC413 PC317 PC216 PC115 PC014
PA737 PA638 PA539 PA440 PA31 PA22 PA13 PA04
D7 27D6 28D5 29D4 30D3 31D2 32D1 33D0 34
A0 9
A1 8
WR 36RD 5
RESET 35
CS 6
U9
8255
PC0PC1PC2PC3PC4PC5PC6PC7
PB0PB1PB2PB3PB4PB5PB6PB7
PA0PA1PA2PA3PA4PA5PA6PA7
AD0AD1AD2AD3AD4AD5AD6AD7
AD
[0..7]
AD[0..7]
RDWRA0A1
RST8255_CS
5V
1234
CN1 VCC20
USBDM16
USBDP15
VCCIO4
NC8
RESET#19
NC24
OSCI27
OSCO28
3V3OUT17
AG
ND
25
GN
D7
GN
D18
GN
D21
TEST
26
CBUS4 12CBUS3 14CBUS2 13CBUS1 22CBUS0 23
RI# 6
DCD# 10
DSR# 9
DTR# 2
CTS# 11
RTS# 3
RXD 5
TXD 1
U12
FT232R
VCC3O
RTS#
CTS#
DCD#
47pFC26
47pFC27
0.1uF
C28
1_N
DTR#
DSR#
NC
NCNCNCNCNC
5V
1_P
5V
4K7R6
10KR7
RESET
RESET
13
P3
Header 2
5V
10uF
C200.1uFC21D10
TXDRXD
RXD
TXD
LED1
LED2
LED3
LED4
LED5
LED6
LED7
LED8
LED9
ESA MCB51-2ESA 2445
PIC2001
PIC2002
COC20
PIC2101
PIC2102COC21
PIC2201
PIC2202COC22
PIC2301
PIC2302COC23
PIC2401PIC2402
COC24
PIC2501
PIC2502COC25
PIC2601
PIC2602COC26
PIC2701PIC2702
COC27
PIC2801
PIC2802COC28
PICN101
PICN102
PICN103
PICN104
COCN1
PID1001PID1002
COD10
PIJ101 PIJ102
PIJ103 PIJ104
PIJ105 PIJ106
PIJ107 PIJ108
PIJ109 PIJ1010
PIJ1011 PIJ1012
PIJ1013 PIJ1014
PIJ1015 PIJ1016
PIJ1017 PIJ1018
PIJ1019 PIJ1020
PIJ1021 PIJ1022
PIJ1023 PIJ1024
PIJ1025 PIJ1026
COJ1
PIJ201
PIJ202
PIJ203
PIJ204
PIJ205
PIJ206
PIJ207
PIJ208
PIJ209
PIJ2010
PIJ2011
COJ2
PILED101 PILED102
COLED1
PILED201 PILED202
COLED2
PILED301 PILED302
COLED3
PILED401 PILED402
COLED4
PILED501 PILED502
COLED5
PILED601 PILED602
COLED6
PILED701 PILED702
COLED7
PILED801 PILED802
COLED8
PILED901 PILED902
COLED9
PIP301
PIP303
COP3
PIR501
PIR502COR5
PIR601
PIR602COR6
PIR701
PIR702COR7
PIRP101
PIRP102
PIRP103
PIRP104
PIRP105
PIRP106
PIRP107
PIRP108
PIRP109
PIRP1010
CORP1PIU901
PIU902
PIU903
PIU904
PIU905
PIU906
PIU907
PIU908
PIU909
PIU9010
PIU9011
PIU9012
PIU9013
PIU9014
PIU9015
PIU9016
PIU9017
PIU9018
PIU9019
PIU9020
PIU9021
PIU9022
PIU9023
PIU9024
PIU9025
PIU9026
PIU9027
PIU9028
PIU9029
PIU9030
PIU9031
PIU9032
PIU9033
PIU9034
PIU9035
PIU9036
PIU9037
PIU9038
PIU9039
PIU9040
COU9
PIU1001
PIU1002PIU1003
PIU1004 PIU1005
PIU1006PIU1007
PIU1008 PIU1009
PIU10010
PIU10011
PIU10012PIU10013
PIU10014 PIU10015
PIU10016PIU10017
PIU10018 PIU10019
PIU10020
COU10
PIU1101
PIU1102PIU1103
PIU1104
PIU1105
PIU1106
PIU1107
PIU1108PIU1109
PIU11010
PIU11011
PIU11012 PIU11013
PIU11014
PIU11015
PIU11016
COU11
PIU1201
PIU1202
PIU1203
PIU1204
PIU1205
PIU1206
PIU1207
PIU1208
PIU1209
PIU12010
PIU12011
PIU12012
PIU12013
PIU12014
PIU12015
PIU12016
PIU12017
PIU12018
PIU12019
PIU12020
PIU12021
PIU12022
PIU12023
PIU12024
PIU12025 PIU12026
PIU12027
PIU12028
COU12
PO8\2\5\5\0\C\S\
POA0POA1
POAD0POAD1POAD2POAD3POAD4POAD5POAD6POAD7POAD000070
POEX0RXDPOEX0TXD
POLED
POON0RXD
POON0TXD
POP10POP11POP12POP13POP14POP15POP16POP17POP01000170
POPA0 POPA1POPA2 POPA3POPA4 POPA5POPA6 POPA7POPB0 POPB1POPB2 POPB3POPB4 POPB5POPB6 POPB7POPC0 POPC1POPC2 POPC3POPC4 POPC5
POPC6 POPC7
POR\D\
PORST
PORXDPOTXD
POW\R\
APPENDIX B
Component layout diagram
APPENDIX C
ASCII Character Table
APPENDIX D
ESA Product list