Cypress Perform

Home > Support
support.cypress.com     Bookmark and Share
Support

Knowledge Base Article



LCD_Seg Component Error with PSoC 5 LP - KBA85435

Last Updated: 01/03/2013

Question: When I try to convert the code examples provided with the CY8CKIT-029 from PSoC 5 TM (CY8C5568AXI-060) to PSoC 5 LP (CY8C5868AXI-LP035), I get the following error:


“The SegDisplay component (LCD_Seg) is not supported for the PSoC 5LP architecture. The Segment LCD component should be used instead.”


Answer: The two devices use different components. PSoC 5 TM devices use the LCD_Seg component. PSoC 5 LP devices use the SegLCD component. You need to replace the LCD_Seg component with the SegLCD component in your project.


  1. Delete the SegDisplay component in your project
  2. Navigate to the Firmware directory:
    <install_directory>:\CY8CKIT-029A\<version>\Firmware
  3. Open the following example project file:
    LCD_Seg_Example1_Battery_Meter_<<kit>>.cywrk
    <<kit>> = 009A, if your application uses -010 module
                  = 030, if your application uses -050 DVK
  4. Copy the SegLCD component from the example project file and place it in your project
    The SegLCD pinout of the 009A and 030 kits match, so you don’t need to alter them in the CYDWR file
  5. Build the project

The project should now build without errors or warnings.


You can also eliminate this error by placing the Segment Display component from the Display folder in the Cypress Component catalogue. This involves a significant amount of work. You have to create the SegLCD component again from scratch and modify the pixel names in the Display helpers tab to match the values in the following table:


# Segments in SegLCD Component PSoC Creator Segments in Golden View Display LCD, GV13956A
1 A A
2 B B
3 C C
4 D D
5 E E
6 F F
7 G G
8 H P
9 I J
10 J K
11 K L
12 L R
13 M N
14 N M

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 





Provide feedback on this item to help us improve:

How likely are you to recommend this article to a friend or colleague?

Not at all likely
0
1
2
3
4
5
6
7
8
9
10
Extremely likely

Was this item helpful?
Yes
No
Maybe


Additional comments:

Email:

Sunset Owner: SASH; Secondary Owner: RKAD; Sunset Date: 07/02/13