Author Topic: NHD-C0216CZ-FSW-FBW-3V3  (Read 2197 times)

ericdeyoung19

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
NHD-C0216CZ-FSW-FBW-3V3
« on: January 11, 2016, 08:27:43 AM »
I am having trouble getting this screen to acknowledge my I2C commands.  I have tried two PCBs with different screens and verified signals, but I still can't get the LCD to acknowledge a command - not even the I2C address (which should be 0x7C according to the datasheet).  The additional data below is only while trying to get an acknowledgement from the screen when writing the address to the device.  My current code is as follows:

LCD_RESET_LOW;
_delay_ms(2);
LCD_RESET_HIGH;
_delay_ms(20);
   
LCD_SELECT_INSTRUCTION;
TWI_start();
LCD_write(LCD_ADDRESS);
TWI_stop();

_delay_ms(10);


I have verified that pin 7 is at 3.3V, RST is fixed at a high level, RS is fixed at a low level, and you can see the CS line, SCL line, and SDA line in the oscilloscope shot.  Just to be sure that the pinout is correct, when looking at the back of the screen, pin 1 is on the left side.

When powered up, should the C+ and C- pins be switching at all by default?  What level should VOUT be after a reset condition?

Thanks!


Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 362
  • Karma: 10
    • View Profile
Re: NHD-C0216CZ-FSW-FBW-3V3
« Reply #1 on: February 11, 2016, 08:07:54 AM »
Solved by Email.

This is an SPI display, I2C commands will not work.

Felix

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: NHD-C0216CZ-FSW-FBW-3V3
« Reply #2 on: February 12, 2016, 08:42:36 AM »
How does the spi mode works? I can't find enough information in the datasheet.
« Last Edit: February 22, 2016, 09:00:36 AM by Felix »

 

NHD‐C0216CZ‐FSW‐FBW‐3V3

Started by AJS@UltraClenzBoard Character LCDs

Replies: 1
Views: 2509
Last post September 08, 2014, 09:22:04 AM
by Michael_L
NHD-C0216CZ-NSW-BBW-3V3 Voltage booster Capacitor Voltage

Started by GeoffStateBoard Character LCDs

Replies: 2
Views: 3167
Last post November 16, 2014, 09:34:14 PM
by GeoffState
NHD-C0216CZ-FSW-FBW Serial Interface RS line question

Started by joestaudtBoard Character LCDs

Replies: 4
Views: 3107
Last post May 11, 2015, 09:34:29 AM
by Michael_L
MOVED: interfacing NHD-C0216CZ-FSW-FBW-3V3 with msp430

Started by Saurabh_BBoard Newhaven Engineering Projects

Replies: 0
Views: 1095
Last post April 10, 2017, 08:09:28 AM
by Saurabh_B
NHD-C0216CZ-NSW-BBW-3V3 Interface Voltage

Started by NimrodBoard Character LCDs

Replies: 2
Views: 2434
Last post March 03, 2016, 07:03:02 PM
by perky