CTEInfo receive with antenna switch

I am developing AoA for nRF52833.

Please tell me about antenna switching.

Setting:

PSEL.DFEGPIO[0]=28
PSEL.DFEGPIO[1]=29
PSEL.DFEGPIO[2]=30
PSEL.DFEGPIO[3]=31

SWITCHPATTERN=0x0
SWITCHPATTERN=0x0
SWITCHPATTERN=0x1
SWITCHPATTERN=0x2
SWITCHPATTERN=0x4
SWITCHPATTERN=0x8

GPIO.DIRSET=0xF0000000
GPIO.OUT=0x00000000

Use CTE inline mode.

If Advertising with CTEInfo is received, the antenna switch will work as expected.

If Advertising without CTEInfo is received, PORT28/29 will change immediately after receiving the Advertising. (It outputs a pulse)

(There will be no change if no Advertising is received at all)

Is this normal operation?

Parents
  • Hi

    Sorry about the late reply, but I've been tasked with taking over this case. Let me take a step back here before we move on. First off, what sample project have you used as the starting point here? The connectionless sample or peripheral + central samples? Is the image you uploaded of the no-CTEInfo diagram something you made yourself or have you found it in documentation somewhere?

    Since the CTEInfo is appended at the end of advertising packets (after the CRC), since the advertisement has told the application that there is CTEInfo appended, it might be that the guard/ref period is alreadty scheduled no matter what the CTEInfo is, and that's why you see these pulses. I will need to confirm with the devs whether or not this is the case though. How long is the delay between END_EVENT and PHYEND_EVENT exactly?

    Best regards,

    Simon

Reply
  • Hi

    Sorry about the late reply, but I've been tasked with taking over this case. Let me take a step back here before we move on. First off, what sample project have you used as the starting point here? The connectionless sample or peripheral + central samples? Is the image you uploaded of the no-CTEInfo diagram something you made yourself or have you found it in documentation somewhere?

    Since the CTEInfo is appended at the end of advertising packets (after the CRC), since the advertisement has told the application that there is CTEInfo appended, it might be that the guard/ref period is alreadty scheduled no matter what the CTEInfo is, and that's why you see these pulses. I will need to confirm with the devs whether or not this is the case though. How long is the delay between END_EVENT and PHYEND_EVENT exactly?

    Best regards,

    Simon

Children
Related