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
  • You can transfer multiple packages with minimum delay between them, you don't have to disable the RADIO before starting another transfer. disabling the radio between each transfer, when you have multiple messages to send, is not very efficient.

    I actually did not find anything in the PS that sais have to wait for the DISABLED event before updating the PACKETPTR. It only sais EASYDMA is finished when the DISABLED event occures. It does not say the PACKETPTR can only be set after a DISABLED event. It sais the PACKERPTR needs to be set before triggering the START task.

    It would be very weird to use the END-START short when we can't even update the PACKETPTR in between. Then we can only send the same package again, or overwrite a previous received message, using that short.

    If we both interpret the PS in different ways then I would like you to ask the engineer who designed it.

Reply Children
No Data
Related