You are here

Adding LCD library for PROC BLE | Cypress Semiconductor

Adding LCD library for PROC BLE

Summary: 7 Replies, Latest post by Bob Marlowe on 01 Dec 2016 01:15 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
prito khatri's picture
User
4 posts

Hi All,

I am trying to develop (16*2) LCD library for Proc BLE, I am using multiport character LCD which is not supported by the device.

 

Hence I would like to have initial help required for building the library

 

user_1377889's picture
User
9583 posts

Welcome in the forum.

Start with the generated filed for the Character LCD component. When everything runs smoothly, take a deeper look into the "Components Author Guide"  (Start -> Cypress -> PSoC Creator 4.0 -> Component Development Kit ->) to see how a component is made.

 

Bob

prito khatri's picture
User
4 posts

Hi,

I have custom board for PROC BLE (CYBLE012012-10) which has multiple port connected to LCD pins, but when I create the project with the above mention device it gives me error charLCDmp not compatible with the device.

So I thought of creating my own library file LCD.h, and add dependencies for this library in my application project.

But my doubt is for other device we have multiple port LCD and we connect respective GPIO pins so how I should do this connection in my application project

 

 

user_1377889's picture
User
9583 posts

"charLCDmp not compatible with the device" The Char LCDmp component needs a Control Register component which is not available in your selected device. I would suggest you to use the CharLCD component and free a complete port for the LCD connection.

 

Bob

prito khatri's picture
User
4 posts

Hi,

Since my LCD is connected as such

D4----P2.6

D5----P2.4

D6----P2.3

D7----P2.2

E-----P1.6

RS-----P1.5

So in these case how shall I use charLCD, Can i make these connection from software level also instead of doing from schematics

 

user_1377889's picture
User
9583 posts

CharLCD connects all signals to a single port so your P2/P1 mix will not work. The CharLCDmp component needs to use a control register which your selected chip hasn't got, so this will not work too.

 

Bob

prito khatri's picture
User
4 posts

Ya I too knew this, But whats the solution for above problem

How to proceed further

user_1377889's picture
User
9583 posts

Use an LCD that has got an I2C interface.

 

Bob

Log in to post new comments.