Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Beaglebone based LCD driver does not seem to initialize the LCD screen
Post Body

Hi guys.
I am using a beaglebone black, running the default OS on it. I have written a driver to create a device for the LCD JHD162a( clone of HD44780, though the data sheet might vary, which I have pasted below). The driver is written for 4 bit mode LCD operations.
I am powering the LCD's Vcc, ground, backlight and contrast with a 5V power supply(9v through 5v voltage regulator 7805). I see black blocks on the LCD, when I set the contrast.
Now when I bring up my driver(insmod). I dont get anything on the screen when I try to write to the /dev/lcd file that got created when the lcd was brought up.

I have a doubt that the init sequence that I am using might not be correct. Could you please help me out by taking a look at the code and datasheet that I have pasted below. Any guidance would be much appreciated :)

Code: https://pastebin.com/uE64Z6Qw

Datasheet for JHD162a : https://www.rhydolabz.com/documents/display/JHD162A.pdf

Author
Account Strength
60%
Account Age
9 years
Verified Email
No
Verified Flair
No
Total Karma
826
Link Karma
217
Comment Karma
609
Profile updated: 1 week ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 months ago