Hooking up Logic Analyzer ....Help please

More
05 Dec 2014 23:06 #26790 by magic_marty
Hooking up Logic Analyzer ....Help please was created by magic_marty
Need a little help hooking up a logic analyzer i am not sure on what pins to hook to or if i even matters on the analizer? it just says DCH0 DCH1 DCH2 DCH3 ect....also i need to know for sure what pins to hook to on the cyrf module in the devo8...and do i need to hook the 5v on the analyzer to anything? i don't want to risk frying anything on my tx by hooking up the wrong thing ...

Thanks all..
<Marty>

PS..there should be a PDF created to show how to hook these things up in my opinion...but i can't find anything on how to do so..

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 00:34 - 06 Dec 2014 00:40 #26791 by aMax
Which device do you have and what is your software like?

I would advice to take a reciever and hook it to the device and play a little
around with the software to get it to know. This rx can be powered by the analyzer.



SPI on the TX:
At first, no 5 VCC. The module is powered by the tx.

Hook the lines to the NRF. If you solder them to the pins, you are able to transfer the complete stuff to the other TX quite easy

Only GND and D0,D1,D2 and D3

DO> CSN
D1> SCK
D2> MOSI
D3> MISO



Into software, I assume this one, you will have to setup an analyzer > chose SPI and reorder the lines for D0 to D3 like shown in the picture.



Please, take your time to become aquainted with that stuff.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Attachments:
Last edit: 06 Dec 2014 00:40 by aMax.

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 02:15 - 06 Dec 2014 02:20 #26792 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
it hooks to the NRF module?
I have header pins on top of the cyrf module and the NRF just plugs on to them...do i just hook up the NRF with out the cyrf or leave hook them both up using the pins on top of the cyrf module where the nrf is hooked to?


this is the one i have...
Attachments:
Last edit: 06 Dec 2014 02:20 by magic_marty.

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 03:05 - 06 Dec 2014 03:23 #26793 by aMax
So it is more easy for you.
The CYRF does not matter in that case.
If you do not understand what I mean, ask.

You are going to observe the communication to and from NRF.
The NRF must be connected as usual. You only pickup the signals from there
while the tx is powered on.
First try it with the Devo8, because the module is working there and then with the Devo 12.
If something is missing, you will notice it quite soon.
Do everything on both tx the same way and capture the same period, otherwise it will be harder to compare.


Edit: Have look at post #26465. It that way I would connect small breadboard wires on top on the NRF.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 06 Dec 2014 03:23 by aMax.

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 03:55 #26794 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
ok getting ready to try on the 8 will post back n a few minutes is it worked

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 04:47 #26795 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
says settings mismatch on ch0 and ch1 not sure what that means

on devo8 haven't tried the 12 yet

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 05:00 #26796 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
try to upload the file but my internet connection has gone to crap for some reason...:(

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 05:14 #26798 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
here's a couple of screen shots of the 8
Attachments:

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 05:39 - 06 Dec 2014 05:46 #26799 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
devo 12 with out the NRF enabled

if i try to enable it i can't get any readings cause it stays on the module missing screen and then reboots over n over until i power it off
Attachments:
Last edit: 06 Dec 2014 05:46 by magic_marty. Reason: sdded file

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 05:49 - 06 Dec 2014 05:52 #26800 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
export file
Last edit: 06 Dec 2014 05:52 by magic_marty.

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 12:31 #26803 by aMax
All this indicates nothing usefull.
First of all, lower the sanpling frequence to max 4Mhz.
Then spread the timebase by clicking into the screen.

At good starting point for the sample is the moment selecting the protocol or while powering on the tx ( but this will not really help on the Devo12 because of " missing module".
Start with an empty model.ini.

Take a sample while having selected a different protocol and then
select e.g "v202" or "hisky".
Sample this moment.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 13:15 - 06 Dec 2014 13:24 #26804 by aMax
Please some closeups of your hardware installation.

To which pin did you bind CE? On the modul or to the Devo pcb?

If you soldered them all to the Devo (pcb), is it possible that you supplied
CSN instead CE with VCC on the Devo12? If yes, the state will never go to
low and the modul does not work.
....CSN is present on the Devo12 and state is "high"

Edit: Any short between VCC,CE,CSN..?

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 06 Dec 2014 13:24 by aMax. Reason: Edit

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 19:30 #26809 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
i am going to unsolder the pins on the pcb and resolder them but as far as i can tell there are no bridged connections between them unless it is on the bottom of the pcb where i can't see it with out removing it from the tx case...this is getting to be more trouble then it is worth i am really thinking about tossing in the towel and saying the heck with it ...:(

i will also get some pictures of it to post as well before and after i redo the soldering of the pins...

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 20:59 #26810 by aMax

magic_marty wrote: i am going to unsolder the pins on the pcb and resolder them .........


Any reason for that?

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 21:10 #26811 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please

aMax wrote:

magic_marty wrote: i am going to unsolder the pins on the pcb and resolder them .........


Any reason for that?


Don't know what else to try , it has to be something wrong on the pcb cause both modules work perfect on the 8 and i simply unplug them from the 8 and plug them on the 12 to the same connections and they both wont work...maybe resoldering the pins on the pcb will work..but checking them with a voltmeter they are all showing connected as should be and showing 3.3v on the vcc and the tms and tck pins ...just don't know what else it could be unless its something in quality control they missed, when i got this 12 the TH-hold switch had one of the terminals not soldered at all and i had to solder it to get the switch to work..maybe they missed something else?

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 22:01 #26812 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
Here is several pictures of the 12 pcb and module and how i have the pins soldered...as you can see all looks good but there has to be something wrong...i resoldered them anyway to give it a try but i am sure it wont make any difference but worth a try i guess...

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 22:24 #26814 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
Reflowed the solder on the pins connected to the PCB and as i figured it didn't make any difference at all it still says missing module when i power it up with the module enabled in the hardware file...this is getting ridiculous..There is absolutely nothing wrong with the hook ups and it should work but it simply refuses to acknowledge the module is there..crazy thing is i have 2 of other modules coming and i am willing to bet big $$$$ i will have the same problem when i install them, will work fine in the 8 but not in the 12...thinking about trashing the 12 and using it for parts and getting a new one at this point..

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 22:48 - 06 Dec 2014 22:48 #26817 by aMax
Did you check the trace from the pinheader to he corresponding mcu pin?
Soldering a pinheader only from above is not such a good idea.
In that case you must apply more head than necessary.
Anyway you should check the trace.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Last edit: 06 Dec 2014 22:48 by aMax.

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 22:58 - 06 Dec 2014 23:15 #26818 by magic_marty
Replied by magic_marty on topic Hooking up Logic Analyzer ....Help please
yes checked the trace on the TMS and it has connection to the pin ...didn't check the pther pins tho but i will to be sure..


EDIT: Checked all the pins and all have good connection to traces on the PCB...
Last edit: 06 Dec 2014 23:15 by magic_marty.

Please Log in or Create an account to join the conversation.

More
06 Dec 2014 23:02 #26819 by aMax
But most of all I wonder why you are not using the analyzer.
All signals are present on the 12 but no change on the CSN (TMS/TCK ??).

There should be at least one pulse when selecting the modul or power on the TX.

Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum