Hello,
When looking into the register map for OTP memory, I am confused on how they are storing both TX and RX antenna delays, for both PRF 64 and PRF 16 modes, all in 4 bytes…
![]()
In the deca_driver functions dwt_settxantennadelay and dwt_setrxantennadelay, they accept 16-bit unsigned values, so each RX and TX antenna delays are 16-bits. But according to the register map in OTP memory, each antenna delay would be 8-bits since they are storing TX/RX for both PRF 64 and PRF 16 in only 4 bytes…
I am trying to write some C code that will update this OTP after calibration, but I am not sure how i will store both RX and TX antenna delays for a specific PRF, based on that memory map.
Thanks,
Nicolas