Problem with LCD and Atmel

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
Krocky
LCD?
Posts: 4
Joined: Thu Aug 19, 2004 10:50 am

Problem with LCD and Atmel

Post by Krocky »

Hello,

I have a serious problem with the LK 204-25 and the Starterkit STK500 from Atmel.

I wrote an Assemblerprogram for the AT90S8515. It sends the string "Test!" periodically to the UART. When I test it with Hyperterminal on my PC everything is working fine. But when I plug the LCD to the uC-Board nothing happens. So I thought that anything is wrong with the LCD. But
when I test it with Hyperterminal, the LCD works fine too. So I have three working components, but the STK500 doesn't work with the LCD. The Baud-Rate is set to 9600, 8 Databits, no parity, 1 stopbit, no flow-control.
The only thing that happens is that the Cursor on the LCD is a little bit flickering.

I also tried to connect the Ground from the STK500 with the Ground from the LCD but nothing happens.

Do you have any ideas about this problem??? I tried to fix this since two days. Please help me.

Thank you.
Robert
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

Our default baud rate is set to 19200 baud...Make sure your uC baud rate matches the display...
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
Krocky
LCD?
Posts: 4
Joined: Thu Aug 19, 2004 10:50 am

Post by Krocky »

The Baud-Rate is set right. What else could cause that problem??
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

Is your uC ouputting RS232 or TTL levels...?
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
Krocky
LCD?
Posts: 4
Joined: Thu Aug 19, 2004 10:50 am

Post by Krocky »

I think its RS232. Must it be RS232???

Here is a schematic form the Serial-Port of the STK500:

http://www.fh-augsburg.de/~roke/Serial.jpg
Krocky
LCD?
Posts: 4
Joined: Thu Aug 19, 2004 10:50 am

Post by Krocky »

It runs!!!!!!!!!!!!!!!

My problem was, that Pin2 of the uC-Board is an output and Pin3 is an input. So I have to change these Pins and everything works fine :wall:

Thank you very much for the friendly help!!
Tom
Matrix Orbital
Matrix Orbital
Posts: 1030
Joined: Mon Jul 19, 2004 4:43 pm
Location: Calgary
Contact:

Post by Tom »

That is good to hear you got your display working. If you have anymore questions or concerns, let us know. :D
Post Reply