Problems with oled-SSD1322 display component
Moderator: Benj
Problems with oled-SSD1322 display component
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
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problems with oled-SSD1322 display component
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Problems with oled-SSD1322 display component
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.
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.
- Attachments
-
- Oled_3.2P_Buffered.fcfx
- (8.83 KiB) Downloaded 187 times
-
- Oled_3.2P_Parallel.fcfx
- (9.31 KiB) Downloaded 160 times
-
- Display Oled_SSD1322.jpg (61.68 KiB) Viewed 6886 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Problems with oled-SSD1322 display component
Thanks for your post, the Parallel version does indeed crash Flowcode... investigating...
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problems with oled-SSD1322 display component
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Problems with oled-SSD1322 display component
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.
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
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
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
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Problems with oled-SSD1322 display component
Hi Bruno
Do you have a PDF file from the display? Or a link to the display?
regards
Stefan
Do you have a PDF file from the display? Or a link to the display?
regards
Stefan
Re: Problems with oled-SSD1322 display component
Hi Stefan
This is the link: https://it.aliexpress.com/item/3-12-inc ... autifyAB=2
and attached is pdf
regards
This is the link: https://it.aliexpress.com/item/3-12-inc ... autifyAB=2
and attached is pdf
regards
- Attachments
-
- SSD1322.pdf
- (1.05 MiB) Downloaded 184 times
Re: Problems with oled-SSD1322 display component
......sorry the link of the display is this: https://it.aliexpress.com/item/Yellow-C ... 7be0&tpp=1
thanks for your time
thanks for your time
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Problems with oled-SSD1322 display component
Hi Bruno
Control if the resistor are like in the picture.So you are sure it's 4pin. 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.
Control if the resistor are like in the picture.So you are sure it's 4pin. 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.
Re: Problems with oled-SSD1322 display component
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.
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.
- Attachments
-
- screenshot SSD1322.jpg (258.4 KiB) Viewed 6791 times
-
- screenshoot SSD1351.jpg (124.19 KiB) Viewed 6791 times
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: Problems with oled-SSD1322 display component
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
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
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
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problems with oled-SSD1322 display component
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Problems with oled-SSD1322 display component
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.
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.