8.3.9.5.2 Programming Client Mode

The following fields must be programmed before entering Client mode:

  1. FLEX_TWI_SMR.SADR: The client device address is used in order to be accessed by host devices in Read or Write mode.
  2. (Optional) FLEX_TWI_SMR.MASK can be set to mask some SADR address bits and thus allow multiple address matching.
  3. FLEX_TWI_CR.MSDIS: Disables Host mode.
  4. FLEX_TWI_CR.SVEN: Enables Client mode.

As the device receives the clock, values written in FLEX_TWI_CWGR are not processed.