I really do not know to use switchoffset and the sampleoffset.
what would happen if we set both to 0?
thanks
I really do not know to use switchoffset and the sampleoffset.
what would happen if we set both to 0?
thanks
Hi
You can set TSWITCHOFFSET with "DFECTRL2.TSWITCHOFFSET=x" where x will be the switch offset to tune the switching instant to your liking. I'm not entirely sure what the problem is here or what you need here. If both offsets are set to 0, there will be no switch offset and no relative offset of the sampling instant. But TSAMPLEOFFSET should not be set to 0, but between 1-20 depending on the PHY and slotDuration you want to use.

Best regards,
Simon
Hi
You can set TSWITCHOFFSET with "DFECTRL2.TSWITCHOFFSET=x" where x will be the switch offset to tune the switching instant to your liking. I'm not entirely sure what the problem is here or what you need here. If both offsets are set to 0, there will be no switch offset and no relative offset of the sampling instant. But TSAMPLEOFFSET should not be set to 0, but between 1-20 depending on the PHY and slotDuration you want to use.

Best regards,
Simon
Hi Simon,
I understand that TSAMPLEOFFSET is a signed number for a relative offset of the sampling instant. But I'm a little confused. When I set TSAMPLEOFFSET=15, what exactly does 15 mean? Or, what is the unit(like µs)? My understanding is that TSAMPLEOFFSET is the delay from the end of the antenna switch (or the start of the sampling slot),until the actual sampling action occurs. This delay should not exceed 2 µs.
From the nRF52833 product specification: "TSAMPLEOFFSET - Signed value offset before starting sampling in number of 16M cycles relative to the beginning of the REFERENCE state - 12 µs after switching start."
Best regards,
Simon