EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
LCD interface direclty using SPI
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: LCD interface direclty using SPI (Read 1834 times)
0 Members and 1 Guest are viewing this topic.
Ravi Kumar S
Newbie
Posts: 6
Country:
LCD interface direclty using SPI
«
on:
November 09, 2021, 07:15:07 am »
Hi,
I'm trying to interface monochrome LCD with microcontroller directly using SPI line. I saw this method used in a schematic, but i didn't understand how does it works. please help me with this problem. LCD pinout and controller pin mapping is attached
controller-pic24F
Logged
Ravi Kumar S
Newbie
Posts: 6
Country:
Re: LCD interface direclty using SPI
«
Reply #1 on:
November 09, 2021, 07:17:18 am »
i'm sorry i missed LCD pin mapping image
Logged
IDEngineer
Super Contributor
Posts: 1926
Country:
Re: LCD interface direclty using SPI
«
Reply #2 on:
November 09, 2021, 07:35:58 am »
Many LCD controllers offer both parallel and SPI interfaces. When using SPI, one or more of the parallel data bits becomes MOSI, SCLK, etc. You need to consult the specific LCD controller spec sheet to learn how to put it into SPI mode.
Logged
SiliconWizard
Super Contributor
Posts: 14481
Country:
Re: LCD interface direclty using SPI
«
Reply #3 on:
November 09, 2021, 05:08:55 pm »
So giving us the reference of the LCD controller would have been more useful here to help you than giving us the pin map.
Logged
rpiloverbd
Regular Contributor
Posts: 157
Country:
Re: LCD interface direclty using SPI
«
Reply #4 on:
December 01, 2021, 09:46:17 am »
Hello, Would you please mention which LCD controller you are using?
Logged
jpanhalt
Super Contributor
Posts: 3479
Country:
Re: LCD interface direclty using SPI
«
Reply #5 on:
December 01, 2021, 12:08:28 pm »
Yes, knowing the display controller is essential. I am currently using a Sitronics ST7567A GLCD, which takes SPI and is very quick.
https://www.crystalfontz.com/controllers/Sitronix/ST7567A/
The only problem is that with that interface you cannot read the display, e.g., the ready bit or anything else, so I use a buffer.
Logged
Ground_Loop
Frequent Contributor
Posts: 645
Country:
Re: LCD interface direclty using SPI
«
Reply #6 on:
December 01, 2021, 11:23:02 pm »
My 4x20 lcds have a similar pin out. I use a 16 bit shift register to convert the serial data and command string to parallel. Of course this is optimally done with 16 bit SPI.
Logged
There's no point getting old if you don't have stories.
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
LCD interface direclty using SPI
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee