This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

When can the PACKETPTR register be updated?

I am using the radio in the nRF52832 to support a custom protocol. I would like to send two packets in a row, each with different payloads, on the same frequency. When can I safely update the PACKETPTR register to point to the new packet contents? After the PAYLOAD event or after the END event?

After the PAYLOAD event would be ideal, as this would allow me to use the END->START shortcut, provided I can update the PACKETPTR register in the time it takes to transmit the CRC. The datasheet actually says to wait until after the DISABLED event, but I am hoping that is not the case.

Thanks!

Parents
  • I am sorry, my last comment got deleted somehow. I will rewrite it

    I agree with abkirchhoff, getting PAYLOAD, ADDRESS or END event should theoretically be enough in TX mode to know that the EasyDMA has done fetching the packet from RAM.

    @Martijn: I can see that the decision point is little blurry when it comes to TX mode, but for RX you have to wait until you get the DISABLED event.

Reply
  • I am sorry, my last comment got deleted somehow. I will rewrite it

    I agree with abkirchhoff, getting PAYLOAD, ADDRESS or END event should theoretically be enough in TX mode to know that the EasyDMA has done fetching the packet from RAM.

    @Martijn: I can see that the decision point is little blurry when it comes to TX mode, but for RX you have to wait until you get the DISABLED event.

Children
No Data
Related