You are here

Adding LCD library for PROC BLE | Cypress Semiconductor

Adding LCD library for PROC BLE

Summary: 27 Replies, Latest post by prito khatri on 29 Dec 2016 02:34 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
prito khatri's picture
User
15 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
9831 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
15 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
9831 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
15 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
9831 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
15 posts

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

How to proceed further

user_1377889's picture
User
9831 posts

Use an LCD that has got an I2C interface.

 

Bob

prito khatri's picture
User
15 posts

Hi, 

Can I create a LED blink project without using any GPIO Port output component in Topdesign.cysch file.

Every configuration will be done from software side.

 

user_1377889's picture
User
9831 posts

Why should you? Read the "Registrer TRM"

 

Bob

prito khatri's picture
User
15 posts

Hi,

As mentioned in my earlier post I have Proc BLE custom board with 16*2 LCD mapped to multiple ports. The Proc ble doesnot support

multiple port LCD. There is no option for I2C support LCD from the h/w also.

Hence it was suggested to create your own custom LCD library and include LCD.h in the application project

There will be no drag and drop component in topdesign.cysch file,Same I did but nothing is displayed on the LCD.

Any example project from your side will be of great help.Is it really posble to create a project without using any predefined components

Log in to post new comments.