[Oberon] FPGA - nRF24L01 `RPI Net' server

Paul Reed paulreed at paddedcell.com
Wed May 16 19:02:17 CEST 2018


Hi Tomas,

> void RF24::stopListening(void)
> {
>   ce(LOW);
>   delayMicroseconds(txDelay);
>   write_register(NRF_CONFIG, ( read_register(NRF_CONFIG) ) &
>   ~_BV(PRIM_RX) );
> }

That code seems to turn the radio off via CE, delay, and then reset the
PRIM_RX bit, ie changes the chip from a receiver to a transmitter.

But the ACK is received when PRIM_RX=0, ie when the chip is nominally a
transmitter.  I know it technically has to be a receiver to receive the
ACK, but if you send multiple packets PRIM_RX stays at 0, right?

See the state diagram in ch. 6.  In fact see the whole of ch. 6 and 7. :) 
The state diagram is a little ambiguous as to what PRIM_RX is in Standby-I
mode.  But I think the text is clear.

Cheers,
Paul




More information about the Oberon mailing list