flowkit scope

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

Moderators: Benj, Mods

Post Reply
User avatar
achillis1
Posts: 347
Joined: Thu Oct 09, 2008 9:19 am
Has thanked: 91 times
Been thanked: 8 times

flowkit scope

Post by achillis1 »

Hello,

I have the EB006 board with firmware version 2.2. I need to sample the output of a pin at PORTA. How do I connect the flowkit to the EB006? Via USB or via the the e-blocks adaptor. I understand the for ICD function I need to connect via the adaptor. Does scope function in ICD mode?

If in the the ICD scope Tool, I select the analog0 and analog1 and plug the adaptor at any of the available ports of a PIC, then which pin of the port the ICD tool will log as analog?
Concerning the digital channels, there is digital0 and digital1 and each has 8 boxes. How things work for that, how do I use them if I want to log the output of certain pins of a certain port?

Thank you,


Andreas Achilleos

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: flowkit scope

Post by Benj »

Hello Andreas,

What version is your EB006 board. It will say on the silk screen print somewhere eg EB006-00-6 is the v6 of the EB006.

V7 EB006 has ICD built in so you do not need to use the Flowkit.

V6 EB006 or earlier you must connect the flowkit to portB. The Flowkit datasheet explains how to connect up and use the device.

Also if you click Help -> Flowcode resources in Flowcode then you will be forwarded to a page that contains a troubleshooting guide for the ICD.

Let me know how you get on.

User avatar
achillis1
Posts: 347
Joined: Thu Oct 09, 2008 9:19 am
Has thanked: 91 times
Been thanked: 8 times

Re: flowkit scope

Post by achillis1 »

Hello Ben,

I need a quick information. I am going to connect the flowkit to the adaptor via the IDC cable( I am going to connect it to the scope pins). How should I connect it? Which side goes to what side?
E.g If I am facing the flowkit and I connect the IDC cable with the red painted side on my left then I should connect it to the adaptor with the same way, as I face the adaptor to have the red painted side on my left?

Thank you,

Andreas Achilleos

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: flowkit scope

Post by Benj »

Hello Andreas,

Both the Flowkit and the Expansion board have small marks on the silkscreen on one side of the IDC headers. You should line these marks up with the extrusions on the IDC cable and you should end up with everything connected through correctly. Connecting the incorrect way around will not damage anything but the signals will be crossed over onto different I/O pins.

User avatar
achillis1
Posts: 347
Joined: Thu Oct 09, 2008 9:19 am
Has thanked: 91 times
Been thanked: 8 times

Re: flowkit scope

Post by achillis1 »

Hello Ben,

Got it!!!! But the problem now is that How do I distinguish wich graph on the ICD scope tool corresponds to which chip PIN???

Also you said before about connecting it to portB, can I connect it to other ports as well?

Andreas Achilleos

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: flowkit scope

Post by Benj »

Hello Andreas,

The digital graphs correspond to pins 0 through to 7 in that order.

Also you can connect the scope pins to any port you wish without any problems. Port B is just the standard programming port so use this for the ICD functionality.

User avatar
achillis1
Posts: 347
Joined: Thu Oct 09, 2008 9:19 am
Has thanked: 91 times
Been thanked: 8 times

Re: flowkit scope

Post by achillis1 »

Hello Ben,

For testing the routine that drives the servo, should I connect the flowkit adaptor board and then at the other end the servo board?

Andreas Achilleos

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: flowkit scope

Post by Benj »

Hello Andreas,

Yes this would probably be the best method.

User avatar
achillis1
Posts: 347
Joined: Thu Oct 09, 2008 9:19 am
Has thanked: 91 times
Been thanked: 8 times

Re: flowkit scope

Post by achillis1 »

another thing though, if I am going to test the servo pulses ( 20ms, 1-2ms control pulses ), then if the ICD scope tools has the scale for 100ms, how am I going to correctly measure the pulses?
Also there are 4 csv files, what they are representing and how someone can interpret the written value, of pulse(of each pin) in association with time?

Andreas Achilleos

Post Reply