You are here

CHAR LCD in PSoC 5 is not working anymore | Cypress Semiconductor

CHAR LCD in PSoC 5 is not working anymore

Summary: 29 Replies, Latest post by bobgoar on 15 Apr 2016 09:05 PM PDT
Verified Answers: 1
Last post
Log in to post new comments.
mromero's picture
User
12 posts

I made a program for psoc 5 where i used the char lcd, and was working fine, then i made some modifications and everything but the LCD worked. i made a new program that print a simple hello message and it didn´t work, i try changing the port and the lcd and nothing happened. i exported the hello program to psoc  and it worked fine. 

anybody have an idea of whats going on.

 

thanks.

 

user_242978793's picture
User
1030 posts

Please send your program so we can check it.

mromero's picture
User
12 posts

of corse, but the program couldn't be simplier :

#include <project.h>
int main()
{
//    CyGlobalIntEnable; /* Enable global interrupts. */
    LCD_Start();
    LCD_Init();
    LCD_Position(0,0);
    LCD_PrintString("Hola");
    for(;;){

    }
}

user_242978793's picture
User
1030 posts

I want to try it on my setup to see if it is wired correctly and your code is correct. You need both LCD_Start() and LCD_Init() is done in the LCD_Start() so it is not needed. You only need LCD_Start().

mromero's picture
User
12 posts

i try with and without the init() i didn´t work the conections are correct the same code works in a psoc 4

user_242978793's picture
User
1030 posts

Are you using a PSOC 5 LP kit?

 

user_242978793's picture
User
1030 posts

Here is a program that puts some data on the LCD screen. Hope it helps.

mromero's picture
User
12 posts

im using thhe prototping kit for psoc5lp

user_242978793's picture
User
1030 posts

Did my program work? Please send a pin out of the connections to the LCD module so I can check it.

 

user_242978793's picture
User
1030 posts

Here is the Pin out for the LCD device.

mromero's picture
User
12 posts

thanks for the program but it didn´t work, im buying a new kit to see if it is damaged

Log in to post new comments.