GLCD EBM001

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

Moderator: Benj

Post Reply
hypamat
Posts: 31
Joined: Wed Jul 16, 2014 11:38 pm
Has thanked: 6 times
Been thanked: 18 times
Contact:

GLCD EBM001

Post by hypamat »

hi guys,
i recently purchased this: http://www.ebay.co.uk/itm/141087179782? ... EBIDX%3AIT
which i know isnt the correct display for use with flocode, but for the price i thought i would have a go,
it works, but the refresh rate seems really slow, you can see it plotting the screen, which is really inconvenient!

any ideas? is there a bit of c code i could slap in there to get it working properly? i could probably upload a video just to show you whats going on, if that would help?

thanks,
matt

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: GLCD EBM001

Post by Benj »

Hi Matt,

Would you mind posting your program so we can have a quick look to see if there are any easy optimisations that could be made.

hypamat
Posts: 31
Joined: Wed Jul 16, 2014 11:38 pm
Has thanked: 6 times
Been thanked: 18 times
Contact:

Re: GLCD EBM001

Post by hypamat »

hello,
thanks for the quick reply!
ive attached the program, in the simulation its super fast, but in real life that takes around 5 seconds to finish the program,
thanks,
matt
Attachments
Flowcode1.fcfx
(7.84 KiB) Downloaded 225 times

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: GLCD EBM001

Post by dazz »

Hi
Im sure benj wrote a driver for that display in this thread http://www.matrixtsl.com/mmforums/viewt ... 57&t=15161

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

hypamat
Posts: 31
Joined: Wed Jul 16, 2014 11:38 pm
Has thanked: 6 times
Been thanked: 18 times
Contact:

Re: GLCD EBM001

Post by hypamat »

yeah, i did see that, but it doesnt seem to work as well as the built in driver in flowcode, only half the screen starts up and the rest is a mix of weird colours, bit of a weird one, i think!

thanks,
matt

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: GLCD EBM001

Post by dazz »

HI
Sorry to be a pain, can you add your findings on the new driver to the thread i linked to, im waiting for lcds to arrive, and benj asked for some feedback on the driver but as yet there is none, if you could it will be helpfull

Regards
DAzz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

hypamat
Posts: 31
Joined: Wed Jul 16, 2014 11:38 pm
Has thanked: 6 times
Been thanked: 18 times
Contact:

Re: GLCD EBM001

Post by hypamat »

no problem, i will do that now, i hope that the driver can be fixed to it works properly, however as i said, the built in one seems to work well, just refreshes really slow?

matt

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: GLCD EBM001

Post by Benj »

Hello,

I have had a go at speeding up the EBM001 code. I can get the time to clear the screen (nice test as it writes to each and every pixel in one operation) down from 4.14seconds to 2.23 seconds on a PIC16F1937 @ 19.6608MHz. However it makes the code less reliable and if you power cycle the module it then doesn't boot up correctly. I'll try and have another go when I get chance and see if I can speed it up reliably. At the moment there really isn't much FAT in the code to strip out, I got the speed boost mainly by shifting the 16-bit colour data out 16-bits at a time rather than 8-bits and fiddling with when the CS pin is toggled.

A faster device should allow the display to go much faster. For example the display should fly with the new ECIO40P16 released today!
http://www.matrixtsl.com/product.php?Prod=ECIO40P16

hypamat
Posts: 31
Joined: Wed Jul 16, 2014 11:38 pm
Has thanked: 6 times
Been thanked: 18 times
Contact:

Re: GLCD EBM001

Post by hypamat »

thats very interesting, because you can actually see the pixels changing along the screen, but to refresh the screen i have to clear the whole screen then it has to re build any boxes and text etc that i had put in place. it shouldnt be too much of a problem with what im using it for, but still a bit more speed wouldnt go a miss! im wondering though, would a faster crystal make the chip run faster? or would that damage the chip? because im using a 20mhz crystal, i was wondering if i could maybe use something like a 100mhz?

thanks,
matt

Post Reply