Transmit side (adf7242 Eval board + microZed board)
Receive side (adf7242 Eval board + microZed board)
Test applications on Transmit and Receive side:
- Modified test3.c on receive side to be in receive mode
- Modified test3.c on transmit side to transmit one thousand packets when executed
(test3.c is here.)
- Receiver side application stops receiving packets once transmission starts
- Interrupt line on receive side ADF7242 eval board does not generate any interrupt once this state is reached (checked on oscilloscope)
- Transmission side does not have this issue
- If the receiver side temporarily switches direction and transmits one/more packet, then receiving of packets continues (till it hangs next time)
- Reload adf7242 driver on receiver side
I am designing my reception app to always be in receive mode. Without using the temporary transmission fix (which is temporary for now), what may be causing receive side to hang and how do I fix this issue?
Sorry I haven't had time to look into the duplicate packet issue.
As far as I can tell - this setting is not turning off the CSMA/CA however it won't do a resend an unacknowledged packet.
If you want to turn off CSMA/CA you should set max CCA retries to 7.
It's certainly a valid mode to operate - However I can't tell whether this suits your application needs or not.
I would like to know how to set the max_cca_retries?
We checked the DTS file and the iwpan options also. Could not find anything in it for CCA_retries?
Ran the following tests:
Purpose: To compare data rates for "no-6Lowpan" vs 6Lowpan.
Getting a maximum of 45 kbps. What's the maximum i can reach?
100 bytes from 0x8001 seq=0 time=22.0 ms (that's the approx. time I am getting). Sending 10 packets at a time, getting roughly 44 kilo-bits/second. (For data rate calculation I am using average time duration values as shown in the test code)Any specific ADF7242 settings that can get me highest or atleast higher data rates?
To add more on this, my SPI clock is set to 300 kHz.
Is that going to bring down my data rates?
Yes this will impact your throughput rate.
Thanks for that.
So I changed the SPI frequency. The throughput definitely is impacted.
Calculating the data rates on this is a little bit of a tricky matter. What's the highest data rate you have got?
How I can disable the ACK request?
I want to test simplex mode of operation. ( i.e., one transceiver set to Tx mode and the other set to Rx mode).