CharLCD sample for PSoC 4 (CY8CKIT-149 without sensor wings)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I saw a discussion about using LCD with PSoC 4

https://community.infineon.com/t5/PSoC-4/LCD-interfacing/td-p/352401

And when I ran search in Code Examples, the one I uploaded before was for PSoC 6.

So I hacked a one for PSoC 4. (Assuming HD44780 Char LCD Module)

The discussion asked for CY8C4045AZI445, which I could not find the datasheet,

right now the (seems to be) closest one I have was CY8CKIT-149 (CY8C4147AZI-S475).

So I made a sample project for this board. 

Hopefully it will work with CY8C4045AZI by changing the target device and pin assign.

The top level schematic 

000_connection.JPG

Pins

001_Pins.JPG

In the datasheet of Character LCD

004-CharLCD_Datasheet.JPG

When build and programmed to the device, the LCD shows "LCD_TEST"

IMG_5194.JPG

And Tera Term connected to the com port shows a splash line and a prompt "> "

Typing a string and hit enter key sends the string to the LCD

003_hello.JPG

IMG_5195.JPG

Note: the string "hello world" often gets corrupted,

may be we need to add some delay between letter and letter.

 

moto

 

1 Reply
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

moto-san,

we always appreciate your contribution in IFX community!!

regards