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 - pradeepsysargus

Pages: [1]
1
Character LCDs / Re: I2C slave address for LCD NHD-C0220BIZ-FS(RGB)-FBW-3VM
« on: February 18, 2017, 06:30:48 AM »
The problem is now solved, the slave address is just 0x78 only.

The problem is that, I need to send each command to the LCD module separately using the function: HAL_I2C_Master_Transmit().

I posted the solution at the following url as a reply to the main post: Please read the complete post to get an understanding of it if u wish.
https://community.st.com/thread/28843

Thanks,

2
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.

Thanks,

3
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.

Thanks,
Pradeep Ch.

Pages: [1]