You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Code
My code uses ack payload. Therefore, I do not expect TX_DS after tx.write. At PRX, when I call tx.write, the callback actually gets the flag of RX_DR, which resulting in the false warning.
The fact is that, after calling tx.write, the event listener is expected to be triggered right after the packet is "sent". Despite the other two commands (W_TX_PAYLOAD, W_TX_PAYLOAD_NOACK), this W_ACK_PAYLOAD does not actually fire an interruption. Instead, the following signal is RX_DR, when the PTX sends a packet. Then the TX_DR or MAX_RT should be set due to the acknowledge payload sent. See the figure in pg.45.
In addition, I noticed the line 348, where you leave the RX_DR flag untouched. Is there any specific reason to do that?
Thank you
The text was updated successfully, but these errors were encountered:
I have the problem of "Unexpected IRQ during transmit phase!".
I tried your version of the lib but I don't have any exchanges between my devices... At least with the original version I have some exchanges before a crash.
Did we need to change anything else than the main index.js file ?
Hi,
Code
My code uses ack payload. Therefore, I do not expect
TX_DS
aftertx.write
. At PRX, when I calltx.write
, the callback actually gets the flag ofRX_DR
, which resulting in the false warning.The fact is that, after calling
tx.write
, the event listener is expected to be triggered right after the packet is "sent". Despite the other two commands (W_TX_PAYLOAD
,W_TX_PAYLOAD_NOACK
), thisW_ACK_PAYLOAD
does not actually fire an interruption. Instead, the following signal isRX_DR
, when the PTX sends a packet. Then theTX_DR
orMAX_RT
should be set due to the acknowledge payload sent. See the figure in pg.45.In addition, I noticed the line 348, where you leave theRX_DR
flag untouched. Is there any specific reason to do that?Thank you
The text was updated successfully, but these errors were encountered: