- Posts: 409
SPI capture guide
- C0ckpitvue 777
- Offline
1.64
0.20
3.10
0.21
2.44
3.10
Grd
Vdd
Any help would greatly be appreciated
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
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.
- victzh
- Offline
- Posts: 1386
Other signals:
1. CLK, or CLOCK, or SCK, or SCLK is the most frequent signal, usually pulses are coming in groups of eight, but can be no visible pause between groups - depends on the device.
2. CS, or SS, or ENABLE - most infrequent signal - it usually active low (that is why it is often marked as CSN - Chip Select Negative, or CS with bar over it). So going down means the beginning of transfer, going up - the end of it. There can be large pauses between up and the next down.
3. MOSI, or SI, or DIN - usually the most diverse signal. It is transfer of information from MCU to radio chip and it is diverse.
4. MISO, or SO, or DOUT - slightly less diverse. The device usually reports status and this status is almost the same. An exception is when MCU reads data packet from RF chip - this happens when there is telemetry or when you deal with receiver.
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.
- C0ckpitvue 777
- Offline
- Posts: 409
www.mediafire.com/download/hqivd439b9cyp...Samples_%5B14%5D.zip
Please Log in or Create an account to join the conversation.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
MOSI is missing, we can't do anything without it.
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
C0ckpitvue 777 wrote: Can someone pleaser check out this power capture for the yifei Xs1.1 and tell me if I'm capturing correctly.
www.mediafire.com/download/hqivd439b9cyp...Samples_%5B14%5D.zip
This model is not 100% compatible with the JJRC X1 ? (already deviated by HexFet btw)
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.
- C0ckpitvue 777
- Offline
- Posts: 409
www.mediafire.com/download/jh024vqb274tc...Samples_%5B10%5D.zip
Btw,this is this great little wind cutter being flown by double f
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
C0ckpitvue 777 wrote: Which model name or protocol?
Sorry I am wrong ...
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
Please Log in or Create an account to join the conversation.
- C0ckpitvue 777
- Offline
- Posts: 409
www.mediafire.com/download/xjqjp4jkbtp8l...ture_yifei_xs1.1.zip
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.
- goebish
- Offline
- I Void Warranties
- Posts: 2631
www.deviationtx.com/forum/protocol-devel...1-1-in-the-nightlies
Please Log in or Create an account to join the conversation.
- 92zb
- Offline
- Posts: 76
But the Saleae software start from Channel 0, so which pin of the analyser correspond to Ch O? Or should I complete ignore it and start from Ch i.
Is GDN connection from TX is to be connected to the GDN Pin ?
After setting the Triger how do you activate it ?
Now there is confusion about collecting the data itslef. Some say 24 MHz and some says 8MHz. How many samples would be enough for each.
Thank you for your help.
Please Log in or Create an account to join the conversation.
- victzh
- Offline
- Posts: 1386
The lowest 2 pins are GND (not GDN) - contraction from Ground. Grounds of the TX and logic analyzer should be connected. CH1 corresponds to Channel 0 in the program, they were not very attentive when they made this knock-off of a real product.
You need to set a trigger to down front (actually it does not matter much, initial signal contains several nonsensical signal changes which are enough to trigger the analyzer) of CS signal. Then you start recording - the analyzer is going to wait for trigger and then you turn on your device and the analyzer will record your signal.
I record at 16MHz or sometimes 24MHz - 8MHz is often enough but does not preserve the timing correctly. You need to have enough samples to be able to operate the TX so that you catch signal from sticks - so 10 seconds or so at 16MHz - 100 to 200 million samples. If you're recording just chip initialization routine and idle signal you can get a second or so - 10 - 20 million.
Please Log in or Create an account to join the conversation.
- 92zb
- Offline
- Posts: 76
Please Log in or Create an account to join the conversation.
- 92zb
- Offline
- Posts: 76
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- SPI capture guide