Author Topic: Can't get NHD-12232KZ to work with STM32  (Read 156 times)

pcbguy1

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Can't get NHD-12232KZ to work with STM32
« on: November 18, 2017, 01:05:00 PM »
Hi,

I purchased one of these displays for a project that I'm working on and it's proving to be difficult to get it to work nicely with an STM32. I'm using SPI to send the data to an 8-bit shift register whose outputs are routed to the LCD's data pins. I looked at the data sheet and confirmed the timing for a 3.3V system, and tried translating the example code given to the STM32, but to no avail. I tried the code in 6800 mode and in 8080 mode, and both produce no results.

I've confirmed that the hardware lines are functioning correctly and are routed to the correct positions, the shift register outputs the correct data, and the SPI transmission is correct. When the reset button is pressed, the LCD displays a single straight horizontal line, but when I let go of the reset button the line disappears. I double checked all grounds and they're fine.
Are there any details that I may have missed when initializing the LCD?
« Last Edit: November 18, 2017, 01:26:31 PM by pcbguy1 »

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 363
  • Karma: 10
    • View Profile
Re: Can't get NHD-12232KZ to work with STM32
« Reply #1 on: December 05, 2017, 08:13:24 AM »
Would it be possible to show a schematic of how you have the display connected?
Other than the shift register you also have certain control signals that need to be toggled to latch the data.

 

NHD‐12232KZ‐NSW‐BBW‐P Datasheet Confusion

Started by SpiralPBoard Graphic LCDs

Replies: 1
Views: 2080
Last post March 16, 2015, 08:18:33 AM
by Retheesh_M
NHD-5.0-800480TF-ATXL#-CTP why don't typical timing values work?

Started by jkelleherBoard TFTs

Replies: 2
Views: 2787
Last post August 31, 2015, 05:08:45 AM
by jmag999
OLED Character display - Some commands don't work

Started by wedgeBoard Character LCDs

Replies: 1
Views: 3220
Last post July 08, 2014, 09:29:43 AM
by Michael_L
Help Getting ArduinoPro Mini 3.3V and NHD-C12864A1Z-FSW-FBW-HTT to work via SPI

Started by dalemooreBoard Graphic LCDs

Replies: 5
Views: 1514
Last post September 23, 2016, 07:44:35 AM
by Paul_B
NHD-C24064WO-ATFH-3V3 will not work

Started by tbagnerBoard Graphic LCDs

Replies: 2
Views: 1206
Last post January 20, 2017, 06:51:11 PM
by tbagner