Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

ATmega128A + SSD1963

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
starker

Bascom Member



Joined: 01 Feb 2016
Posts: 7
Location: Brasil

brazil.gif
PostPosted: Sun Apr 09, 2017 3:03 pm    Post subject: ATmega128A + SSD1963 Reply with quote

Hello guys!

I'm using Google translate to translate this text, I hope you can understand. I'm from Brazil and I need help!

I downloaded the SSD1963 library with the sample programs (thank you Mrshilov for sharing your code), but I can not see any pictures on the screen.
I changed the settings in the program to be used with the ATmega128A, I can see the signals with the oscilloscope (which shows that the system works), but the brightness of the backlight decreases a lot when I turn on the microcontroller and maybe that's why I see nothing on the screen.

First I had put the CS, RS, RESET, WR pins in the PORTF, but not working. So I put it in the PORTD and then hear communication, but nothing appears on the screen.

What could be happening?

Actual configuration:

PORTA = low data
PORTC = higt data
PORTD.0 = wr_disp
PORTD.1 = rs_disp
PORTD.2 = cs_disp
PORTD.3 = res_disp

Thank you for any help!


Last edited by starker on Sun Apr 09, 2017 10:40 pm; edited 1 time in total
Back to top
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Sun Apr 09, 2017 7:14 pm    Post subject: Reply with quote

RD pin must be connected to +3V3.
Back to top
View user's profile
starker

Bascom Member



Joined: 01 Feb 2016
Posts: 7
Location: Brasil

brazil.gif
PostPosted: Sun Apr 09, 2017 11:56 pm    Post subject: Reply with quote

Thank you Mrshilov for your reply!

I connected the RD pin to 3.3V and it's still in the same situation!

Another suggestion?

Thank you again!
Back to top
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Mon Apr 10, 2017 12:31 am    Post subject: Reply with quote

Backlight of 5" LCD consume 120mA or more. Check power.
Back to top
View user's profile
starker

Bascom Member



Joined: 01 Feb 2016
Posts: 7
Location: Brasil

brazil.gif
PostPosted: Mon Apr 10, 2017 12:52 am    Post subject: Reply with quote

Thank you Mrshilov for your reply!

My LCD is 7" and is consuming 300mA. I am using a lab source for + 3V3 and + 5V.
Back to top
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Mon Apr 10, 2017 1:09 am    Post subject: Reply with quote

Check "Backlight control". It must be in "LED_A" position.

Back to top
View user's profile
starker

Bascom Member



Joined: 01 Feb 2016
Posts: 7
Location: Brasil

brazil.gif
PostPosted: Mon Apr 10, 2017 1:17 am    Post subject: Reply with quote

Thank you Mrshilov for your support!

Yes!
It is set to LED_A.
Back to top
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Mon Apr 10, 2017 1:56 am    Post subject: Re: ATmega128A + SSD1963 Reply with quote

starker wrote:
...the brightness of the backlight decreases a lot when I turn on the microcontroller...

If "Backlight control" in "LED_A" position, backlight brightness must be the same. You need to check LCD.
Back to top
View user's profile
starker

Bascom Member



Joined: 01 Feb 2016
Posts: 7
Location: Brasil

brazil.gif
PostPosted: Mon Apr 10, 2017 5:32 pm    Post subject: Reply with quote

Thank you for your willingness to help me!

I checked all the connections on the display and they are running.
Probably this display has some problem.

I'll try to buy another one to test. I do not know yet when, but once I have another, I'll be posting the result here!

Thanks again!
Back to top
View user's profile
Evert :-)

Bascom Expert



Joined: 18 Feb 2005
Posts: 2156

netherlands.gif
PostPosted: Tue Apr 11, 2017 11:17 am    Post subject: Reply with quote

Did you disabled the "M103 compatibly" fuse?
_________________
www.evertdekker.com Bascom code vault
Back to top
View user's profile Visit poster's website
starker

Bascom Member



Joined: 01 Feb 2016
Posts: 7
Location: Brasil

brazil.gif
PostPosted: Tue Apr 11, 2017 12:55 pm    Post subject: Reply with quote

Thank you for your comment!

Yes! I disabled this fuse, but no success.


Thank you!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum