- Posts: 33
Mjx Bugs 3H
- aszasza
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Unfortunately I couldn't use any proper triggering because the thing just keeps talking to the rf module. If someone can tell me what to look for I can try to set up the trigger so it starts capturing after a certain data string or value. The channels are CH0:CSN|CH1:SCK|CH2:MOSI|CH3:IRQ|CH4:TXen|CH5:RXen
Please Log in or Create an account to join the conversation.
- planger
- Offline
Also you need to do multiple dumps in separate files:
- bind
- aileron center/left/center/right center
- same for elevator, rudder, throttle
- any feature button
Please Log in or Create an account to join the conversation.
- planger
- Offline
Strangely DSView "SPI protocol" exports only the decoded bytes with an ID incrementing every byte instead of every instructions (every starts of CSN).aszasza wrote: Here is the first capture, the bind should be in there somewhere. I made it with DSView 0.9.8 on a mac.
I'll need to rewrite my decoder so it just decode the stream instead of looking at the instructions.
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- planger
- Offline
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
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.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- planger
- Offline
There is a big chance that the radio is not checking three response of the xn297l.
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- planger
- Offline
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- planger
- Offline
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- aszasza
- Topic Author
- Offline
- Posts: 33
Please Log in or Create an account to join the conversation.
- planger
- Offline
AILERON, THROTTLE, ELEVATOR, RUDDER values are 0..500.
packet[0]=checksum=packet[1]^..^packet[23]^0x6D <-same as BUGS3
packet[1..3]=TX ID=0x20,0x28,0xBA
packet[4]=THROTTLE>>1=0x00..0xFA
packet[5]=RUDDER>>1=0x00..0x7D..0xFA
packet[6]=ELEVATOR>>1=0x00..0x7D..0xFA
packet[7]=AILERON>>1=0x00..0x7D..0xFA
packet[8]=0x20|AILERON<<7 <- hard to determine exactly since the stick is moving too fast but most likely
packet[9]=0x20|ELEVATOR<<7 <- hard to determine exactly since the stick is moving too fast but most likely
packet[10]=0x20|RUDDER<<7 <- hard to determine exactly since the stick is moving too fast but most likely
packet[11]=0x4E|THROTTLE<<7 <- hard to determine exactly since the stick is moving too fast but most likely
packet[12]=alternates on each packet between:0x00=first packet on RF channel and 0x40=second packet <-looks like change_channel variable of BUGS3, default value 0x86, 0x04 low/high mode, 0x01 picture
packet[13]=flags 0x80=lights, 0x40=arm/0x20=disarm needs to be looked at again, 0x02 and 0x04 pro to altitude 0x00->0x02->0x06 needs to be looked at again
packet[14]=0x00
packet[15]=0x53 <- unknown
packet[16..23]=0x00
Packets are sent every 6840µs.
Bind: NRF_ADDR=0x6D,0x6A,0x78,0x52,0x43 Hopping=0x11,0x1A,0x23,0x2C,0x35,0x17,0x20,0x29,0x32,0x3B,0x14,0x1D,0x26,0x2F,0x38
Normal: NRF_ADDR=0x25,0xB3,0x25,0x3E,0x73 Hopping=0x13,0x25,0x37,0x1F,0x31,0x17,0x28,0x3A,0x1C,0x2E,0x22,0x33,0x19,0x2B,0x3D
Every 13 packets a packet of 16 bytes is received from the model.
rx_packet[0]=CRC somewhat of a sum of something + RSSI
rx_packet[1]=NRF_ADDR[0]
rx_packet[2]=NRF_ADDR[2]
rx_packet[3]=RSSI?
Pascal
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Mjx Bugs 3H