Sitronix ST7586

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Clive44
Posts: 52
Joined: Tue Oct 18, 2011 12:35 pm
Has thanked: 3 times
Contact:

Sitronix ST7586

Post by Clive44 »

Hi

I have a graphic LCD which uses the Sitronix ST7585 driver. Is there anyway I can use Flowcode 8 to control this display?
I am not worried if I have to use a serial or parallel interface.

Regards

Clive

User avatar
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: Sitronix ST7586

Post by Benj »

Hi Clive,

You could try the ST7567 component and see if this works. If not then let us know and we can look into it for you.

Clive44
Posts: 52
Joined: Tue Oct 18, 2011 12:35 pm
Has thanked: 3 times
Contact:

Re: Sitronix ST7586

Post by Clive44 »

Hi Ben

The ST7567 seems to be limited to a resolution of 65x132 =8580 bits.
The display I have is the Midas MDCOG240064E6W-FPTLW which uses the ST7585 driver and has a resolution of 240x64 = 15,360 bits.
It's bigger brother, the MDCOG240128B6W-FPTLW has a resolution of 240x128!

So, I don't think the Flowcode ST7567 will work?

Regards

Clive

Clive44
Posts: 52
Joined: Tue Oct 18, 2011 12:35 pm
Has thanked: 3 times
Contact:

Re: Sitronix ST7586

Post by Clive44 »

Hi Ben

I have proven an SPI Interface from a PIC18F46K22 (3V3) to an ILI9341 display - see attached photo.
However, when I recompile it using the Flowcode ST7567, as you suggested, the GLCD just stays blank.

I have checked all the SPI signals with an oscilloscope and all the levels are good.

Any help appreciated.

Thanks

Clive
Attachments
P1034218.jpg.JPG
P1034218.jpg.JPG (83.47 KiB) Viewed 2956 times
GLCD_ST7567_Test_1.fcfx
(8.56 KiB) Downloaded 147 times
GLCD_ILI9341_Test_1.fcfx
(9.27 KiB) Downloaded 133 times

Clive44
Posts: 52
Joined: Tue Oct 18, 2011 12:35 pm
Has thanked: 3 times
Contact:

Re: Sitronix ST7586

Post by Clive44 »

Hi Ben

The A0 signal should latch data on the 8th rising edge of SCL (see attached ST7586 datasheet excerpt).

Screenshot of oscilloscope trace shows in practice it only moves every 3 bytes.

Hope this is helpful info.

Regards

Clive
Attachments
Screenshot ST7567 SCL red A0 blue .jpg
Screenshot ST7567 SCL red A0 blue .jpg (84.31 KiB) Viewed 2951 times
ST7586 datasheet excerpt.jpg
ST7586 datasheet excerpt.jpg (66.74 KiB) Viewed 2951 times

Clive44
Posts: 52
Joined: Tue Oct 18, 2011 12:35 pm
Has thanked: 3 times
Contact:

Re: Sitronix ST7586

Post by Clive44 »

I guess I'm on my own on this one? No help seems to be forthcoming.

mnf
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: Sitronix ST7586

Post by mnf »

Hi Clive,

If you send me a display - I'll try and get it working. I've just been working with the st7789 and got it to work pretty well...

I can return it when done.
If you're interested I'll pm you my details

Note I'm only offering basic functionality so no simulation . But see the st7789 topic. I got lines, rectangles, multi line text etc working
If it's for s commercial project then payment would be nice :) if it's just for fun that's good too...

Martin

Post Reply