SPI capture guide

More
21 Jul 2015 02:25 #35713 by Deal57
Replied by Deal57 on topic SPI capture guide
Sorry if I'm thick tonight, but does this mean you've got good MJx capture files now? If so, yay! The last set of photos don't seem to show up.

If not, can you post one (logicdata file) so we can see why you're getting?

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
21 Jul 2015 03:08 #35714 by dc59
Replied by dc59 on topic SPI capture guide

Deal57 wrote: Sorry if I'm thick tonight, but does this mean you've got good MJx capture files now? If so, yay! The last set of photos don't seem to show up.

If not, can you post one (logicdata file) so we can see why you're getting?


Sorry for confusion, I'm not having good result yet, I will try to capture MJX with new setting later today. :P

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

More
21 Jul 2015 11:24 #35730 by dc59
Replied by dc59 on topic SPI capture guide

Deal57 wrote: Sorry if I'm thick tonight, but does this mean you've got good MJx capture files now? If so, yay! The last set of photos don't seem to show up.

If not, can you post one (logicdata file) so we can see why you're getting?


I'm not lucky,still get error message, captured file :
www.mediafire.com/download/ave3aeasd5u38r5/MJX600-SPI-error.zip


Attachments:

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

More
21 Jul 2015 12:25 #35735 by Deal57
Replied by Deal57 on topic SPI capture guide

dc59 wrote:

Deal57 wrote: Sorry if I'm thick tonight, but does this mean you've got good MJx capture files now? If so, yay! The last set of photos don't seem to show up.

If not, can you post one (logicdata file) so we can see why you're getting?


I'm not lucky,still get error message, captured file :
www.mediafire.com/download/ave3aeasd5u38r5/MJX600-SPI-error.zip



Ok, you're right, it's really weird! I think the clock is behaving oddly. The clock seems to work upside down (low inactive) for the first couple of bytes, then it works right (high inactive)! I need to mess with the capture some more as it is possible that you've got some usable data -- I flipped the clock and then you get a couple of good bytes, then the rest are errors. I haven't seen that sort of behavior before, but I'm kinda a newbie with this, too. Has anyone else seen anything like this?

Can you double check your ground connection?

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
21 Jul 2015 13:12 #35740 by dc59
Replied by dc59 on topic SPI capture guide
Hi Deal57,
I checked ground connection with ohm guage, I'm pretty sure it's correct!

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

More
21 Jul 2015 14:33 #35741 by Deal57
Replied by Deal57 on topic SPI capture guide
TOTAL SPECULATION: In looking at the SPI definition it looks like the inactive state of the clock can be used by the Master to allow the slave to communicate back. I'm guessing maybe that's what we are seeing. In looking at the rest of the stream, the data pattern appears consistent and packets are flowing from the master to the slave. It looks to me like the data on MOSI is following the general approach used in other protocols for the XN297.

I'm thinking you can safely use these settings and just ignore the errors in those first couple of bytes. The trigger point looks like it is set at about the right place. Can you try running a bind sequence capture? Maybe we should be discussing this further in the MJX protocol thread?

I used an excel template to break the packets out individually; here's the first few packets from this capture. I can't do the actual programming but maybe I can 1) learn a bit more and 2) help save the programmers some time.
Time	Pkt#	1	2	3	4	5	6	7	8	9	10	11	12	13	14	15	16	17
0.1224	0	0x2A	0x6D	0x6A	0x73	0x73	0x73		
0.1226	1	0x30	0x6D	0x6A	0x73	0x73	0x73		
0.1228	2	0x3F	0xD1	0x3F	0x7F	0x9C	0x20		
0.1230	3	0x3E	0xDA	0x9A	0xB0	0x79	0xBB	0xAB	0x9C
0.1232	4	0x39	0x0B	0xDF	0xC4	0xA7	0x03		
0.1234	5	0xE2	0x00
0.1235	6	0xE1	0x00
0.1236	7	0x20	0x08
0.1236	8	0x28	0x00
0.1237	9	0x29	0x00
0.1238	10	0x27	0x70
0.1238	11	0x21	0x00
0.1239	12	0x22	0x01
0.1239	13	0x23	0x03
0.1240	14	0x25	0x02
0.1241	15	0x24	0x00
0.1241	16	0x31	0x10
0.1242	17	0x26	0x03
0.1243	18	0x3C	0x00
0.1243	19	0x3D	0x00
0.1785	20	0x20	0x0E
1.6612	21	0xA0	0x96	0xE4	0xC5	0xEA	0x2A	0x01	0x65	0x4F	0x26	0x23	0xD8	0x8B	0xE6	0xA4	0xB4	0x7D
1.6619	22	0x07	0x00
1.6648	23	0x27	0x62
1.6649	24	0x26	0x03
1.6650	25	0x25	0x35
1.6650	26	0xE1	0x00

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

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

More
21 Jul 2015 23:11 #35759 by dc59
Replied by dc59 on topic SPI capture guide
I uploaded some data,please check MJX protocol thread,thanks!

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

More
05 Oct 2015 19:59 #38452 by 944storm
Replied by 944storm on topic SPI capture guide
Hey guys,

I want to start looking at the protocols and getting involved. Is the Saleae logic 8 a good choce? Thanks and sorry for the thread hijack.

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

More
06 Oct 2015 02:11 #38459 by mwm
Replied by mwm on topic SPI capture guide
The salea logic 8 is a great choice. More than adequate to do the captures, good quality, comes with great software. It's the PB-approved solution.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

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

More
06 Oct 2015 07:18 #38464 by goebish
Replied by goebish on topic SPI capture guide
+1, this is the most useful hacking tool I ever had ....

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

More
08 Oct 2015 09:51 #38562 by IKKI
Replied by IKKI on topic SPI capture guide
i need only this for track the signal?

www.banggood.com/USB-24M-8CH-24MHz-8Chan...YL2512105842201212FR

it's out of stock... :(

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

More
09 Oct 2015 06:43 #38618 by mwm
Replied by mwm on topic SPI capture guide
Yes, that will work, but the clones aren't PB-approved. They don't come with software, so you either steal the Salea software which he doesn't think is a good idea, or you use open source software which doesn't work nearly as well.

But you can find them all over ebay as well as from banggood. I'd recommend that, as when I ordered one from banggood they shipped me a motorcycle handbrake. That didn't work very well for capturing data!

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

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

More
02 Dec 2015 14:44 #40561 by goebish
Replied by goebish on topic SPI capture guide
my favorite part of the video:
youtube
20 seconds ... damn usb connectors :p

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

More
03 Dec 2015 04:43 #40569 by mwm
Replied by mwm on topic SPI capture guide
It's well know that you have to flip a USB connector twice in order to get it to plug in.

Seems to actually be fixed with USB C, though. Plugs in in either orientation, and I seldom have to flip it more than once.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

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

More
04 Dec 2015 05:07 #40586 by dc59
Replied by dc59 on topic SPI capture guide

goebish wrote: my favorite part of the video:
youtube
20 seconds ... damn usb connectors :p


:lol: :lol: :lol: Seby is 100% agree with you.

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

More
25 Jan 2016 20:04 #42208 by jboehm
Replied by jboehm on topic SPI capture guide
This is excellent. Is there a thread like this that goes over the analysis and implementation?

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

More
25 Jan 2016 20:39 #42210 by SeByDocKy
Replied by SeByDocKy on topic SPI capture guide

goebish wrote: my favorite part of the video:
youtube
20 seconds ... damn usb connectors :p



Haha :) Jalous :)

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

More
25 Jan 2016 20:44 - 25 Jan 2016 23:59 #42211 by goebish
Replied by goebish on topic SPI capture guide

jboehm wrote: This is excellent. Is there a thread like this that goes over the analysis and implementation?

Not really, but perhaps this can answer some of your questions:
www.deviationtx.com/forum/protocol-devel...cks-oh-wise-pb#20171
Last edit: 25 Jan 2016 23:59 by goebish.

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

More
13 Feb 2016 04:59 #43076 by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic SPI capture guide
Hello everyone, would like to make a conscious effort to attempt to contribute spi data and to help assist and add to this awesome devation protocol list.I took the frst step in ordering an analyzer from a vendor on ebay do to banggoods lack.It will probably be a few week before it arrives because of the current festivities of the new year overseas.I've been reading and watcihng tutorials of tihs and trying to prep myself so I can fully indulge once the equipment arrives.What I need to know is where I can go to download the software,or is it bundled with the analyzer.Banggood posted a link but It took me str8 to a web alley with no door.If anybody can be kind enough to chime in with this info it will be greatly appreciated.

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

More
13 Feb 2016 07:54 #43080 by dc59
Replied by dc59 on topic SPI capture guide

C0ckpitvue 777 wrote: Hello everyone, would like to make a conscious effort to attempt to contribute spi data and to help assist and add to this awesome devation protocol list.I took the frst step in ordering an analyzer from a vendor on ebay do to banggoods lack.It will probably be a few week before it arrives because of the current festivities of the new year overseas.I've been reading and watcihng tutorials of tihs and trying to prep myself so I can fully indulge once the equipment arrives.What I need to know is where I can go to download the software,or is it bundled with the analyzer.Banggood posted a link but It took me str8 to a web alley with no door.If anybody can be kind enough to chime in with this info it will be greatly appreciated.


www.saleae.com/downloads

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

Time to create page: 0.119 seconds
Powered by Kunena Forum