- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in my previous sample discussion below,
I received a question/request for CY8CPROTO-063-BLE.
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.
Then LCD displayed
Schematic
Pins
moto
- Labels:
-
CharLCD
-
ispn:40049:1:0
-
l1:314:1:0