Page 1 of 1

Problems with oled-SSD1322 display component

Posted: Thu Jan 18, 2018 5:17 pm
by Bruno
Hello
I'm Bruno and this is my first post.
I have FC7-v7.3.0.5,
I have problems with an oled-SSD1322 display. In Buffered mode, it does not work because I think the D / C pin is missing in the configuration.
In Parallel mode, the compiler stops responding and I have to close the program.
How can I solve?
Thank you

Re: Problems with oled-SSD1322 display component

Posted: Thu Jan 18, 2018 6:29 pm
by Benj
Hi Bruno,

Please can you attach your program that demonstrates the compiler stopping responding so we can try and replicate. Just use the attachments tab when posting a reply to add the file, it's underneath the editable text field.

Do you also have a link to the datasheet for the display you're using so we can compare to the components.

Re: Problems with oled-SSD1322 display component

Posted: Fri Jan 19, 2018 10:58 am
by Bruno
Hello
Thank you for your reply.
Attached you can find two programs, in bufferd mode and parallel mode and the photo of the display.

Finally I can ask you if it is possible to insert in the macro components the command "SendCOmmand" ? It is very convenient.

Thank you very much.

Re: Problems with oled-SSD1322 display component

Posted: Fri Jan 19, 2018 12:16 pm
by LeighM
Thanks for your post, the Parallel version does indeed crash Flowcode... investigating...

Re: Problems with oled-SSD1322 display component

Posted: Fri Jan 19, 2018 4:28 pm
by Benj
Hello,

Please can you try the attached updated component, fingers crossed it should solve the problem.

Simply copy the file to your "Flowcode 7/components" folder and restart Flowcode.
gLCD_SSD1322.fcpx
(33.11 KiB) Downloaded 233 times

Re: Problems with oled-SSD1322 display component

Posted: Mon Jan 22, 2018 3:21 pm
by Bruno
Hi Benj
Thanks for the new macro component, I tried it and flowcode does not crash but the display does not work.
I will try the display with an arduino board to test if it works

Best regards.

Re: Problems with oled-SSD1322 display component

Posted: Tue Jan 23, 2018 12:12 am
by Bruno
Hi Beny
I have tested the display with Arduino mega configured in spi 4 ways:
cs
d/c
data
sck
reset
I used the library available on https://github.com/olikraus/u8g2 and the display
it works correctly, but I can not understand why it does not work in flowcode.
Can you help me understand what the problem is?
thank you

Re: Problems with oled-SSD1322 display component

Posted: Wed Jan 24, 2018 10:42 am
by stefan.erni
Hi Bruno

Do you have a PDF file from the display? Or a link to the display?

regards

Stefan

Re: Problems with oled-SSD1322 display component

Posted: Wed Jan 24, 2018 4:50 pm
by Bruno
Hi Stefan
This is the link: https://it.aliexpress.com/item/3-12-inc ... autifyAB=2

and attached is pdf

regards

Re: Problems with oled-SSD1322 display component

Posted: Wed Jan 24, 2018 7:14 pm
by Bruno
......sorry the link of the display is this: https://it.aliexpress.com/item/Yellow-C ... 7be0&tpp=1

thanks for your time

Re: Problems with oled-SSD1322 display component

Posted: Thu Jan 25, 2018 1:45 pm
by stefan.erni
Hi Bruno

Control if the resistor are like in the picture.So you are sure it's 4pin.
Config_Display.PNG
(528.46 KiB) Downloaded 2716 times
Connect the additional pin as in the picture.
If it's still not working, can you post a schema how do you connect it.Or a picture from your harware.
Pin_Display.PNG
(165.47 KiB) Downloaded 2716 times

Re: Problems with oled-SSD1322 display component

Posted: Thu Jan 25, 2018 3:30 pm
by Bruno
Thank you Stefan,
the display is in configuration 4pin SPI as indicatyed in the picture you sent me.
Thus, it works correctly with arduino connected with CS, D/C, SCK, DATA, Reset, as in the flowcode macro for the SSD_1351 component.

I think that the problem dipends on the absence of the D/C pin in your macro component for SSD_1322, as you can see in the attached screenshot.
I remind you that I am using a microchip pic 18f46k22.

Waiting for your answer.
Best regards.

Re: Problems with oled-SSD1322 display component

Posted: Thu Jan 25, 2018 4:13 pm
by stefan.erni
Hi Bruno

I suspect you are right. In 4wire mode you need the pin. But I guess in 3wire mode, you do not need the pin. If so, the FC Component and Hardware Display are not matching properly.

You have to take away R15 and solder it to R16 for 3wire mode,

but before maybe Ben tells us if he is use 4wire or 3wire mode.

regards

Stefan

Re: Problems with oled-SSD1322 display component

Posted: Thu Jan 25, 2018 5:23 pm
by Bruno
Hi Stefan
I configured the display in 3 ways through the resistors, as shown on the board but still does not work.
As I said before, I have also configured the display in parallel mode, but even so it does not work,
I think there is a problem with initializing the SSD1322 in FC.

regards

Re: Problems with oled-SSD1322 display component

Posted: Fri Feb 02, 2018 2:05 pm
by Benj
Hello,

I've just had a look through my GLCD test drawer and can't find a SSD1322 display, some of the displays are not marked which isn't helpful.

I'll see if I can get hold of some displays to do some testing for you. Hmm all the display on eBay are £20+ so maybe not.

Would it be possible for you to send us a display so we can double check things are ok here?

Re: Problems with oled-SSD1322 display component

Posted: Mon Feb 05, 2018 10:47 am
by Bruno
Hi Benj,
thank you for the reply. I think It would be too compicated and expensive to send you a display for the tests.
Moreover, I bougth only one for chech functionality so I think that it is not possible to follow your proposal.
Probably, it could be better you send me your modifications of the configuration macro and I will chech for you.
Otherwise, you could allow me the access to the macro and I would try to find the problem.

I'll wait for your answer.
Best Regards.

Bruno.