- Posts: 409
SPI capture guide
- C0ckpitvue 777
-
- Offline
Less
More
17 Apr 2016 21:23 #46720
by C0ckpitvue 777
Replied by C0ckpitvue 777 on topic SPI capture guide
Can someone please confirm if this capture is flawed or correct,all feedback and help is well appreciated.
www.mediafire.com/download/a7jftawe9s11y...On+Capture.logicdata
I'm capturing spi for the sj x300-2 quadcopter
www.mediafire.com/view/b38895fz888pe97/sj%20x300-2.JPG#
Inside of the quad
www.mediafire.com/view/9dg6m9j3kqsbmr0/image%282%29.jpeg#
www.mediafire.com/view/gtfaj4z2rz5jak9/image.jpeg#
www.mediafire.com/view/rp1oihm8o5pezow/image%283%29.jpeg#
www.mediafire.com/download/a7jftawe9s11y...On+Capture.logicdata
I'm capturing spi for the sj x300-2 quadcopter
www.mediafire.com/view/b38895fz888pe97/sj%20x300-2.JPG#
Inside of the quad
www.mediafire.com/view/9dg6m9j3kqsbmr0/image%282%29.jpeg#
www.mediafire.com/view/gtfaj4z2rz5jak9/image.jpeg#
www.mediafire.com/view/rp1oihm8o5pezow/image%283%29.jpeg#
- wukong
-
- Offline
Less
More
- Posts: 15
- Caerus
-
- Offline
Less
More
- Posts: 59
24 Dec 2016 01:00 - 24 Dec 2016 01:12 #57182
by Caerus
Replied by Caerus on topic SPI capture guide
Ok, first capture ever. MOSI, MISO and GND were clearly marked. There were only 2 viable options left for CLK and CS, and from what I've read and seen here they are visually very different. I think I differentiated them correctly. Would someone mind checking this first one before I continue? Goebish, do you want this straight in the H20 thread? Cheers
www.mediafire.com/file/dsd8l2m4hds5zxe/J....Then.Bind.logicdata
www.mediafire.com/file/dsd8l2m4hds5zxe/J....Then.Bind.logicdata
Last edit: 24 Dec 2016 01:12 by Caerus.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
24 Dec 2016 01:06 - 24 Dec 2016 01:10 #57183
by goebish
Replied by goebish on topic SPI capture guide
Looks fine
.
Yes, you can post directly in the H20 thread.
Yes, you can post directly in the H20 thread.
Last edit: 24 Dec 2016 01:10 by goebish.
- Caerus
-
- Offline
Less
More
- Posts: 59
24 Dec 2016 01:20 #57184
by Caerus
Replied by Caerus on topic SPI capture guide
Ahhh, that warm and fuzzy feeling
. K, thanks goebish. I've been up forever, so I'll do all the other captures when I wake up next year
- lani
-
- Offline
Less
More
- Posts: 17
22 Mar 2017 13:24 #60521
by lani
Replied by lani on topic SPI capture guide
I'd like to share a small piece of python proven useful for processing the Saleae hex CSV exports to a form where each packet is on separate row instead of each byte.
Opening the resulting CSV into excel can be then used e.g. for plotting the different bytes in the frame upon time. Very handy IMO.
Opening the resulting CSV into excel can be then used e.g. for plotting the different bytes in the frame upon time. Very handy IMO.
#!/usr/bin/env python
import csv
# open file and create reader
with open('input.csv', 'rb') as f:
with open('output.csv', 'w') as o:
reader = csv.reader(f, delimiter=',', quotechar='"', skipinitialspace=True)
# read header
header = reader.next()
printstr = ""
current_packageid = 0
bytecount = 0
for row in reader:
new_packageid = row[1]
new_time = row[0]
new_byte = row[2]
if new_packageid != current_packageid:
o.write(str(bytecount) + "," + printstr + "\n")
printstr = new_time + "," + str(new_packageid)
current_packageid = new_packageid
bytecount = 0
#print in decimal so excel understands
printstr += "," + str(int(new_byte, 16))
bytecount += 1
# print last line
if printstr != "":
o.write(str(bytecount) + "," + printstr + "\n")- mwm
-
- Offline
22 Mar 2017 16:41 #60540
by mwm
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.
Replied by mwm on topic Sigrok nrf decoder?
Anyone tried out the sigrok nrf24l01 decoder module?
sigrok.org/wiki/Protocol_decoder:Nrf24l01
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.
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
22 Mar 2017 16:44 #60541
by goebish
Replied by goebish on topic Sigrok nrf decoder?
Yes it works, but I still prefer our good old python scripts
- Fernandez
-
- Offline
Less
More
- Posts: 983
02 Mar 2018 21:01 #67857
by Fernandez
Replied by Fernandez on topic Sigrok nrf decoder?
Hi I tried my chinese salae logic 8 clone but have difficulties getting it to work, can someone confirm, that it still works? Is it a driver issue, or salae did damaged my clone ?
I tested different versions, device is detected as "logic", when starting a capture, it mentions it can't keep up with the selected sample rate.
Anybody can give some hints to get it work, I rarely use it......
I tested different versions, device is detected as "logic", when starting a capture, it mentions it can't keep up with the selected sample rate.
Anybody can give some hints to get it work, I rarely use it......
- goebish
-
- Offline
- NRF Weirdo
Less
More
- Posts: 2633
02 Mar 2018 21:03 #67858
by goebish
Replied by goebish on topic Sigrok nrf decoder?
Can you try with another computer and/or with another USB cable ?
- 52dgj
-
- Offline
Less
More
- Posts: 56
03 Mar 2018 10:03 #67875
by 52dgj
DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6
Replied by 52dgj on topic SPI capture guide
dc59大大,请问你知道mc6的协议吗?如果知道可以告诉一声吗?谢谢了
DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6
- dc59
-
Topic Author
- Offline
Less
More
- Posts: 799
03 Mar 2018 12:28 #67878
by dc59
很抱歉,我沒有買MC6所以對它使用的協定不是很清楚!
I'm sorry, I don't know about the protocol of MC6 TX due to I didn't buy it.
Replied by dc59 on topic SPI capture guide
52dgj wrote: dc59大大,请问你知道mc6的协议吗?如果知道可以告诉一声吗?谢谢了
很抱歉,我沒有買MC6所以對它使用的協定不是很清楚!
I'm sorry, I don't know about the protocol of MC6 TX due to I didn't buy it.
- manotroll
-
- Offline
Less
More
- Posts: 14
05 May 2018 14:31 #69066
by manotroll
Replied by manotroll on topic SPI capture guide
can i use the oscilloscope to debug the spi?
Hantek 6022BE
Hantek 6022BE
- hexfet
-
- Offline
Less
More
- Posts: 1971
06 May 2018 00:29 #69070
by hexfet
Replied by hexfet on topic SPI capture guide
Not with that one. A logic analyzer is the best tool for this.
- manotroll
-
- Offline
Less
More
- Posts: 14
16 May 2018 00:41 #69249
by manotroll
Replied by manotroll on topic SPI capture guide
right
I had a protocol that works, I'll see if I can make funsionar and test others
Bayang X16 AH
I had a protocol that works, I'll see if I can make funsionar and test others
Bayang X16 AH
- Bangdc
-
- Offline
Less
More
- Posts: 7
20 Apr 2022 04:33 #77948
by Bangdc
Replied by Bangdc on topic SPI capture guide
Dear Goebish,
could you help me take a look at this thread when you have time? www.deviationtx.com/forum/protocol-devel...tx-use-xn297lbw-chip
Thank you.
could you help me take a look at this thread when you have time? www.deviationtx.com/forum/protocol-devel...tx-use-xn297lbw-chip
Thank you.
Time to create page: 0.119 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- SPI capture guide