Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ARM] Can STM32F107 drive KS0108 or HD47780 directly ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Visit site
Activity points
9,442
Guys,
I want to use 16x2 or 128x64 LCD with STM32F107, is it possible ?
Can STM32F107 drive KS0108 or HD47780 directly ?

Any ideas ?
thanks
 

Hi,

The ST chips datasheet says it I/Os are rated at Standard TTL and CMOS loads so no problem there, but the voltage level could be a problem.

If the ST is run at 3.3 /3.6v technically that should produce a '1' on a 5V LCDs input, however thats not a certainty, though I would try it first.
If not then there are several low to high voltage converters you could use, the CD40109 for one such device.

Wonder why you want to use the old KS0108 ( library available ?) when there are so many good and low priced modern SPI GLCDs around
 

If you are using uni directional communication with the display then you can use any 74HCT logic gate with 5v supply like for example 74HCT244.
The HCT series use TTL levels so anything above 2v is considered high and will give 5v to the output and anguishing below 0.8 a low level

On the other hand if you want bi-directional communication then you can use a mosfet for each line like shown https://delphys.net/d.holmes/hardware/levelshift.html

The complete schematic (for 8bit) looks like

LCD_level_shift_pullup_2001-03-08-00_1655x1234.gif
 

can I use 74HCT244 for 3.3V (MCU) and 5V LCD ? or 74HCT245 ? I tried to connect directly, there's a response but not stable...sometimes on sometimes off...
thanks
 

if the communication direction in only one way, from mcu to display then the 74HCT244 will work fine but the 74HCT245 is a transceiver, if you use it with direction from display to mcu it will fed the mcu with 5v and damage it
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top