WVGA/LCD EI3 Extender Board Manual an EZ-Extender® product Revision 1.0, April 2012 Part Number 82-000254-01 Analog Devices, Inc. One Technology Way Norwood, Mass.
Copyright Information ©2012 Analog Devices, Inc., ALL RIGHTS RESERVED. This document may not be reproduced in any form without prior, express written consent from Analog Devices, Inc. Printed in the USA. Disclaimer Analog Devices, Inc. reserves the right to change this product without prior notice. Information furnished by Analog Devices is believed to be accurate and reliable.
Regulatory Compliance The WVGA/LCD EI3 Extender Board is designed to be used solely in a laboratory environment. The board is not intended for use as a consumer end product or as a portion of a consumer end product. The board is an open system design which does not include a shielded enclosure and therefore may cause interference to other electrical devices in close proximity. This board should not be used in or near any medical equipment or RF devices.
CONTENTS PREFACE Product Overview .......................................................................... vii Purpose of This Manual ............................................................... viii Intended Audience .......................................................................... ix Manual Contents ............................................................................ ix What’s New in This Manual ............................................................. x Technical Support ......
Contents LCD Touch Controller (AD7879) ................................................ 1-5 Capacitive Touch Controller (AD7147) ........................................ 1-5 Digital Accelerometer (ADXL345) ................................................ 1-6 Expansion Interface III ................................................................. 1-7 Example Programs ........................................................................ 1-7 Board Design Database ..........................................
Contents Expansion Interface III (EI3) Connectors (P1–2) ................... 2-17 Power Connector (P4) ........................................................... 2-17 LCD Connector (P5) ............................................................. 2-18 Power LED (LED1) .................................................................... 2-18 WVGA/LCD EI3 EXTENDER BOARD BILL OF MATERIALS WVGA/LCD EI3 EXTENDER BOARD SCHEMATIC Title Page ......................................................................
vi WVGA/LCD EI3 Extender Board Manual
PREFACE Thank you for purchasing the WVGA/LCD EI3 Extender Board, an EZ-Extender® for EZ-KIT Lite®/EZ-Board® evaluation systems with the Expansion Interface III (EI3). The EZ-KIT Lite/EZ-Board and WVGA/LCD EI3 Extender Board are designed to be used in conjunction with the CrossCore® Embedded Studio (CCES) development environment. To learn more about Analog Devices development software, go to http://www.analog.com/processors/tools/.
Purpose of This Manual The product features: • LCD with touch screen • NEC NL8048HL11-01B 4.
Preface ning your own code on the WVGA/LCD EI3 Extender Board. Finally, a schematic and a bill of materials are provided for reference. Intended Audience The primary audience for this manual is a programmer who is familiar with Analog Devices processors. This manual assumes that the audience has a working knowledge of the appropriate processor architecture, instruction set, and C/C++ programming languages.
What’s New in This Manual • Appendix A, “WVGA/LCD EI3 Extender Board Bill Of Materials” on page A-1 Provides a list of hardware components used to manufacture the board. • Appendix B, “WVGA/LCD EI3 Extender Board Schematic” on page B-1 Provides all of the circuits on the extender board. What’s New in This Manual This is the first revision of the WVGA/LCD EI3 Extender Board Manual.
Preface • E-mail your questions about processors and processor applications to: processor.support@analog.com or processor.china@analog.com (Greater China support) • In the USA only, call 1-800-ANALOGD (1-800-262-5643) • Contact your Analog Devices sales office or authorized distributor. Locate one at: www.analog.com/adi-sales • Send questions by mail to: Processors and DSP Technical Support Analog Devices, Inc. Three Technology Way P.O.
Product Information Analog Devices Web Site The Analog Devices Web site, www.analog.com, provides information about a broad range of products—analog integrated circuits, amplifiers, converters, and digital signal processors. To access a complete technical library for each processor family, go to http://www.analog.com/processors/technical_library. The manuals selection opens a list of current manuals related to the product as well as a link to the previous revisions of the manuals.
Preface Related Documents For additional information about the product, refer to the following publications. Table 1. Related Processor Publications Title Description Processor Data Sheet General functional description, pinout, and timing of the processor. Processor Hardware Reference Description of the internal processor architecture and all register functions. Blackfin Processor Programming Reference Description of all allowed processor assembly instructions. Table 2.
Related Documents xiv WVGA/LCD EI3 Extender Board Manual
1 USING WVGA/LCD EI3 EXTENDER BOARD This chapter provides the setup procedure for the WVGA/LCD EI3 Extender Board and evaluation board and describes the interfaces the extender supports. The information is presented in the following order.
Package Contents Package Contents Your WVGA/LCD EI3 Extender Board package contains the following items. • WVGA/LCD EI3 extender board • A bag containing hardware for securing the extender board onto the EZ-KIT Lite/EZ-Board • Release notes containing information about the product download Contact the vendor where you purchased your extender board or contact Analog Devices, Inc. if any item is missing.
Using WVGA/LCD EI3 Extender Board System Requirements Verify that your PC has these minimum requirements for the CCES installation: • 2 GHz single-core processor • 1 GB RAM • 8 GB available disk space • One open USB port A faster disk drive decreases the build time, especially for a large amount of source files. Extender Board Installation Follow these instructions to ensure correct operation of the product hardware and software. 1. Attach the extender board to the EZ-KIT Lite/EZ-Board.
LCD standoff on the bottom side of the board. Insert the plastic spacers between the bottom side of the EZ-KIT Lite/EZ-Board and to the top side of the extender. 3. Connect the EZ-KIT Lite/EZ-Board to a personal computer (PC) running CCES with the product BSP. Refer to the EZ-KIT Lite/EZ-Board manual for instructions. LCD The WVGA/LCD EI3 Extender Board is shipped with a NEC 4.1 inch WVGA (800 x 480) liquid crystal display (LCD) with backlight.
Using WVGA/LCD EI3 Extender Board LCD Touch Controller (AD7879) The WVGA/LCD EI3 Extender Board is equipped with an Analog Devices resistive touch controller (AD7879). The AD7879 controller is connected to the LCD touch screen via four pins (X+, X-, Y+, Y-). You can access the controller via the SPI of the processor. The controller generates an interrupt request for the processor whenever the user touches the LCD. The processor uses the SPI to read the appropriate registers on the controller.
Digital Accelerometer (ADXL345) processor. The push buttons and scroll wheel are copper pads on the PCB. Touch the respective button or traverse around the wheel with a finger to enable sensor pads and generate an interrupt request. An interrupt signal from the controller is connected to a GPIO signal on the processor. The GPIO signal is configured via a software switch. Refer to “AD7147 Interrupt Signal” for more information. For more information about the AD7147 capacitive touch controller, go to www.
Using WVGA/LCD EI3 Extender Board Expansion Interface III The Expansion Interface III (EI3) allows an extender board to be used across various hardware platforms that have the same expansion interface connectors. The EI3 implemented on the WVGA/LCD EI3 Extender Board contains the PPI, SPI, TWI and GPIO ports. These signals are used for the peripherals on the extender.
Board Design Database Studio. Once installed, the example programs can be found in the \WVGA_LCD_EI3_Extender_Board-RelX.X.X\WVGA_LCD_EI3 directory where X.X.X denotes the support package release number. Board Design Database A .zip file containing all of the electronic information required for the design, layout, fabrication and assembly of the product is available for download from the Analog Devices board design database at: http://www.analog.
2 WVGA/LCD EI3 EXTENDER BOARD HARDWARE REFERENCE This chapter describes the hardware design of the WVGA/LCD EI3 Extender Board. The following topics are covered. • “System Architecture” on page 2-2 Describes the board’s configuration and explains how the board components interface with the processor. • “Software-Controlled Switches (SoftConfig)” on page 2-3 List and describe signals routed through the software-controlled switches. • “Connectors” on page 2-16 Describes the on-board connectors.
System Architecture System Architecture A block diagram of the WVGA/LCD EI3 Extender Board is shown in Figure 2-1. EPPI SPI GPIO TWI Back Light Bus Transceiver 3.
WVGA/LCD EI3 Extender Board Hardware Reference Software-Controlled Switches (SoftConfig) On the WVGA/LCD EI3 Extender Board, all of the traditional mechanical switches and jumpers have been replaced by I2C software-controlled switches. Refer to any SoftConfig*.c file found in the installation directory of CCES for an example of how to set up the SoftConfig features of the product through software.
Software-Controlled Switches (SoftConfig) used to change ENABLE_A to a logic 1 through software that interfaces with the Microchip. The same procedure for ENABLE_B disconnects EXAMPLE_SIGNAL_C from EXAMPLE_SIGNAL_D. Figure 2-2. Example of Individual FET Switches Figure 2-3 shows the equivalent circuit to Figure 2-2 but utilizes mechanical switches that are in the same package. The default is shown by black boxes located closer to the ON label of the switches.
WVGA/LCD EI3 Extender Board Hardware Reference Figure 2-3. Example of Mechanical Switch Equivalent to Figure 2-2 Figure 2-4 shows a bus switch example, reference designator UC (Pericom PI3LVD512ZHE), selecting between lettered functionality and numbered functionality. The signals on the left side are multiplexed signals with naming convention letter_number. The right side of the circuit shows the signals separated into letter and number, with the number on the lower group (eg.
Software-Controlled Switches (SoftConfig) Figure 2-4.
WVGA/LCD EI3 Extender Board Hardware Reference Figure 2-5.
Software-Controlled Switches (SoftConfig) electronic bus switches via TWI. The device has the following programming characteristics: • There are seven programmable GPIO registers. GPIO Register Register Address GPIOA 0x03 GPIOB 0x05 GPIOC 0x07 GPIOD 0x09 GPIOE 0x0b GPIOF 0x0d GPIOG 0x0f • Each GPIO register controls eight signals (software switches). • By default, the GPIO signals function as input signals; therefore, all electronic switches are in the OFF state.
WVGA/LCD EI3 Extender Board Hardware Reference IODIR Register IODIR Register Address Value to be Written to Program Signals as Outputs IODIRF 0x0c 0 IODIRG 0x0e 0 Each of the examples in the BSP includes source files that program the soft switches, even if the default settings are being used. The README for each example identifies only the signals that are being changed from their default values. The code that programs the soft switches is located in the SoftConfig_LCD.c file in each example.
Software-Controlled Switches (SoftConfig) under the FET column. The Component Connected column shows the board IC that is connected if the FET is enabled. Table 2-1.
WVGA/LCD EI3 Extender Board Hardware Reference Table 2-3.
Software-Controlled Switches (SoftConfig) Table 2-5.
WVGA/LCD EI3 Extender Board Hardware Reference LCD SPI Chip Select The LCD SPICS switch connects the chip select pin of the serial peripheral interconnect interface (SPI) of the LCD to one of three SPI select pins of the processor. U10 ports GPE3, GPE4, and GPE5 select the connection to the appropriate SPICS signal via the U31 bus switch. PPICLK_DIR Select The PPICLK_DIR select switch determines whether the LCD clock is generated by an on-board oscillator or by the processor.
Software-Controlled Switches (SoftConfig) AD7879 SPI Chip Select The AD7879 SPICS connects the chip select pin of the SPI of the AD7879 touch screen controller to one of three SPI select pins of the processor. U10 ports GPE0, GPE1, and GPE2 are used to select the connection to the appropriate SPICS signal via the U39 bus switch. AD7147 Interrupt Signal The AD7147 INT signal connects the interrupt signal of the AD7147 touch controller to one of eight GPIO pins of the processor.
WVGA/LCD EI3 Extender Board Hardware Reference ADXL345 SPI Chip Select The ADXL345 SPICS pin connects the chip select pin of the SPI of the ADXL345 accelerometer to one of three SPI select pins of the processor. U10 ports GPF0, GPF1, and GPF2 select the connection to the appropriate SPICS signal via the U32 bus switch.
Connectors Connectors This section describes connector functionality and provides information about mating connectors. The connector locations are shown in Figure 2-6. Figure 2-6.
WVGA/LCD EI3 Extender Board Hardware Reference Expansion Interface III (EI3) Connectors (J1–2) Two board-to-board connectors (J1 and J2) provide signals from the SPI, TWI, UART, SPORT, and GPIO interfaces of the processor. The connectors are located on the top side of the board. For more information, see “Expansion Interface III” on page 1-7. Part Description Manufacturer Part Number 120-pin, 0.6 mm HIROSE FX8-120S-SV(21) Mating Connector 120-pin, 0.
Power LED (LED1) Part Description Manufacturer Part Number 0.65 mm power jack CUI 045-0883R Mating Connector 5.0VDC@3.6A power supply GLOBETEK GS-1750(R) LCD Connector (P5) The LCD connector (P5) is used to connect the LCD to the extender board. The backlight power pins, four resistive touch pins, LCD SPI interface, data, sync, and clock pins of the LCD connect to P5 via a single flex cable.
A WVGA/LCD EI3 EXTENDER BOARD BILL OF MATERIALS The bill of materials corresponds to “WVGA/LCD EI3 Extender Board Schematic” on page B-1. Ref. Qty.
Ref. Qty. Description Reference Designator Manufacturer Part Number 13 1 ADP1715 MSOP8 VR2 ANALOG DEVICES ADP1715ARMZ-3.3-R7 14 1 ADP1613 MSOP8 VR1 ANALOG DEVICES ADP1613ARMZ-R7 15 1 ADXL345BCCZ LGA14 U27 ANALOG DEVICES ADXL345BCCZ 16 1 ADP121-AUJZ30 TSOT5 VR4 ANALOG DEVICES ADP121-AUJZ30R7 17 1 PWR .65MM CON027 P4 DIGI-KEY CP1-022PJCT-ND 18 1 1A RESETABLE 1206 F1 RAYCHEM NANOSMDC110F-2 19 2 .
WVGA/LCD EI3 Extender Board Bill Of Materials Ref. Qty. Description Reference Designator Manufacturer Part Number 27 2 0.1UF 10V 10% 0402 C58-C59 AVX 0402ZD104KAT2A 28 48 0.
Ref. Qty. Description Reference Designator Manufacturer Part Number 40 2 2.0K 1/16W 1% 0603 R12,R17 PANASONIC ERJ-3EKF2001V 41 2 1.1K 1/16W 1% 0402 R55-R56 PANASONIC ERJ-2RKF1101X 42 2 1.1K 1/16W 1% 0402 R57-R58 PANASONIC ERJ-2RKF1101X 43 1 430 1/16W 1% 0402 R33 DIGI-KEY 311-430LRCT-ND 44 1 47.0K 1/16W 1% 0402 R8 ROHM MCR01MZPF4702 45 1 1UF 50V 10% 0603 C31 DIGI-KEY 587-1257-2-ND 46 1 15uH 20% IND015 L1 COILCRAFT MSS4020-153ML 47 3 .
WVGA/LCD EI3 Extender Board Bill Of Materials Ref. Qty. Description Reference Designator Manufacturer Part Number 54 1 100K 1/4W 20% TRIM_PVG3A104 C01R00 R3 DIGIKEY 490-2645-1-ND 55 1 43.
A-6 WVGA/LCD EI3 Extender Board Manual
A B D C 1 1 2 2 WVGA/LCD EI3 Extender Board SCHEMATIC 3 3 ANALOG DEVICES 4 Title Size A B C Nashua, NH 03063 4 PH: 1-800-ANALOGD WVGA/LCD EI3 Extender Board Title Sheet Board No. Rev A0254-2010 C Date 20 Cotton Road 1.
A B J1 1 P1 EI3_PPICLK 94 PPI0_CLK 27 PPI0_FS1 EI3_PPIFS2 95 PPI0_FS2 26 PPI0_FS3 EI3_PPIFS1 94 PPI0_CLK 27 PPI_FS1 95 PPI0_FS2 26 PPI0_FS3 101 PPI0_D0 20 PPI0_D1 EI3_PPID1 101 PPI0_D0 20 PPI0_D1 EI3_PPID2 102 PPI0_D2 19 PPI0_D3 EI3_PPID3 102 PPI0_D2 19 PPI0_D3 EI3_PPID4 103 PPI0_D4 18 PPI0_D5 EI3_PPID5 103 PPI0_D4 18 PPI0_D5 EI3_PPID6 105 PPI0_D6 16 PPI0_D7 EI3_PPID7 105 PPI0_D6 16 PPI0_D7 EI3_PPID8 106 PPI0_D8 15 PPI0_D9 EI3_PPID9 106 PPI0_D8 15 PPI0_D9 EI3_PP
A B P2 J2 PPI_CLK_J2 PPI_FS2_J2 PPI_D0_J2 PPI_D2_J2 PPI_D4_J2 PPI_D6_J2 PPI_D8_J2 PPI_D10_J2 PPI_D12_J2 1 PPI_D14_J2 PPI_D16_J2 PPI_D18_J2 PPI_D20_J2 PPI_D22_J2 PPI_INT_J2 SPORT0_CLK_J2 SPORT0_FS_J2 SPORT0_TDV_J2 SPORT0_D0_J2 SPORT0_D1_J2 SPORT_INT_J2 SPI0_CLK_J2 SPI0_MISO_J2 SPI0_D2_J2 SPI0_SEL1/SPI0_SS_J2 SPI0_SEL_B_J2 94 95 101 102 103 105 106 107 108 12 111 112 113 114 99 87 32 35 37 61 PPI_D1_J2 102 PPI0_D2 19 PPI0_D3 PPI_D3_J2 PPI_D4_J2 103 PPI0_D4 18 PPI0_D5 PPI_D5_J2 PPI_D6_J2
A B D C 3.3V 3.3V 3.
A B D C U41 1 OE0 TOUCH_SCREEN_IRQ_GPIO0 2 EI3_GPIO0 A0 3 B0 TOUCH_SCREEN_IRQ 4 TOUCH_SCREEN_IRQ_GPIO1 3.3V OE1 5 EI3_GPIO1 A1 6 B1 3.3V 10 TOUCH_SCREEN_IRQ_GPIO2 OE2 9 EI3_GPIO2 A2 8 B2 13 TOUCH_SCREEN_IRQ_GPIO3 R32 10K 0402 OE3 12 EI3_GPIO3 A3 11 B3 PI3C3125 TSSOP14 C60 0.1UF 0402 U40 1 C61 0.
B 16 PPID8 18 PPID9 20 PPID10 21 22 23 24 PPID11 25 PPID12 26 PPID13 2 27 PPID14 28 PPID15 55 16_BIT_LCD_MODE B4 PPID2 6 1A5 50 1B5 B4 PPID4 1A6 48 1B6 B5 PPID3 7 1A6 48 1B6 B5 PPID5 1A7 47 1B7 B6 PPID4 9 1A7 47 1B7 B6 PPID6 1A8 46 1B8 B7 PPID5 10 1A8 46 1B8 B7 PPID7 1A9 45 1B9 G0 11 1A9 45 1B9 G0 PPID8 1A10 44 1B10 G1 12 1A10 44 1B10 G1 PPID9 1A11 43 1B11 G2 PPID6 13 1A11 43 1B11 1A12 42 1B12 PPID7 14 1A12 42 1B12 B3 3.
A B D C 3.3V W4 TWI Address 0101 100x x is the R/W bit. Read - 1, Write - 0 3.3V U19 PUSHBUTTON MSC012 15 VCC 1 X_PLUS 16 X+ X_MINUS 4 X- SCL Y_PLUS 1 Y+ DIN 5 Y- 9 DOUT Y_MINUS 14 CS 7 GND1 AUX 17 8 3.3V SPICLK 6 C33 0.
A B D C 1 1 These parts will be populated by internal people who want to use this board with the SDP. 3.3V 3.3V 2 2 3.3V R50 10K 0402 DNP R49 10K 0402 DNP R48 10K 0402 DNP U42 8 VCC 1 EI3_TWI_A0 E0 2 3 4 R45 10K 0402 DNP R46 10K 0402 DNP R47 10K 0402 DNP 6 SCL EI3_SCL 5 SDA EI3_SDA R44 10K 0402 DNP R43 10K 0402 DNP 7 E1 E2 7 WC GND SPIMOSI 2 SO SCK 5 EI3_SPIMISO SI 1 EI3_SPISEL1 8 VCC HOLD 6 SPICLK M24C02 TSSOP8DW DNP U43 3 CS 4 GND WP 3.
I INDEX A E AD7147 interrupt signal, 2-14 AD7879 PENIRQ signal, 2-13 AD7879 SPI chip select, 2-14 ADXL345 interrupt signals, 2-14 ADXL345 SPI chip select, 2-15 ADXL345 TWI/SPI mode select, 2-14 architecture, of this Extender Board, 2-2 example programs, 1-7 expansion interface III (EI3), 1-7, 2-17 F FET switches, 2-3, 2-4 G B bill of materials, A-1 board design database, 1-8 board schematic (WVGA/LCD EI3 Extender Board), B-1 bus switch example, 2-6 C capacitive touch controller, 1-5 connectors diagr
Index O operating systems, supported, 1-2 P package contents, 1-2 parallel peripheral interface (PPI), 1-4 power connector (P4), 2-17 power LED (LED1), 2-18 PPICLK_DIR select switch, 2-13 PPICLK select, 1-4 programmable controller, 1-5 serial peripheral interface (SPI), 1-4, 1-6 SoftConfig (software-controlled switches) examples, 2-3 on the Extender Board, 2-9 overview, 2-3 programming, 2-7 SPICS signals, 2-9 supported operating systems, 1-2 system architecture, of this Extender Board, 2-2 system require