[Oberon] FPGA - nRF24L01 `RPI Net' server
Jörg Straube
joerg.straube at iaeth.ch
Fri May 18 11:03:18 CEST 2018
Tomas
As you are using Enhanced Shockburst mode (auto ack and auto retransmission) you don‘t need REUSE_TX_PL.
If MAX_RT is reached, the TX_FIFO is not emptied. Resetting MAX_RT and toggling CE is enough to resend the same packet again. See detailed description in 7.8.7
br
Jörg
> Am 17.05.2018 um 18:37 schrieb Tomas Kral <thomas.kral at email.cz>:
>
> On Thu, 17 May 2018 18:15:43 +0200
> Jörg Straube <joerg.straube at iaeth.ch> wrote:
>
>> What does reUseTX() do?
>
> I am trying to figure out at the moment,
> Thank you for taking your interest.
>
> void RF24::reUseTX(){
> write_register(NRF_STATUS,_BV(MAX_RT) ); //Clear max retry
> spiTrans( REUSE_TX_PL );
> ce(LOW); //Re-Transfer packet
> // delayMicroseconds(10);
> ce(HIGH);
> }
>
> as it also does things without REUSE_TX but with 10 us.
>
> --
> Tomas Kral <thomas.kral at email.cz>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
More information about the Oberon
mailing list