I have twe NRF24L01 module,one set Tx mode with autoask,and another set Rx mode without autoask,
The channel and address are same.
Can I use this mode to communication?
I have twe NRF24L01 module,one set Tx mode with autoask,and another set Rx mode without autoask,
The channel and address are same.
Can I use this mode to communication?
Hello,
In general check out nAN24-12:
https://www.nordicsemi.com/eng/nordic/Products/nRF24L01/nAN24-12/10640
Typically to disable auto ack you use the W_TX_PAYLOAD_NO ACK command when transmitting data from PTX to (one or several) PRX instead of W_TX_PAYLOAD. There is no need to disable auto ack on the PRX.
Best regards,
Kenneth
Hello,
Thanks for your reply!
There may be some problems with my description. Next, I will describe it in detail.
Actually, I need three NRF24L01 module, one set to PTX, and the other two set to PRX.
The PTX enable autoask, the PRX_A also enable autoask and the PRX_B disable autoask.
The function I want to achieve is this: The PTX send data(60HZ) as time synchronization signal (like a clock) to PRX_A and PTX_B, but just need PRX_A to acknowledgement, because PRX_A need to send my command to PTX by ACK packet. MCU according to PRX_A and PRX_B received signal(IRQ) to adjust MCU timer.
But if PTX enable autoask, The PRX_B can't communicate with PTX,can't receive the sync signal.
So my question is how can PRX_B receive the PTX data.
Thanks for your help!
Hi,
What you describe it not easily possible, because your scenario is not supported. The PRX_B can't disable auto ack, because this is controlled from the PTX using either W_TX_PAYLOAD or W_TX_PAYLOAD_NOACK command when writing packet.
My suggestion is that you use W_TX_PAYLOAD_NOACK command from PTX, and the switch to RX mode after transmission complete. The PRX_A can switch to TX mode after receive packet and send a packet back using W_TX_PAYLOAD_NOACK. In such setup PRX_B can receive both packets from PTX and PRX_A.
Best regards,
Kenneth
Hi,
What you describe it not easily possible, because your scenario is not supported. The PRX_B can't disable auto ack, because this is controlled from the PTX using either W_TX_PAYLOAD or W_TX_PAYLOAD_NOACK command when writing packet.
My suggestion is that you use W_TX_PAYLOAD_NOACK command from PTX, and the switch to RX mode after transmission complete. The PRX_A can switch to TX mode after receive packet and send a packet back using W_TX_PAYLOAD_NOACK. In such setup PRX_B can receive both packets from PTX and PRX_A.
Best regards,
Kenneth
Hi Kenneth,
I have some questions.I have done a test.For the test,nrf52832 is set to TX mode enable autoask.
nrf24l01+ is set to RX mode.nrf24l01+ can receive the package from nrf52832 whether nrf24l01+ is set to autoask or not.But using nrf24l01+ as PTX cannot communicate between two nrf24l01+'s.I want to know the difference between nrf52832 or nrf24l01+ as PTX with autoask.