- Posts: 857
SPI capture guide
- Deal57
- 
				
- Offline
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.
- dc59
- 
				Topic Author 
- Offline
- Posts: 799
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.
 
			Please Log in or Create an account to join the conversation.
- dc59
- 
				Topic Author 
- Offline
- Posts: 799
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
Please Log in or Create an account to join the conversation.
- Deal57
- 
				
- Offline
- Posts: 857
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.
- dc59
- 
				Topic Author 
- Offline
- Posts: 799
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.
- Deal57
- 
				
- Offline
- Posts: 857
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	0x00Deviation 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.
- dc59
- 
				Topic Author 
- Offline
- Posts: 799
Please Log in or Create an account to join the conversation.
- 944storm
- 
				
- Offline
- Posts: 55
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.
- mwm
- 
				
- Offline
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.
- goebish
- 
				
- Offline
- NRF Weirdo
- Posts: 2633
Please Log in or Create an account to join the conversation.
- IKKI
- 
				
- Offline
- Posts: 87
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.
- mwm
- 
				
- Offline
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.
- goebish
- 
				
- Offline
- NRF Weirdo
- Posts: 2633
Please Log in or Create an account to join the conversation.
- mwm
- 
				
- Offline
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.
- dc59
- 
				Topic Author 
- Offline
- Posts: 799
goebish wrote: my favorite part of the video:
youtube
20 seconds ... damn usb connectors
 
   
   Seby is 100% agree with you.
  Seby is 100% agree with you.			Please Log in or Create an account to join the conversation.
- jboehm
- 
				
- Offline
- Posts: 22
Please Log in or Create an account to join the conversation.
- SeByDocKy
- 
				
- Offline
- Posts: 1016
goebish wrote: my favorite part of the video:
youtube
20 seconds ... damn usb connectors
Haha
 Jalous
 Jalous  
			Please Log in or Create an account to join the conversation.
- goebish
- 
				
- Offline
- NRF Weirdo
- Posts: 2633
Not really, but perhaps this can answer some of your questions:jboehm wrote: This is excellent. Is there a thread like this that goes over the analysis and implementation?
www.deviationtx.com/forum/protocol-devel...cks-oh-wise-pb#20171
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- 
				
- Offline
- Posts: 409
Please Log in or Create an account to join the conversation.
- dc59
- 
				Topic Author 
- Offline
- Posts: 799
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.
- 
											Home
					
											
							  
- 
											Forum
					
											
							  
- 
											Development
					
											
							  
- 
											Protocol Development
					
											
							  
- SPI capture guide
 
          