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.

Topics - pradeepsysargus

Pages: [1]
Character LCDs / I2C slave address for LCD NHD-C0220BIZ-FS(RGB)-FBW-3VM
« on: January 27, 2017, 06:22:07 AM »
I am trying to make communication between STM32F4xx and LCD module NHD-C0220BIZ-FS(RGB)-FBW-3VM using I2C protocol.
I am using HAL libraries provided by the ST in this regard and developing in C language.

From the data sheet of the LCD, slave address is given as 0x78.
I am not getting a valid response for the data transfer function call HAL_I2C_Master_Trasmit() from master to slave.
It should return a zero value, while I am getting one value.

In the data sheet on page 6, Fig 5, the slave address is given like 0b01111100, I added 0 at the end because I am writing to the slave.
I tried this address which is 0x7C in HEX.
In one of the arduino codes, the device address is shifted right by 1 bit. 0x78 becomes 0x3C.
I tried all these combinations with no success.

Please update me about this.


We are having a NHD-0216K1Z-FSW-FBW-L.

I wish to understand what CGRAM and DDRAM are for.
Can I use them in the code.?

I have seen the sample code for 8-bit mode in the datasheet. Looks like there is no mention of CGRAM and DDRAM in this code.

Pradeep Ch.

Pages: [1]