5.5.3.7.2 SYNC modes
SYNC can be requested by either PIN or using the SPI interface. Following table lists the register values that must be programmed to use the SYNC functionality:
Table 22. Additional SYNC Bits
BIT NAME |
FUNCTION |
GLOBAL_SYNC |
Global SW SYNC. Writing 1 puts the Device into SYNC mode. Writing 0 exits SYNC mode. |
SYNC_EN_CH1
SYNC_EN_CH2
SYNC_EN_CH3_4
SYNC_EN_CH5
SYNC_EN_CH6
SYNC_EN_CH7_8
SYNC_EN_CH9
SYNC_EN_CH10 |
Enables the corresponding channel for SYNC functionality |
Steps to configure each mode are described below.
- SYNC pin mode:
- EN_SYNC_PIN_FUNC should be set to 1. This enables the different functions supported by the SYNC pin.
- SYNC_PIN_FUNC[1:0] should be programmed to 00b (default). This sets the SYNC pin for SYNC function.
- SYNC_INV, when 0, SYNC is rising edge triggered. When set to 1, the SYNC pin is internaly inverted and is falling edge triggered.
- SYNC_EN_CHx should be set 1 for the channels which needs to SYNCed.
- Depending on the SYNC_INV value, the output channels are SYNChronized by either rising edge or the falling edge on the SYNC pin.
- SYNC SPI mode:
- EN_SYNC_PIN_FUNC should be set to 0. This disables the pin mode for SYNC function.
- SYNC_EN_CHx should be set 1 for the channels which must SYNCed.
- Writing 1 to the GLOBAL_SYNC puts the device into SYNC mode.