Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Felix

Pages: [1]
1
Character LCDs / Re: NHD-C0216CZ-FSW-FBW-3V3 problems
« on: March 21, 2016, 01:02:39 AM »
Now we have two problems with command:

Return Home 0x02 is not working.

Set DDRAM address to 0x40 (command 0xC0) is also not working. We can't acces the 2nd line of our display
The solution Shaurab suggested by email was to send the wakeup command (Function Set 0x39) more than once.

After sending five wakeup commands both commands are working.

Regards, Felix

2
Character LCDs / Re: NHD-C0216CZ-FSW-FBW-3V3 problems
« on: March 03, 2016, 01:07:59 AM »
Thanks. I solved it with different timings until it worked. Only then I saw the minimum execution time in the table.

Now we have two problems with command:

Return Home 0x02 is not working.

Set DDRAM address to 0x40 (command 0xC0) is also not working. We can't acces the 2nd line of our display

Our initialisation is:

Function Set:       0x39   2 lines ON, double height font OFF, instruction table 1 (frequency/power/follower control)
Internal OSC frequency   0x14   settings for internal osc frequency
Power Control       0x56   
Follower Control    0x6D
Contrast         0x70   contrast set for internal follower mode
Display on       0x0F   Display, Cursor, Cursor  Position ON
Entry Mode       0x06   cursor moves right, DDRAM address increase
Clear Display      0x01   clears display
Function Set:       0x38   2 lines ON, double height font OFF, instruction table 0 (cursor+display shift, CGRAM adr)

After that the first line is working. But we cant access the 2nd line with 0xC0

Felix

3
Character LCDs / Re: NHD-C0216CZ-FSW-FBW-3V3 problems
« on: February 25, 2016, 07:43:47 AM »
There was im timing issue and sometimes there were more than eight SCLK (9 to 12 ). And that caused the problems when writing commands. Now I can use all the commands successful.

But sending data to the display (RAM) does not work correctly: I always send 4 bytes. But the display shows only one or two oft this letters/numbers.

Is there a minimum time between sending each byte/character to the display/RAM?

Felix

4
Character LCDs / NHD-C0216CZ-FSW-FBW-3V3 problems
« on: February 23, 2016, 09:28:05 AM »
We access a NHD-C0216CZ-FSW-FBW-3V3 over SPI from a FPGA. Because the display does not work I am not sure if I understand the SPI communication correct:

I do it according to the ST7032 datasheet (page 33, 34, 37, 45). And I tried also the commands freom the LCD data sheet page 10.

If I send only one command I have to send only 8 bits? What could be wrong?

Attached is a screenshot of a SPI access (0x0F : Display, cursor and cursor position on)

LCD_DNI ist the RS signal

Felix

5
Character LCDs / Re: NHD-C0216CZ-FSW-FBW-3V3
« on: February 12, 2016, 08:42:36 AM »
How does the spi mode works? I can't find enough information in the datasheet.

6
Character LCDs / Re: R/W signal NHD-C0216CZ-FSW-FBW-3V3
« on: August 31, 2015, 12:50:48 AM »
Thanks for the information.

Felix

7
Character LCDs / R/W signal NHD-C0216CZ-FSW-FBW-3V3
« on: August 28, 2015, 04:07:35 AM »
In the data sheet of the NHD-C0216CZ-FSW-FBW-3V3 (NHD-C0216CZ-FSW-FBW-3V3) there is a column R/W. The signal is used for commands "Read Busy flage and address" and "Read data from RAM".

This pin is on the ST7030 controller. But it is not on the 10-pin interface of NHD-C0216CZ-FSW-FBW-3V3.

Does this mean reading from the display is not possible?

Felix

Pages: [1]