S2-LP trying to get CSMA/CA working
Hi everyone,
I am trying to set up CSMA/CA on the S2-LP.
Depending on the rssi threshold (RSSI_TH) it may be functional or not.
If I set RSSI_TH very low, data packages are not transmited and I get the interrupt "Max.number of back-off during CCA". As expected.
However, if I set RSSI_TH higher the S2-LP stays in RX state. Even though carrier sense is 0 it just does not send the package. Sometimes after waiting for minutes I get the interrupt "Valid preamble detected", and afterwards the package is transmitted, followed by interrupt "TX data sent".
Why does the S2-LP send the package only after receiving a valid preamble? CSMA should send the package immediately if the channel is free i.e. carrier sense=0, right?
Thanks for any hints and help.
