- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am new to PSoC 5. Im trying to interface a 16x2 5v lcd with backlight with psoc. ive assigned port 3 to lcd and programmed the example program-"LCD with Custom fonts".
But the display is not working. I have checked all the connections and they are perfect. LCD module is also working as i had it checked with other circuit.
Please help.
Thank you
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default the example program use port 2. Did you change that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes. i have designed a pcb to connect with port 3. so i changed it. however it should work right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
P3.2 is connect C7 = 1,0nF capacitor on the board Kit-059, you must remove it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. i shall try it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I know this thread was posted several years ago but I think I am running into the same issue you were.
Do you possibly remember how you removed these capacitors that were defaulted to the PSoC pins you used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this board your design or is it a PSOC CY8CKIT-059 PSOC 5lp Prototyping kit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it is the prototyping kit. I have designed my board as per its pinouts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Logical Port Pin LCD Module Pin Description
LCDPort_0 DB4 Data Bit 0
LCDPort_1 DB5 Data Bit 1
LCDPort_2 DB6 Data Bit 2
LCDPort_3 DB7 Data Bit 3
LCDPort_4 E LCD Enable (strobe to confirm new data available)
LCDPort_5 RS Register Select (select data or control input data)
LCDPort_6 R/!W Read/not Write (toggle for polling the ready bit of the LCD)
Don't forget the 10K pot on pin 3 wiper and +5V and Ground across the Pot. My program uses port 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your response..I have removed the on board capacitor as pavloven said, in port3 and connected LCD to it. Now its woking !!..Thank you pavloven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bypass capacitors are present on all boards.
Here are a few that I was able to briefly see:
CY8CKIT-042: P1.7(C10) P4.2(C1) P4.3(C9)
CY8CKIT-049-42xx: P1.7( C3) P4.2(C2) P4.3(C11)
CY8CKIT-050: P0.2(J43) P0.4(J44)
CY8CKIT-059: P0.2(C12) P0.3(C13) P0.4 (C9) P3.2(C7) P5.4(C4)
I'm glad I could help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes..!!..Thank you once again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I know this thread was posted several years ago but I think I am running into the same issue you were.
Do you possibly remember how you removed these capacitors that were defaulted to the PSoC pins you used?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The best way is to remove it with a soldering iron and leave it on the board for recovery.
You can crush / break / chop these elements mechanically.
The material is fragile ceramic.
This method is extremely undesirable - it’s wiser to change the contacts in your project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had the same issue, and I have a resolution:
I want to use a Newhaven Display 4x20 LCD (NHD-0420E2Z-FSW-GBW).
So I wired it up according to the Character LCD component, and it did not work.
I removed a different LCD from a working device, plugged in the Newhaven, and it worked, so the display was good.
Eventually, I saw a note about the capacitors, as above.
Instead of removing the capacitor, I tried the display on all the available ports on the KIT-059.
The net result is that the display works when connected to ports 2 and 12.
It does not work when connected to ports 0, 1, and 3.
Port 15 has 6 pins, where you need 7.
Port 1 gave this error message on BUILD:
Fit.M0006:Pin Error: (P1[3] has been reserved for SWD Debug in the DWR settings.).
Fit.M0050: The fitter aborted due to errors, please address all errors and rebuild.
The above named display works fine. The KIT-059 and the display are powered via USB from computer.
To safely remove the capacitors, if that is what you want, try SMD1 from Chip Quik Inc
SMD1 Chip Quik Inc. | Soldering, Desoldering, Rework Products | DigiKey
you-tube video SMD Removal using a Chip Quik kit - YouTube
i have used it on a few small SMD, and to help remove power and ground pins from through hole parts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just downloaded the SW to the -059 kit, and the LCD is off ( ANY POSITION ON THE POT).
I did the connection wiring on the following way:
- P2[7] to lcd pin 5 (R/W)
- P2[6] to lcd pin 4 (RS)
- P2[5] to lcd pin 6 (E)
- P2[4] to lcd pin 14 (D7)
- P2[3] to lcd pin 13 (D6)
- P2[2] to lcd pin 12 (D5)
- P2[1] to lcd pin 11 (R/W)
LCD VSS PIN TO GROUND (EXTERNAL POWER SUPPLY), JOINED WITH GND PIN ON -059 KIT
LCD VDD PIN TO 5 V (EXTERNAL POWER SUPPLY)
LCD VO PIN TO A POT MID POINT.
PLEASE LET ME KNOW WHAT I DID WRONG...
THANKS IN ADVANCE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you have connected the LCD to port 2, 1-7
P2[1] should go to D4, not R/W
Did you assign the pins P2[1:7] to the LCDPort ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi LaAd_404866:
Thanks for your feedback.
You are right there is a typo on my previous email "- P2[1] to lcd pin 11 (R/W)" but it was finally connected as you mentioned " P2[1] to lcd pin 11 (D4)". Sorry for the missunderstanding.
I associated LCD to port2, 1-7 on DWR Windows as shown pn next picture. Is this correct?.
Thanks for the help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Everything is correct and it works.
Do you see black squares on the screen when you turn it on?
LCD VSS PIN TO GROUND
LCD VDD PIN TO 5 V (not 3.3V)
LCD VO PIN TO A МАХ(MIN) POINT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good morning Pavlov: now it Works, thanks for the help¡¡¡
De: Evgeniy Pavlov <community-manager@cypress.com>
Enviado el: martes, 1 de diciembre de 2020 20:21
Para: Elias Algaba, Jose Felix <elias.albaga@itpaero.com>
Asunto: Re: - Interfacing 16x2 LCD with PSoc5LP Kit-059
<http://www.cypress.com>
Cypress Developer Community <https://community.cypress.com/?et=watches.email.thread>
Interfacing 16x2 LCD with PSoc5LP Kit-059
reply from Evgeniy Pavlov<https://community.cypress.com/people/EvPa_264126?et=watches.email.thread> in PSoC 5LP MCU - View the full discussion<https://community.cypress.com/message/267833?et=watches.email.thread#267833>