Cypress CY8CKIT-029 Manual

Cypress CY8CKIT-029 Manual

Psoc lcd segment drive
Hide thumbs Also See for CY8CKIT-029:

Advertisement

Quick Links

®
CY8CKIT-029 PSoC
LCD Segment Drive
Expansion Board Kit Guide
Doc. # 001-55415 Rev. *I
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CY8CKIT-029 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress CY8CKIT-029

  • Page 1 ® CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide Doc. # 001-55415 Rev. *I Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com...
  • Page 2 Cypress Source Code and derivative works for the sole purpose of creating custom soft- ware and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as speci- fied in the applicable agreement.
  • Page 3: Table Of Contents

    4.2.1 LCD Glass Details..................22 4.2.1.1 Pixel Mapping Table ................22 4.2.1.2 Glass Specification ................23 Port Options with CY8CKIT-001 DVK................23 Port Options wih CY8CKIT-030/CY8CKIT-050 DVK ..........26 Power Supply......................28 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 4 A. Appendix Schematic........................49 Board Layout ......................50 A.2.1 PDCR-09571 Top View.................. 50 A.2.2 PDCR-09571 Bottom View ................50 BOM ......................... 51 Regulatory Compliance Information ................51 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 5: Safety Information

    If such interference is detected, suitable mitigating measures should be taken. The CY8CKIT-029 as shipped from the factory has been verified to meet with requirements of CE as a Class A product.
  • Page 6 Handling Boards CY8CKIT-029 boards are sensitive to ESD. Hold the board only by its edges. After removing the board from its box, place it on a grounded, static free surface. Use a conductive foam pad if available.
  • Page 7: Introduction

    Quick Start Guide ■ Kit CD ■ Inspect the contents of the kit; if you do not find any part, contact your nearest Cypress sales office for help. PSoC Creator Cypress's PSoC Creator software is a state-of-the-art, easy-to-use software development Integrated Development Environment (IDE).
  • Page 8: Getting Started

    Cypress continually strives to provide the best support. Click here to view a growing list of application notes for PSoC 3 and PSoC 5. 1.4.3 Learning from Peers Cypress Developer Community Forums CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 9: Document History

    Open. Displays an equation: Times New Roman 2 + 2 = 4 Text in gray boxes Describes Cautions or unique functionality of the product. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 10 Introduction CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 11: Installation

    PSoC LCD Segment Drive EBK menu appears. Figure 2-1. CY8CKIT-029 Kit Menu Note If auto-run does not execute, double-click cyautorun.exe in the root directory of the CD. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 12: Install Hardware

    To know the kit revision, look for the white sticker on the back of the kit box. If the revision reads CY8CKIT-029 Rev **, then congratulations, you own the latest version. You can purchase our latest kits at http://www.cypress.com/go/CY8CKIT-029. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 13: Kit Operation

    Kit Operation Introduction The CY8CKIT-029 PSoC LCD Segment Drive EBK code examples are designed using a display with many segments (8 common lines by 16 segment lines giving 128 segments). Code Example 1: LCD_Seg_Example1_Battery_Meter ■ This example demonstrates the battery charge indicator along with the 14-segment display of the LCD glass by implementing a battery meter.
  • Page 14 4. Click on the relevant code example i.e., LCD_Seg_Example1_Battery_Meter_009A for PSoC 3 module and LCD_Seg_Example1_Battery_Meter_010 for PSoC 5 module, located in Examples and Kits on the Start Page of PSoC Creator. Figure 3-2. Start Page CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 15 8. The project is programmed successfully, as shown in Figure 3-5. Figure 3-5. Programming Successful 9. Reset the device by pressing the SW4 switch on the DVK; see Figure 3-6. Figure 3-6. Reset CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 16: Programming A Psoc 3/Psoc 5 Development Kit

    Figure 3-8. Start page   3. Create a folder in the desired location and click OK. The project opens in PSoC Creator and is saved in that folder. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 17   5. Click the Program icon. Figure 3-10. Program Option   6. The project is programmed successfully, as shown in Figure 3-11. Figure 3-11. Programming Successful CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 18: Hardware Connection

    Connect the analog input from the potentiometer (VR slot in CY8CKIT-001 DVK) to P0_2 on the DVK as shown in Figure 3-13. Figure 3-13. VR Connected to P0_2 on CY8CKIT-001 DVK CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 19: Hardware Connections For Psoc 3/Psoc 5 Development Kit

    7. Power the board by connecting a USB cable on USB communications connector J2 or by connecting a 12 V power supply at U1 or by connecting a 12 V battery at the battery connector. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 20: Verify The Output

    Vary the VR (potentiometer) and note the change in status displayed on the LCD. Figure 3-15. Verifying Output of Battery Meter Project Note The best viewing angle is from 6 o’clock, according to the LCD glass characteristics. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 21: Hardware

    40-pin (20×2) connector helps to connect the configured PSoC 3 I/O pins to the LCD glass pins. From the 40 pins available, only 24 are used by the kit. All unused pins are left floating. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 22: Functional Description

    Pixel Mapping Table SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12SEG13SEG14SEG15 COM7 COL1 COL2 COL3 COL4 COM6 COM5 COM4 COM3 COM2 COM1 COM0 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 23: Glass Specification

    Hardware The following figure shows the segment lettering information for all LCD segments. Figure 4-3. Segment Lettering Information Note Pixel mapping table is also available on the back of the CY8CKIT-029 PSoC LCD Segment Drive EBK. 4.2.1.2 Glass Specification Display type: TN ■...
  • Page 24 RESRV 1 P12_3 P7_7 P12_3 P12_2 P7_6 P12_2 P12_1 P7_5 P12_1 P12_0 P7_4 P12_0 V3_3 P7_3 V3_3 V3_3 VADJ P7_2 VADJ P7_1 V5_0 P7_0 V5_0 RESRV 5 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 25 GPIOs but does not completely disable the debug interface for flash protection purposes. Figure 4-5. Enabling P1[0] and P1[1] as GPIO CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 26: Port Options Wih Cy8Ckit-030/Cy8Ckit-050 Dvk

    P4_2 COM5 P5_1 P4_1 COM6 P5_0 P4_0 COM7 GND_A RSVD RSVD P12_3 P12_3 P12_2 P12_2 P12_1 P12_1 P12_0 P12_0 3.3 V 3.3 V V3_3 RSVD RSVD CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 27 GPIOs but does not completely disable the debug interface for flash protection purposes. Figure 4-6. Enabling P1[0] and P1[1] as GPIO CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 28: Power Supply

    Hardware Power Supply The kit is powered from the DVK through the 40-pin (2×20) connector. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 29: Code Examples

    PSoC 3/PSoC 5 DVK with the Battery Meter code example. 5.1.3 Hardware Connections Hardware Connection for CY8CKIT-001 DVK on page 18 for details on hardware connections on CY8CKIT-001 DVK. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 30: Verifying Output

    API call provided by the segment LCD component. The higher the bias level set in the call to the API, the higher the contrast. The API allows a selection CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 31 Figure 5-4. Segment LCD Configuration: Basic Tab Figure 5-5. Segment LCD Configuration: Driver Power Settings CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 32 Code Examples Figure 5-6. Six Character Helper for 16-Segment Display CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 33 The figure only shows the tabs within the component that need to be changed. Other tabs, such ■ as the Built In tab, have the default setting. This is valid for all components of both code exam- ples. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 34 Segment in Golden View Display LCD, GV13956A-TPP SegLCD Component in PSoC Creator The same is depicted symbolically in Figure 5-8 Figure 5-8. Segment Naming in LCD CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 35: Adc_Delsig

    The ADC is used to sample an input voltage, take the voltage from the potentiometer, and control the battery charge indication on the LCD segments. Figure 5-9. ADC_DelSig Component Configuration: Configure Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 36 High-Z, which is the default value. Figure 5-10 Figure 5-11 show the port pin setting. Figure 5-10. VR Configuration: Type Tab Figure 5-11. VR Configuration: General Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 37: Code Example 2: Lcd_Seg_Example2_Stopwatch

    This code example implements a stopwatch using the RTC component in PSoC Creator. The values hours, minutes, and seconds (HH:MM:SS) are displayed on the 14-segment display of the LCD. Figure 5-12. StopWatch Project Flowchart CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 38: Running The Code Example

    Figure 5-13. Connect Switch SW1 to P0_2 on CY8CKIT-001 DVK Note The remaining jumper settings on the DVK have the default state. See the CY8CKIT-001_PSoC_Development_Kit_Guide in www.cypress.com/go/cy8ckit-001 for default set- ting of the jumpers. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 39: Hardware Connections For Cy8Ckit-030/Cy8Ckit-050 Dvk

    Pressing SW1 on CY8CKIT-001 or SW2 on CY8CKIT-030/CY8CKIT-050 the first time starts the stopwatch and the values HH.MM.SS from the RTC are displayed on the LCD. The stopwatch CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 40: Psoc Creator Project Details

    14-segment display section. The component provides all analog and digital signals necessary to drive 128 segments LCD using eight common lines and sixteen segment drive lines. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 41 Code Examples Figure 5-17. Segment LCD Configuration: Basic Tab Figure 5-18. Segment LCD Configuration: Driver Power Settings CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 42 Code Examples Figure 5-19. Six Character Helper for 16-Segment Display CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 43 Segment in Golden View Display LCD, GV13956A-TPP SegLCD component in PSoC Creator The same is depicted symbolically in Figure 5-20 Figure 5-20. Segment Naming in LCD CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 44 Code Examples Figure 5-21. Bar Graph Helper for Two Dots between 14-Segment Display Section CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 45: Real Time Clock (Rtc)

    Status Register Status register is used to store the status of the switch that is read in the firmware. Figure 5-23. Status Register Configuration: Configure Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 46: Sw_Sample_Clock

    Resistive Pull Up mode because the switch input is a Active High input. Figure 5-25. Switch Pin Configuration: General Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 47 Note The pins for VR and SW1 must be reassigned to any other free GPIO when using port A' and port B. This is because P0_2 pin used in both code examples for VR and SW1, is used for common lines. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 48 Code Examples CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 49: Appendix

    Appendix Schematic CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 50: Board Layout

    Board Layout A.2.1 PDCR-09571 Top View A.2.2 PDCR-09571 Bottom View Note See the Hardware folder in the kit CD for schematic and layout PDF files. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 51: Bom

    CY8CKIT-029 has been tested and verified to comply with the following electromagnetic compatibility (EMC) regulations. CISPR 22 - Emissions ■ EN 55022 Class A - Immunity (Europe) ■ CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...
  • Page 52 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *I...

This manual is also suitable for:

Psoc cy8ckit-029

Table of Contents