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,

    It looks fine, because as you mentioned,

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

    This is correct.

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

    The pulse that you see initially might be the radio getting ready for the CTE reception, but since the CTEInfo is not received, the antenna switching is not performed.

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

    That also looks fine.

    Regards,

    Priyanka

Reply
  • Hi,

    It looks fine, because as you mentioned,

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

    This is correct.

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

    The pulse that you see initially might be the radio getting ready for the CTE reception, but since the CTEInfo is not received, the antenna switching is not performed.

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

    That also looks fine.

    Regards,

    Priyanka

Children
  • Thanks.

    I changed the settings a little.

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

    SWITCHPATTERN=0x00 (Scan and Payload)
    SWITCHPATTERN=0x01 (reference period)
    SWITCHPATTERN=0x02 (1st sample period)
    SWITCHPATTERN=0x04 (2nd sample period)
    SWITCHPATTERN=0x08 (3rd sample period)

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

    result is follow,

    On recv no-CTEInfo (INLINE AoA mode)
    'reference period' and 'sample period' will be output, but this is unnecessary processing.
    Additionally there is an unnecessary delay between END_EVENT and PHYEND_EVENT.

    Is this behavior as expected?

Related