7.5.10 Set System Mode

Description

The Set System Mode SPI command is used to switch the following modes:

  1. IDLEMode
    1. IDLEMode(RC)
    2. IDLEMode(XTO)
  2. RXMode
  3. PollingMode
Note:

1. The IDLEMode is the only mode that allows reading/writing from/to the SRAM and registers.

The parameters are copied as follows:
  • extReq.systemModeConfig = systemModeConfig
  • extReq.serviceChannelConfig = serviceChannelConfig

Command Frame

Host

0x0D

systemModeConfig

serviceChannelConfig

ATA8210/15

events.system

events.events

dummy

Parameters

  • 0x0D – Command ID
  • systemModeConfig – Parameter for extReq.systemModeConfig variable
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
systemModeConfig RF_CAL VCO_TUNE IDLEModeSelector TMDEN OPM[1:0]

Bit 7: RF_CAL – RF Calibration

0 = RF Calibration before changing OPM disabled

1 = RF Calibration before changing OPM enabled

Bit 6: Reserved Bit

This bit is reserved for future use and is set to ‘0’.

Bit 5: VCO_TUNE – VCO Tuning

0 = VCO tuning before changing OPM disabled

1 = VCO tuning before changing OPM enabled

Bit 4: IDLEModeSelector – IDLEMode Selector

0 = IDLEMode(RC) selected

1 = IDLEMode(XTO) selected

Bit 3: Reserved Bit

This bit is reserved for future use and is set to ‘0’.

Bit 2: TMDEN – Transparent Mode Data Enable

0 = Buffered mode is enabled

1 = Transparent mode is enabled

Bit 1..0: OPM[1:0] – Operation Mode

OPM1

OPM0

Function

0

0

IDLEMode

0

1

Reserved

1

0

RXMode

1

1

RX PollingMode

  • serviceChannelConfig – Parameter for extReq.serviceChannelConfig variable (all modes except PollingMode)

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

serviceChannelConfig

enaPathB

enaPathA

ch[1:0]

ser[2:0]

Bit 7: enaPathB – Enable Path B

0 = Path B disabled

1 = Path B enabled

Bit 6: enaPathA – Enable Path A

0 = Path A disabled

1 = Path A enabled

Bits 5..4: ch[1:0] – Channel

ch1

ch0

Function

0

0

Channel 0

0

1

Channel 1

1

0

Channel 2

1

1

Channel 0 – default

Bit 3: Reserved Bit

This bit is reserved for future use and is set to ‘0’.

Bits 2..0: ser[2:0] – Service[2:0]

Ser2

Ser1

Ser0

Function

0

0

0

Service0

0

0

1

Service1

0

1

0

Service2

0

1

1

Service3

1

0

0

Service4

1

0

1

Reserved

1

1

0

Reserved

1

1

1

Reserved

serviceChannelConfig – Parameter for extReq.serviceChannelConfig variable (PollingMode only)

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

serviceChannelConfig

startPollingIndex

Bits 7..4: Reserved Bits

These bits are reserved for future use and are set to ‘0’.

Bits 3..0: startPollingIndex – Start Index in PollingMode

Return Values

  • events.system – Event byte (see Get Event Bytes from Related Links)
  • events.events – Event byte (see Get Event Bytes from Related Links)
  • 0x00 – Dummy byte (no information)

Set System Mode (IDLEMode)

If Operation Mode OPM IDLEMode is selected, the firmware switches from any mode to IDLEMode. This command is always accepted to set the system to a defined mode.

The following parameters are used:

  • systemModeConfig
    • IDLEModeSelector:
      • 0 switch to IDLEMode(RC)
      • 1 switch to IDLEMode(XTO)
    • OPM Operation Mode (set to 00)
  • OPM serviceChannelConfig
    • none

The following parameters are ignored:

  • systemModeConfig
    • RF_CAL
    • VCO_TUNE
    • TMDEN
  • serviceChannelConfig
    • enaPathB
    • enaPathA
    • ch[1:0]
    • ser[2:0]

Set System Mode (RXMode)

If the operation mode OPM RXMode is selected, the firmware switches from IDLEMode or RXMode to RXMode. The firmware decides if normal switching or direct switching is used.

The following parameters are used:

  • systemModeConfig
    • RF_CAL – If set, the firmware does a correction of the frequency words according to the last measured temperature.
    • VCO_TUNE – If set, the firmware configures the RX flow with VCO tuning SSM.
    • IDLEModeSelector – If set, the system returns to IDLEMode(XTO) after RXMode has finished. If cleared, the system returns to IDLEMode(RC).
    • TMDEN Transparent Data Mode Enable – If set, the system is configured for RXMode(transparent). If cleared, the system is configured for RXMode(buffered).
    • OPM Operation Mode (set to 0b11).
  • serviceChannelConfig
    • enaPathB – If set, path B configuration is used for RXMode.
    • enaPathA – If set, path A configuration is used for RXMode.
    • ch[1:0] – Defines the used channel configuration for RXMode.
    • ser[2:0] – Defines the used service configuration for RXMode.

The following parameters are ignored:

  • Antenna tuning: not part of RXMode

Set System Mode (PollingMode)

If the operation mode OPM PollingMode is selected, the firmware switches from IDLEMode to PollingMode. After the SPI command is accepted, the firmware configures the SSM with VCO tuning (if enabled in systemModeConfig) for the first service/channel configuration. The following service/channel configurations are configured according to their configuration in the SRAM array pollConfig.pollChanConf.

The following parameters are used:

  • systemModeConfig
    • VCO_TUNE – If set, the firmware configures the first service/channel configuration with VCO tuning SSM.
    • IDLEModeSelector – If set, the system remains in IDLEMode(XTO) during the sleep period. If cleared, the system remains in IDLEMode(RC) during the sleep period.
    • TMDEN Transparent Data Mode Enable – If set, the system is configured for PollingMode(transparent).
    • OPM Operation Mode (set to 0b11)
  • serviceChannelConfig
    • startPollingIndex[3:0] is used as array index to start PollingMode.

The following parameters are ignored:

  • systemModeConfig
    • RF_CAL – RF calibration is not available in PollingMode.