TWIM — I2C compatible two-wire interface controller with EasyDMA

nRF54L15 | nRF54L10 | nRF54L05 Datasheet

The TWI controller peripheral (TWIM) with EasyDMA provides a half duplex, two-wire synchronous serial communication interface which supports multiple targets in the same bus.

The main features of TWIM are the following:

  • I2C compatible for 100 kbps and 400 kbps
  • 1000 kbps bit rate support for selected pull-up resistor/bus capacitance combinations
  • Supported baud rates:
    • 100 kbps
    • 400 kbps
    • 1000 kbps
  • EasyDMA direct transfer to and from RAM
  • Individual selection of I/O pins
  • Support for clock stretching
  • Transmissions can be suspended and resumed

The two-wire interface can communicate with a bidirectional wired-AND bus with two lines (SCL, SDA). The interface enables interconnecting up to 127 individually addressable devices. TWIM is not compatible with CBUS.

Selecting GPIO pins individually ensures flexibility in device pinout and efficient use of board space and signal routing.

Figure 1. TWIM with EasyDMA
TWI master with EasyDMA (TWIM)

A typical TWIM setup consists of one controller and one or more targets, as illustrated in the following figure. TWIM can only operate as a single controller on the TWI bus. A bus configuration with multiple controllers is not supported.

Figure 2. A typical TWIM setup with one controller and three targets
Page-1 Dynamic connector.940 Dynamic connector.950 Dynamic connector.956 Dynamic connector.974 Dynamic connector.977 Dynamic connector.980 Dynamic connector.991 Dynamic connector.992 Sheet.1381 Sheet.1380 TWI master (TWIM) TWIM Sheet.1392 TWI target (Sensor) Address = b1011000 TWI target (Sensor) Address = b1011000 Sheet.1403 TWI target Address = b1011011 TWI target Address = b1011011 Sheet.1415 TWI target (EEPROM) Address = b1011001 TWI target (EEPROM) Address = b1011001 Dynamic connector.960 Dynamic connector.976 Sheet.1451 SCL SCL Sheet.1452 SDA SDA Sheet.1453 SCL SCL Sheet.1454 SDA SDA Sheet.1455 SCL SCL Sheet.1456 SDA SDA Sheet.1457 SDA SDA Sheet.1458 SCL SCL Nordic Blue R R Nordic Blue.1462 R R Sheet.1466 VDD VDD Dynamic connector.1468 Dynamic connector.1469 Sheet.1470 VDD VDD Circle Circle.1472 Circle.1473 Circle.1474 Circle.1475 Circle.1476

TWIM supports clock stretching performed by the targets.