View previous topic :: View next topic |
Author |
Message |
BorisS
Joined: 29 May 2014 Posts: 13 Location: Ljubljana
|
Posted: Thu Jun 26, 2014 8:59 pm Post subject: |
|
|
EVERT,
AVCC = 3.3V, does not work! |
|
Back to top |
|
|
thomas.riesen@predat
Joined: 12 Jun 2007 Posts: 6
|
Posted: Fri Oct 17, 2014 3:36 pm Post subject: |
|
|
Hi Mrshilov
Which type of SPI-ROM do you use?
Regards
Thomas |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Fri Oct 17, 2014 4:53 pm Post subject: |
|
|
I use Winbond 25X80A. |
|
Back to top |
|
|
thomas.riesen@predat
Joined: 12 Jun 2007 Posts: 6
|
Posted: Fri Oct 31, 2014 11:12 am Post subject: |
|
|
And how do you write in to the Winbond-ROM?
Kind regards
Thomas |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
|
Back to top |
|
|
thomas.riesen@predat
Joined: 12 Jun 2007 Posts: 6
|
Posted: Fri Oct 31, 2014 11:01 pm Post subject: |
|
|
In this case, you programm the Flash in before you mounting this on the pcb?
Greetings
Thomas |
|
Back to top |
|
|
BorisS
Joined: 29 May 2014 Posts: 13 Location: Ljubljana
|
Posted: Sat Nov 22, 2014 3:39 pm Post subject: |
|
|
ME AND MY FRENDS FINALLY MANAGED TO START A DISPLAY, WHICH WAS BOUGHT ON THE WEB-SITE:
http://www.ebay.com/itm/2-4-TFT-LCD-TFT01-2-4-/290768311639?pt=LH_DefaultDomain_0&hash=item43b3245557
IT SHOULD HAVE THE PROCESSOR S6D1121. WE FOUND OUT THAT IT HAS PROCESSOR ILI9325. DISPLAY WORKS WITH NO PROBLEMS, SD CARD WORKS NORMALLY, TOUCH SCREEN RECOGNISES ONLY MY TOUCH, BUT PROCESSOR DOESN'T GET THE INFORMATIONS ABOUT X AND Y COORDINATES. CAN ANYBODY HELP ME AND TELL ME WHERE'S THE PROBLEM? TOUCH SCREEN IS OPERATED BY INTEGRATED CIRCUITS ET2046.
THANK YOU FOR YOUR HELP, BORIS |
|
Back to top |
|
|
BorisS
Joined: 29 May 2014 Posts: 13 Location: Ljubljana
|
Posted: Sun Nov 23, 2014 7:22 pm Post subject: |
|
|
It works !!!! |
|
Back to top |
|
|
Pryanick
Joined: 14 Nov 2010 Posts: 19 Location: Minsk
|
Posted: Tue Dec 02, 2014 10:09 pm Post subject: SSD1289 TFT |
|
|
Hi guys.
I would like to connect SSD1289 based TFT to xmega256. And some details must be crystal clear.
We need to connect TFT RD pin directly to +3.3v or we can use res10k or the best way is to connect it to AVR port to make it 1 or 0 (dont know if we need to fo so).
What AVR port is better to use for touchpad?
Thanks. |
|
Back to top |
|
|
Pryanick
Joined: 14 Nov 2010 Posts: 19 Location: Minsk
|
Posted: Tue Dec 09, 2014 4:53 pm Post subject: SSD1289+xmega256a3 |
|
|
Hi guys.
Try to compile simple bascode for connecting SSD1289 to xmega256a3 and I get error.
Some comments would be not bad.
Error : 222 Line : 46 Illegal character [expected (, got '' [PORT]] , in File : Landscape Test SSD1289.bas
Error : 7 Line : 46 IF THEN expected , in File : Landscape Test SSD1289.bas |
|
Back to top |
|
|
Pryanick
Joined: 14 Nov 2010 Posts: 19 Location: Minsk
|
Posted: Tue Dec 09, 2014 10:17 pm Post subject: |
|
|
if I comment SPI like this:
'Config Spi = Hard , Interrupt = Off , Data Order = Msb , Master = Yes , Polarity = High , Phase = 1 , Clockrate = 4 , Noss = 1
'Spsr.0 = 1 : Spcr.0 = 0 : Spcr.1 = 0 'F_spi = F_osc / 2
so I have no error. But its not good idea. Cuz How I can load images or fonts? Right, I can use sd card.
And I found same code rows in Config_MMCSD_HC.bas, I'm going to use sd card too, and I get same error for Config_MMCSD_HC.bas for hardware SPI.
May be somebody has encountered same problem? |
|
Back to top |
|
|
Pryanick
Joined: 14 Nov 2010 Posts: 19 Location: Minsk
|
Posted: Wed Dec 10, 2014 9:37 pm Post subject: |
|
|
Must be written like this
Config Spic = Hard , Master = Yes , Mode = 0 , Clockdiv = Clk2 , Data_order = Msb
Open "SPIC" For Binary As #10
no error then...
but some how need to fix same with SD card interface |
|
Back to top |
|
|
Pryanick
Joined: 14 Nov 2010 Posts: 19 Location: Minsk
|
Posted: Thu Dec 11, 2014 7:24 pm Post subject: ssd1289+xm256a2 |
|
|
Made test for connecting SSD1289 and ATxmega256A3
Video is here http://youtu.be/pV4GuA91itk
Looking at LCD I see some strange missing dots or lines in letters and digits.
Some photoes here.
Some advice how to fix it? |
|
Back to top |
|
|
Pryanick
Joined: 14 Nov 2010 Posts: 19 Location: Minsk
|
Posted: Sun Dec 14, 2014 9:59 am Post subject: |
|
|
I found that my TFT is SSD1298 based model, not 1289.
What changes I need to make in the code to make it works?
Thanks. |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Sun Dec 14, 2014 10:58 am Post subject: |
|
|
Try this init:
Code: | Sub Display_init
Res_disp = 0 : Waitms 5 : Res_disp = 1 'Hardware Reset
Ssd1289_write_reg 0 , &H0001 'Start oscillation
#if Portrait = 0
Ssd1289_write_reg 1 , &H293F 'Not Rotated
Ssd1289_write_reg 17 , &H6F70 'Entry Mode
#else
Ssd1289_write_reg 1 , &H693F 'Rotated
Ssd1289_write_reg 17 , &H6F78 'Entry Mode
#endif
Ssd1289_write_reg 2 , &H0600 'EOR=1 for noflicker
Ssd1289_write_reg 16 , &H0000 'Sleep Out
Ssd1289_write_reg 7 , &H0233 'Display Control
End Sub |
|
|
Back to top |
|
|
|