Hello, I want to send some data via the radio and then turn the radio to receive data. For the receiving, I need to setup a timeout. I would like to keep the timeout as small as possible because in most cases there will be no answer to the transmission.
The largest possible package, I could receive, would be 2120 bits. Given a baudrate of 1Mbit/s, that 2120 bits could last ~2ms to be received. I expect the start of the receiving to start ~150µs after the transmission.
If I would use the DISABLE, END or PAYLOAD event to detect, that I'm going to get an answer, I would have to setup a very larg timeout (>2ms).
I think the best would be to setup a timer and cancel that timer after receiving an ADDRESS event. But, by doing so, I would have to rely on getting an END event in all possible cases.
Can I rely on getting an END event, once I've got an ADDRESS event within a certain time? And if so, could I rely on that time beeing something like PCNF1.MAXLEN * 1µs?
best regards and thank you for any tipp, hint or help in advance, Torsten