6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 12:06 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: 6502 friendly LCD module
PostPosted: Mon Dec 17, 2012 4:09 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
Looking at what ebay offers I stumbled across this:
http://www.ebay.com/itm/370677559036
It is cheap, and it even offers touch interface. As for the technical part, it has an onboard LCD controller. I googled it a bit and I found out that the SSD1289 chip on the module has lots of options on how it is being interfaced. One of them is the 6800 bus, and that means that it could be directly accessed by a 6502!

Hackaday article:
http://hackaday.com/2012/07/05/library-for-driving-ssd1289-lcd-displays-with-small-microcontrollers/

Datasheet:
http://www.kosmodrom.com.ua/el/STM32-TFT/SSD1289.pdf

Since it is so cheap, I was thinking that I could maybe buy it and thinker with it a bit.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 17, 2012 5:28 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
Specifications:
http://www.icstation.com/ebay/3.2%20TFT%20LCD.zip

They are a bit confusing, and I can't figure out if the data interface is 5V tolerant or not.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 17, 2012 5:36 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
This is what google translate gives me when i try to translate the Chinese document:
Code:
3.2-inch TFT
http://ttmcu.taobao.com
The test program wiring instructions:
The code testing environment: JME-core board the STC microcontroller instruction cycle +1 T (51 cores
STC12LE5A60S2) +33 the M crystal MCU operating voltage 3.3V
The program default IO connections:
The Line of Control: RS-P3 ^ 5; WR-P3 ^ 6; RD-P3 ^ 7; CS-P1 ^ 0; REST-P1 ^ 2;
Data line: DB0-DB7 in turn connected P0 ^ 0-P0 ^ 7; DB8-DB15 turn connected to P2 ^ 0-P2 ^ 7;
The touch function connection: (do not use touch from time to connect)
D_CLK-P1 ^ 7; D_CS-P1 ^ 4; D_DIN-P3 ^ 0; D_OUT-P3 ^ 1; D_PENIRQ-P3 ^ 4;
* /
● TFT power: the screen power supply 2.8-3.3V; remember not to use 5V
(With the PCB module has inherited 3V regulator IC can enter 5V)
● backlight power supply (LED_A pin): backlight power maximum 3.2V
(Series 200 ohm resistor in series 20 ohm current limiting resistor or 5V 3.3V supply).
● data port level: in theory, can not let the data port level exceeds 3.3V, 5V microcontroller If you must use
The IO connection data bus, because tft internal voltage clamp, with can be used, however always is not standardized.
Experiment can do sample testing, bulk products, best to improve product stability,
Low-voltage microcontroller or add a level conversion IC.


The text is a bit confusing, but it seems data lines must be 3.3V, but what about power supply?


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 18, 2012 10:47 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I contacted the guy from the Hackaday article, and hopefully talking to him will help figuring out this module.
Since it is rare to find such a module so cheaply, I went on and I ordered it, so Ill be posting more about it when I get it.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 13, 2013 10:15 pm 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 1043
Location: near Heidelberg, Germany
Do you have any update on this? I am also looking for a cheap LCD with touch to connect to a 6502.... (although I'd like to go a bit larger, say 5")

_________________
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 13, 2013 11:07 pm 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
I ordered it, but I am still waiting for it to arrive.


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 01, 2013 12:42 am 
Offline

Joined: Sun Jan 13, 2013 11:13 am
Posts: 10
I wouldn't necessarily call these modules 6502 friendly however they seem a decent bet to get color graphical output on to a 6502 based project. These kinds of modules are available fairly cheaply off eBay up to around 7-8" size and up to around 800x480, the difficulties I see are 1. level conversion to 3.3v I/O, and 2. driving their controller chips, generally Epson SSD1963 and the like.

I think an easier way than trying to make a 65-series chip drive one of these directly might be to use an AVR. Arduinos can drive these displays with a level converter shield and there is already a library of software for doing text and graphics primitives. The LCD can actually be mapped into the AVR's address space on an ATMEGA 128/1280/2560 and these chips can also be run at 3.3V. Being 5V tolerant, they might also serve to do level conversion.

I've been thinking about trying something like this and I have an ATMEGA128l breakout on order, but I am new to AVRs (as opposed to being only mostly new to 65xx) and was wondering if anyone else had considered this combination?


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 01, 2013 1:52 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
tet00, current-production 6502's are spec'ed from 1.2V to 5V, and I think several people here are running them at 3.3V. There are various simplish ways to convert the voltages anyway like with 74LVCxx although of course it's much easier if you have a synchronous serial interface (like SPI) so there aren't so many lines to do, and each one is unidirectional. I don't see it as being any problem at all.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 01, 2013 10:02 am 
Offline

Joined: Sat Jul 28, 2012 11:41 am
Posts: 442
Location: Wiesbaden, Germany
tet00 wrote:
...on an ATMEGA 128/1280/2560 and these chips can also be run at 3.3V. Being 5V tolerant, they might also serve to do level conversion.

They are not 5V tolerant if they run at 3.3V. The usual clamping diodes limit the voltages on any input pin except reset & xtal1 to .5V above or below the operating voltage.

_________________
6502 sources on GitHub: https://github.com/Klaus2m5


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 02, 2013 2:26 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
tet00 wrote:
I wouldn't necessarily call these modules 6502 friendly however they seem a decent bet to get color graphical output on to a 6502 based project. These kinds of modules are available fairly cheaply off eBay up to around 7-8" size and up to around 800x480, the difficulties I see are 1. level conversion to 3.3v I/O, and 2. driving their controller chips, generally Epson SSD1963 and the like...

I've used a Newhaven Display with the SSD1963 controller IC, except it's made by Solomon Systech. The IC has a pin to set it to 65xx mode or 80xx mode.
I've used their 7" 800x480 display with the WDC65C02 in a project I've posted here somewhere, running Arlet's softcore 6502 @38MHz using a Spartan 3. I've also used their 640x480 display. I had that hardware successfully running @20MHz with external 10ns asynchronous RAM and a WDC65C02. System volts @3.3V. BTW ~ 40MHz is the fastest these display can go.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: