BL0061 USB drivers

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

User avatar
Benj
Matrix Staff
Posts: 13983
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4247 times
Been thanked: 4008 times
Contact:

Re: BL0061 USB drivers

Postby Benj » Fri Jun 01, 2018 10:59 am

Hi Fotis,

I tested the v7 component using the BL0114 combo board with the BL0080 PIC EB2 16F18877 and it's working well for me.

In your program you call Start, Clear and Cursor 0,0. The Start function does the clear and cursor move for you so these additions shouldn't be needed.

I've tested the BL0061 board with the BL0114 combo on Flowcode 8 and this is also working well. Tried this in v7 and there is something strange going on so investigating this now.

v8 program - toggling pin b5 every 100us
v8Prog.png
v8Prog.png (29.48 KiB) Viewed 989 times


v7 program - exact same program as above
v7Prog.png
v7Prog.png (30.13 KiB) Viewed 989 times


Hmmmm.

User avatar
Benj
Matrix Staff
Posts: 13983
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4247 times
Been thanked: 4008 times
Contact:

Re: BL0061 USB drivers

Postby Benj » Fri Jun 01, 2018 11:20 am

Aha, Think I might have fixed it, simply copy these files into your "Flowcode 7/CAL/STARM" folder.

STARM_CAL_IO.h
(5.42 KiB) Downloaded 32 times

STARM_CAL_IO.c
(22.06 KiB) Downloaded 26 times


Fingers crossed :D
These users thanked the author Benj for the post:
fotios (Fri Jun 01, 2018 5:22 pm)
Rating: 5.88%
 

User avatar
fotios
Posts: 398
Joined: Mon Feb 08, 2010 10:17 am
Location: Greece
Has thanked: 80 times
Been thanked: 97 times
Contact:

Re: BL0061 USB drivers

Postby fotios » Fri Jun 01, 2018 5:28 pm

Hi Ben
Yes, it is fixed and LCD works just fine. :D
Thank you!

We have tested and working digital outputs and LCD display so far.
Next step will be a test of PWM channels.
These users thanked the author fotios for the post:
Benj (Fri Jun 01, 2018 5:29 pm)
Rating: 5.88%
 
Best Regards FOTIS ANAGNOSTOU

User avatar
Benj
Matrix Staff
Posts: 13983
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4247 times
Been thanked: 4008 times
Contact:

Re: BL0061 USB drivers

Postby Benj » Mon Jun 04, 2018 12:30 pm

Right,

We've been over the LCD and STARM IO problem again and now have a better fix that should work for everything.

Here is the v7 LCD component - this is as was from 7.3, working with PIC etc
LCD.fcpx
(7.54 KiB) Downloaded 27 times


Next here is a fix for the STARM CAL IO that should solve the glitch issue on the enable pin, and any similar problems.
STARM_CAL_IO.c
(22.06 KiB) Downloaded 30 times
These users thanked the author Benj for the post:
fotios (Tue Jun 05, 2018 9:51 am)
Rating: 5.88%
 

User avatar
fotios
Posts: 398
Joined: Mon Feb 08, 2010 10:17 am
Location: Greece
Has thanked: 80 times
Been thanked: 97 times
Contact:

Re: BL0061 USB drivers

Postby fotios » Tue Jun 05, 2018 9:53 am

Hi Ben
Just to let you know that both CAL and Component new files are working flawlessly.
A big thank again. :D
These users thanked the author fotios for the post:
Benj (Tue Jun 05, 2018 10:03 am)
Rating: 5.88%
 
Best Regards FOTIS ANAGNOSTOU