Skip to main content
deep ch
Associate
December 25, 2017
Question

LCD interfacing with SPI Communication

  • December 25, 2017
  • 7 replies
  • 2241 views
Posted on December 25, 2017 at 15:52

Hello All,

I would like to understand the LCD Interfacing with the SPI Communications.

Fo LCD,

I Think it would be a one communication.

I am using STMCUBEMX

I am assigning few pins to the others like usb-Device n usb Host.

Controller I am using : STM32F417IH6-176PINS

in that case, for lcd interfacing it shows only the

1)Half duplex Slave

2)receive only master

in above case, will which option I will have to select to send the String to the LCD.

Or do you have any idea.

Regards

Deep

#lcd-interfacing #stm32f417ih6 #spi-communication
This topic has been closed for replies.

7 replies

T J
Senior III
December 25, 2017
Posted on December 25, 2017 at 21:23

there are so many options for the 176pin package...

you can select a different SPI ports to use different pins and have full functionality.

deep ch
deep chAuthor
Associate
December 26, 2017
Posted on December 26, 2017 at 04:49

For the LCD to operate on the SPI.

Does it needs full duplex communication or Half duplex from the Master..?

What configurations it requires..?

Tesla DeLorean
Guru
December 26, 2017
Posted on December 26, 2017 at 18:14

Review the documentation for the LCD, it should explain the expectations. Got no idea here what you are using.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
LMI2
Senior III
December 28, 2017
Posted on December 28, 2017 at 19:24

I once used a cheap display from China where read/write was hardwired as write only. It was on Arduino where they got libraries for the LCD. So, sometimes, you have to forget read modify write and so on.

Harvey White
Senior III
December 28, 2017
Posted on December 28, 2017 at 20:14

Arduino shields and designs want to minimize pin count at all costs.  Hardwiring to write is frequent (and less than helpful, at least put in a jumper to give you a choice!).

The St7735R chip is designed not to have a read function when in serial mode.  It is used in either SPI or parallel mode (I suspect, mostly).  However, the Chinese display board makers have these only rarely in parallel mode, and generally in I2C or SPI mode.