SWITCHPATTERN

nRF5340 Product Specification

Address offset: 0x928

GPIO patterns to be used for each antenna

Maximum 8 GPIOs can be controlled. To secure correct signal levels on the pins, the pins must be configured in the GPIO peripheral as described in Pin configuration.

If, during switching, the total number of antenna slots is bigger than the number of written patterns, the RADIO loops back to the pattern used after the reference pattern.

A minimum number of three patterns must be written.

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID R/W Field Value ID Value Description
A

RW

SWITCHPATTERN

Fill array of GPIO patterns for antenna control.

The GPIO pattern array size is 40 entries.

When written, bit n corresponds to the GPIO configured in PSEL.DFEGPIO[n].

When read, returns the number of GPIO patterns written since the last time the array was cleared. Use CLEARPATTERN to clear the array.