Page 1 of 1

Problem with LCD and Atmel

Posted: Fri Aug 20, 2004 7:17 am
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

Posted: Fri Aug 20, 2004 9:09 am
by Miles
Our default baud rate is set to 19200 baud...Make sure your uC baud rate matches the display...

Posted: Fri Aug 20, 2004 3:08 pm
by Krocky
The Baud-Rate is set right. What else could cause that problem??

Posted: Fri Aug 20, 2004 3:49 pm
by Miles
Is your uC ouputting RS232 or TTL levels...?

Posted: Sat Aug 21, 2004 8:40 am
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

Posted: Sat Aug 21, 2004 2:38 pm
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!!

Posted: Mon Aug 23, 2004 8:55 am
by Tom
That is good to hear you got your display working. If you have anymore questions or concerns, let us know. :D