Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
hemmerling
PostPosted: Sep 09, 2011 - 03:46 PM
Wannabe


Joined: Aug 04, 2011
Posts: 96
Location: Hannover, Germany

Hello,

I took a look at the Studio5 sample project

Monochrome graphic library example for Xplain
http://asf.atmel.com/docs/2.6.1/common/ ... ygen/html/

for the Atmel AVR Xplain boards with ATxmega128A1 8-bit CPU.

I read "This simple example shows how to use the gfx_mono_screen_dump for dumping the LCD screen in XPM file format trough the USART”.
“All AVR devices with a USART can be used. There is no need for the physical LCD to be present to use this function. As this function will only rely on a framebuffer. If using the ST7565R LCD in serial mode a local framebuffer will always be created due to that one can not read data back from the LCD”.

How to connect a monochrome LCD display to Xplain boards ?

Ok this is the ST7565R
http://www.sitronix.com.tw/sitronix/pro ... enDocument

I would be pleased if you tell me
a) Is there any readymade eval board with such a display with this driver ?
b) where to find instructions how to setup the hardware, with such evalboards
c) are there ready made units with display AND the driver chip, which can be easily connected to such an Atmel AVR Xplain board ?
c) a definition of the XPM graphics format - maybe the name of the graphics format is not unique ( there is an Adobe graphics format with that name ) ?!

Sincerely
Rolf

_________________
http://www.hemmerling.com
SCADA Expertness - Quality Intensification for IT + Automation
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Sep 09, 2011 - 03:55 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62354
Location: (using avr-gcc in) Finchingfield, Essex, England

You don't want a chip you want a module. But what an extraordinarily odd way of going about component selection? First you find a software lib then try and find the electronics to match it! Why on earth would you do it that way?

Most people start out by deciding what graphics resolution they need (128x64 is VERY common on AVR for graphic displays). Then you find modules that offer that resolution (perhaps also deciding at the same time if you want a touch interface on top). Then you determine which graphic controller chip is used (99% of the time it's going to be one of KS0108 or T9693) and THEN you go looking for a software lib to support those chipsets. (because they are so common there are loads of software out there for them).

Doing it the other way round and being tied to some odd-ball controller that Atmel just happened to find an example of for some software library is a very very odd way of doing system design.

(apart from anything else ASF is a bit rubbish - it seems to be a triumph of form over function - why on earth is it split over hundreds of directories/files)

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Sep 10, 2011 - 01:06 AM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20390
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

Quote:
why on earth is it split over hundreds of directories/files
Maybe they have created the twin monster brother of Codewarrior?

_________________
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
hemmerling
PostPosted: Sep 10, 2011 - 04:42 PM
Wannabe


Joined: Aug 04, 2011
Posts: 96
Location: Hannover, Germany

Hmmm don´t you like the "packet" concept, as usual in Java ?
Anything which is in a directory, has strong dependencies, i.e. it just compiles together.

Software modules, kept in different directories, must communicate by defined interfaces.

Its just that we are here not just on 32-bit, but also on a 8bit. Remember that some competitors supply evaluation boards with 4KBytes of RAM Smile, so there this concept won´t work, too much overhead.

Sincerely
Rolf

_________________
http://www.hemmerling.com
SCADA Expertness - Quality Intensification for IT + Automation
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
hemmerling
PostPosted: Sep 18, 2011 - 09:00 AM
Wannabe


Joined: Aug 04, 2011
Posts: 96
Location: Hannover, Germany

My brand-new “Atmel AVR XMEGA-A3BU Xplained kit” already has a LCD display on board, with hopefully enough documentation by the ASF sample projects Smile, so I will be satisfied with that for the next time...

Sincerely
Rolf

_________________
http://www.hemmerling.com
SCADA Expertness - Quality Intensification for IT + Automation
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
itai_n
PostPosted: Sep 18, 2011 - 08:52 PM
Rookie


Joined: Jul 19, 2011
Posts: 47
Location: Haifa, Israel

I got one of these. Did not have a problem using it with a serial port in master-spi mode. Used xmega32a4.

I wish they had progmem ==> device DMA!

To display a simple 128x64 logo I created a BW image using GIMP. Stored it as XBM and wrote a little C program to convert it (on the PC) to a format native for the display.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits