Hi guys! I'm currently working on a project and I need to use a LCD display (the one I got is the 2004a) that component uses a expander for I2C-bus (PCF8574T), but I have some problems making it work. I'm using the CY8C588LTI-LP097 PSoC 5LP. My top design includes an I2C and an I2C LCD component but I doesn't work. I have tried to use the I2C LCD example but I couldn't make it work. Any kind of help will be much appreciated.

PS: I attached the bundle of my project and the datasheets of both the 2004a and the PCF8574T.

I enter the value "0x4e" in the "Default I2C Address", which appears to be the correct value but I when I enter any command the display goes off. The ClearDisplay function turns off the display and don't clear the display for example, the putc and putstring functions don't work at all. What could be the problem?

It seems your 2004A LCD Display is using a ST706x (google search) on-board controller which is not directly compatible with the I2C_LCD component when used with its default parameters tuned for a NXP-like PCF21119x controller.

I guess you have to match the basic commands using option "Custom Format", but I've never used it. See if there's an example project to help you do so.

Yes that's correct! That happens because I changed the command size to 1 and apparently that causes that error (as you can see in the attached image in my previous post). I starting to thing that the I2C LCD component is not design to work with my 2004LCD and specially the PCF8574.