5.2 Configuring I2C

Module selection: FLEXCOM0 is configured as an I2C host in the MCC component settings.

Parameters:

  • Clock speed: 400 kHz (fast mode) to balance speed for ATtiny Atmel MCU and GT911
  • Number of clients: 2 (I2C clients for display and touch control)

Driver settings: Enable asynchronous transfers to support non-blocking I2C communication

A screenshot of a computer AI-generated content may be incorrect.A screenshot of a computer AI-generated content may be incorrect.