cancel
Showing results for 
Search instead for 
Did you mean: 

Code Examples

MotooTanaka
Esteemed Contributor

Hi, in my previous sample discussion below,

I received a question/request for CY8CPROTO-063-BLE.

https://community.cypress.com/t5/Code-Examples/CharLCD-Sample-for-PSoC-6-CY8CKIT-062-BLE/m-p/268325#...

IMG_4946.JPG

At first I was expecting that it should be only a matter of retargeting the device and reassign of the pin.

Well, yes, it was supposed to be so, but there were a few more hurdles to overcome.

(1) We must use 3.3V version of the LCD display

(2) Since the LCD display requires some time to come up, I needed to add wait(delay) before initializing the LCD

(3) As the MSB bit of LCD interface, namely DB7 is a bidirectional pin, if the data sent has  1 in nibble-msb, 

      my program halts. This happens when "print Hello" was tested, as H is 0x48 and the  second nibble 8 is 4'b1000. 

     and the MSB of that nibble is high. orz

(1) and (2) were somewhat trivial, but I spent a few hours struggling with (3).

So I decided to post this sample as another code example here 😉

 

When started, after a few seconds the program displays

CLCD Test

in the LCD display.

Then from Tera Term,  I entered as below

Note: In my previous sample, when "print Hello" is entered

the program halted, but this time, it is surviving.

001.JPG

Then LCD displayed

IMG_4947.JPG

 

Schematic

002-schematic.JPG

Pins

003-pins.JPG

 

moto

 

1 Reply
theaaronm
New Contributor II

Thank you so much for creating this project for the CY8CPROTO-063-BLE board. It was extremely helpful!

 

Thanks,

Aaron