[Oberon] FPGA - nRF24L01 `RPI Net' server

Tomas Kral thomas.kral at email.cz
Wed May 16 18:41:37 CEST 2018


On Wed, 16 May 2018 15:27:05 +0100
Paul Reed <paulreed at paddedcell.com> wrote:

> One reason I can think of for missing the ACK would be if the radio
> happens to be off.

In the code, stopping to listen, there is a specific delay.

void RF24::stopListening(void)
{
  ce(LOW);
  delayMicroseconds(txDelay);
  write_register(NRF_CONFIG, ( read_register(NRF_CONFIG) ) &
  ~_BV(PRIM_RX) ); 
}
That in my opinion, waits for any ACK pending to finish (if not lost
already), before switching TX/RX. This is followed by `write' call.

That corresponds to `SCC.SubSnd()'. I have tried to set `txDelay' value
as to get best response from Oberon end. 

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list