Cypress CY8CKIT-029 PSoC Manual

Lcd segment drive expansion board kit
Hide thumbs Also See for CY8CKIT-029 PSoC:

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Cypress CY8CKIT-029 PSoC

  • Page 1 ® CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide Doc. # 001-55415 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com [+] Feedback...
  • 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

    5.1.5.1 LCD_Seg ..................22 5.1.5.2 ADC_DelSig..................26 5.1.5.3 VR ....................26 Example Project 2: LCD_Seg_Example2_StopWatch ..........27 5.2.1 Project Description ..................27 5.2.2 Running the Example Project.................28 5.2.3 Hardware Connections...................28 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 4 5.2.5.5 Clock_SW..................36 A. Appendix Schematic........................39 Board Layout ......................40 A.2.1 PDCR-09571 Top View.................. 40 A.2.2 PDCR-09571 Bottom View ................40 BOM ......................... 41 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 5: 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 6: Getting Started

    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. *B [+] Feedback...
  • Page 7: 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. *B [+] Feedback...
  • Page 8: Install Hardware

    2. PSoC Programmer 3.10 Note When installing PSoC Programmer, select Typical on the Installation Type page. 3. Example Projects (provided in the Firmware folder) CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 9: Kit Operation

    Connect the MiniProg3 to a host PC USB high speed port using a USB cable. The connections for steps 1 to 3 are shown in Figure 3-1. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 10 PSoC devices. 4. Click on the example project, LCD_Seg_Example1_Battery_Meter located in Kits and Solutions on the startup page of PSoC Creator. Figure 3-2. Startup Page CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 11 Figure 3-5. Programming Successful 9. Reset the device by pressing the switch SW4 on the DVK. Refer to the following figure. Figure 3-6. Reset CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 12: Hardware Connections

    Connect the analog input from the potentiometer (VR slot in CY8CKIT-001 DVK) to the P0_2 on the DVK, as shown in Figure 3-8. Figure 3-8. VR Connected to P0_2 on CY8CKIT-001 DVK CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 13: Verify The Output

    Vary the VR (Potentiometer) and note the change in status displayed on the LCD. Figure 3-10. Verifying Output of Battery Meter Project Note The best viewing angle is from 6'O Clock, as per the LCD glass characteristics. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 14 Kit Operation CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 15: Hardware

    40-pin (20x2) 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. *B [+] Feedback...
  • Page 16: Functional Description

    Description Battery charge indicator bars Wireless symbol Alarm display 7 segment numeric section Medical symbol 14 segment alpha numeric section 4.2.1.1 Pixel Mapping Table CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 17: 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 18 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. *B [+] Feedback...
  • Page 19: Power Supply

    Figure 4-5 for these settings. Figure 4-5. Disable Debugging Power Supply The kit gets the power from the CY8CKIT-001 DVK through the 40-pin (2X20)connector. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 20 Hardware CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 21: Example Projects

    Hardware Connections on page 12 for details on hardware connections. 5.1.4 Verifying Output Vary the VR (potentiometer) and note the status changes displayed on the LCD. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 22: Psoc Creator Project Details

    0 and 127 with 127 corresponding to the maximum contrast level. The frame rate is selected to be the maximum rate before the characters in the display begin to reduce in contrast. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 23 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. *B [+] Feedback...
  • Page 24 Example Projects Figure 5-6. Six Character Helper for 16-Segment Display CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 25 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 example projects. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 26: Adc_Delsig

    The VR pin is used to read the analog value from the potentiometer. The Pin Drive mode is config- ured as High-Z, which is the default value. Figure 5-9 Figure 5-10 shows the port pin setting. Figure 5-9. VR Configuration: Type Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 27: Example Project 2: Lcd_Seg_Example2_Stopwatch

    This example project implements a stopwatch using RTC component in PSoC Creator. The values hours, minutes, and seconds (HH:MM:SS) are displayed on the 14 segment display of the LCD. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 28: Running The Example Project

    ■ Connect the input from the mechanical switch SW1 of DVK to port pin P0_2 on the DVK as ■ shown in Figure 5-12. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 29: Verifying The Output

    The mechanical switch SW1 on the DVK is used to start, stop, and reset the stopwatch. The ■ switch sequence is shown Figure 5-14. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 30: Psoc Creator Project Details

    00.00.00 (HH.MM.SS). 5.2.5 PSoC Creator Project Details Figure 5-15. PSoC Creator Top Level Design for StopWatch Project CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 31: Lcd_Seg

    128 segments LCD using 8 common lines and 16 segment drive lines. Figure 5-16. Segment LCD Configuration: Basic Tab Figure 5-17. Segment LCD Configuration: Driver Power Settings CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 32 Example Projects Figure 5-18. Six Character Helper for 16-Segment Display CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 33 Example Projects Figure 5-19. 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. *B [+] Feedback...
  • Page 34: Real Time Clock (Rtc)

    Figure 5-20. RTC Component Basic Configuration 5.2.5.3 Status Register Status register is used to store the status of the switch which is read in the firmware. CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 35: Sw_Sample_Clock

    The clock component of PSoC Creator is used to sample the switch at the frequency of 500 Hz. Figure 5-22. Clock Component Configuration: Configure Clock Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 36: Clock_Sw

    This is a digital port component used to read the pin status. It is configured as "Input" port. Figure 5-23. Switch Pin Configuration: Basic Tab Figure 5-24. Switch Pin Configuration: General Tab CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 37 To use P1_7, modify as shown here: /* Write '1' to input switch port pin, P1.7 for enable resistive pull up CY_SET_REG8 (CYDEV_IO_PRT_PRT1_DR, 0x80); CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 38 Example Projects CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 39: Appendix

    Appendix Schematic CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 40: Board Layout

    Board Layout A.2.1 PDCR-09571 Top View A.2.2 PDCR-09571 Bottom View CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 41: Bom

    M24C02-RMN6TP 2 KBIT SO-8 Install at the bottom of PCB as close to the corners as possible BUMPER Richco Plastic Co RBS-3R WHITE.500X.23 SQUARE CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...
  • Page 42 CY8CKIT-029 PSoC LCD Segment Drive Expansion Board Kit Guide, Doc. # 001-55415 Rev. *B [+] Feedback...

Table of Contents