Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
I've init the display with " option lcdpanel ili9341 , 73 , 71 , 68 " , but nothing happens. GUI TEST LCDPANEL does nothing.
Pins are tested in dout-mode (setpin(xx),dout). There is no Problem , Pins working perfect.
What i'm doing wrong ?
Geetings from Austria , athlon1900
EDIT: of course i init the display with " option lcdpanel ili9341 , LANDSCAPE , 73 , 71 , 68 " Edited 2020-03-20 22:47 by athlon1900
matherp Guru
Joined: 11/12/2012 Location: United KingdomPosts: 8517
Posted: 01:04pm 20 Mar 2020
Copy link to clipboard
Print this post
Check the manual; you should be using SPI2
athlon1900 Regular Member
Joined: 10/10/2019 Location: AustriaPosts: 46
Posted: 01:24pm 20 Mar 2020
Copy link to clipboard
Print this post
Thanks Peter , i've found it in the MM+ manual. The descriptions are a little misleading , a part here , a part there.
I'll try it and post the status.
athlon1900 Regular Member
Joined: 10/10/2019 Location: AustriaPosts: 46
Posted: 07:05am 21 Mar 2020
Copy link to clipboard
Print this post
Hi Peter !
I've tested it with SPI2. No chance. On my Board Pin10 ( spi2-clk ) is not working. Chip must be faulty. There is no short on the board. Is it possible to use another spi-channel (like the sdcard) ?
matherp Guru
Joined: 11/12/2012 Location: United KingdomPosts: 8517
Posted: 08:52am 22 Mar 2020
Copy link to clipboard
Print this post
Are you using MMX or MM+?
Pins for 100-pin MMX SPI2 are, as per the MMX manual:
72 SPI2-IN (MISO) 66 SPI2-OUT (MOSI) 10 SPI2-CLK
Can you use an SDcard? Can you use touch on a SSD1963? Both of these use the same channel.
Try: Connect pin 66 to pin 72 OPTION RESET SPI2 OPEN 1000000,3,8 DO:?SPI2(&H55):LOOP
And see what you get and if there is activity on pin 10 Edited 2020-03-22 18:54 by matherp
athlon1900 Regular Member
Joined: 10/10/2019 Location: AustriaPosts: 46
Posted: 11:39pm 23 Mar 2020
Copy link to clipboard
Print this post
Hi Peter , thanks for your answer.
I only found your tip with spi2 in the MM+ manual. Im working on MMX 100-Pin. You are right , these are the pins I want to work with.
Can you use an SDcard? Can you use touch on a SSD1963? Both of these use the same channel.
The SDcard do the work only on SPI1 or SPI3. Not on SPI2 I only have 2,8" displays with touch and ILI9341 controller. For me it's enough
Try: Connect pin 66 to pin 72 OPTION RESET SPI2 OPEN 1000000,3,8 DO:?SPI2(&H55):LOOP
And see what you get and if there is activity on pin 10
Ok i'll try your code , but I'm pretty sure that pin10 is dead.
My test was a simple SETPIN(pin),DOUT test with a blink-pgm and leds on these 3 pins. pin 66 = OK pin 72 = OK pin 10 = not OK , no act
As i wrote : on the chip-pins there are no shorts. No short to pin 9 or pin 11. I2C-channel 1 ( pin11 and pin12 ) tested and works with a 20x4 Display.
athlon1900 Regular Member
Joined: 10/10/2019 Location: AustriaPosts: 46
Posted: 01:44pm 03 Apr 2020
Copy link to clipboard
Print this post
Hi Peter ,
i have tested your code. All what i get is only 255 and no act on pin10.
That means , that pin10 is definitivly dead on my MMX 100pin and SPI2-channel is not to use. SPI1 and SPI3 are working with the SDCARD.
My hope is , that you can make the display and touch SPI-channel also selectable like the SDCARD in the next MMBASIC-version , that would be great