The SAMA7G54 SOM Series offers 12 FLEXCOM interfaces
configurable in TWI mode and one TWI interface.
The TWI can interconnect with external components on a unique two-wire bus made up of one
clock line and one data line with speeds of up to 400 Kbits/s in Fast mode and up to 3.4
Mbits/s in High-Speed Client mode, based on a byte-oriented transfer format.
It can be used with any TWI bus serial EEPROM and I²C-compatible devices, such as a
Real-Time Clock (RTC), a dot matrix/graphic LCD controller or a temperature sensor. The
TWI is programmable as a host or a client with sequential or single-byte access.
Multiple host capability is supported.
Table 10-1. I²C/TWI Interface FLEXCOM0
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM0 | 1 | 125 | PA0 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 130 | PA1 | Clock line (TWCK/SCL) |
| FLEXCOM0 | 4 | 46 | PE3 | Data line (TWD/SDA) |
| 49 | PE4 | Clock line (TWCK/SCL) |
Table 10-2. I²C/TWI Interface FLEXCOM1
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM1 | 1 | 127 | PA5 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 124 | PA6 | Clock line (TWCK/SCL) |
| FLEXCOM1 | 2 | 20 | PD12 | Data line (TWD/SDA) |
| 21 | PD13 | Clock line (TWCK/SCL) |
| FLEXCOM1 | 3 | 126 | PA2 | Data line (TWD/SDA) |
| 128 | PA3 | Clock line (TWCK/SCL) |
| FLEXCOM1 | 4 | 87 | PC9 | Data line (TWD/SDA) |
| 88 | PC10 | Clock line (TWCK/SCL) |
Table 10-3. I²C/TWI Interface FLEXCOM2
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM2 | 1 | 123 | PA7 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 122 | PA8 | Clock line (TWCK/SCL) |
| FLEXCOM2 | 2 | 23 | PD17 | Data line (TWD/SDA) |
| 111 | PD18 | Clock line (TWCK/SCL) |
| FLEXCOM2 | 3 | 121 | PA4 | Data line (TWD/SDA) |
| 127 | PA5 | Clock line (TWCK/SCL) |
| FLEXCOM2 | 4 | 89 | PC11 | Data line (TWD/SDA) |
| 90 | PC12 | Clock line (TWCK/SCL) |
| FLEXCOM2 | 5 | 22 | PD14 | Data line (TWD/SDA) |
| 19 | PD15 | Clock line (TWCK/SCL) |
Table 10-4. I²C/TWI Interface FLEXCOM3
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM3 | 1 | 180 | PA15 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 179 | PA16 | Clock line (TWCK/SCL) |
| FLEXCOM3 | 2 | 55 | PC0 | Data line (TWD/SDA) |
| 56 | PC1 | Clock line (TWCK/SCL) |
| FLEXCOM3 | 3 | 124 | PA6 | Data line (TWD/SDA) |
| 123 | PA7 | Clock line (TWCK/SCL) |
| FLEXCOM3 | 4 | 91 | PC13 | Data line (TWD/SDA) |
| 92 | PC14 | Clock line (TWCK/SCL) |
| FLEXCOM3 | 5 | 24 | PD16 | Data line (TWD/SDA) |
| 23 | PD17 | Clock line (TWCK/SCL) |
Table 10-5. I²C/TWI Interface FLEXCOM4
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM4 | 1 | 175 | PA20 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 178 | PA21 | Clock line (TWCK/SCL) |
| FLEXCOM4 | 2 | 57 | PC2 | Data line (TWD/SDA) |
| 59 | PC3 | Clock line (TWCK/SCL) |
| FLEXCOM4 | 3 | 122 | PA8 | Data line (TWD/SDA) |
| 119 | PA9 | Clock line (TWCK/SCL) |
| FLEXCOM4 | 4 | 93 | PC15 | Data line (TWD/SDA) |
| 99 | PC16 | Clock line (TWCK/SCL) |
| FLEXCOM4 | 5 | 111 | PD18 | Data line (TWD/SDA) |
| 110 | PD19 | Clock line (TWCK/SCL) |
Table 10-6. I²C/TWI Interface FLEXCOM5
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM5 | 1 | 187 | PA28 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 188 | PA29 | Clock line (TWCK/SCL) |
| FLEXCOM5 | 2 | 30 | PD25 | Data line (TWD/SDA) |
| 36 | PD26 | Clock line (TWCK/SCL) |
| FLEXCOM5 | 3 | 120 | PA10 | Data line (TWD/SDA) |
| 129 | PA11 | Clock line (TWCK/SCL) |
| FLEXCOM5 | 4 | 100 | PC17 | Data line (TWD/SDA) |
| 101 | PC18 | Clock line (TWCK/SCL) |
| FLEXCOM5 | 5 | 29 | PD20 | Data line (TWD/SDA) |
| 26 | PD21 | Clock line (TWCK/SCL) |
Table 10-7. I²C/TWI Interface FLEXCOM6
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM6 | 1 | 6 | PB2 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 5 | PB1 | Clock line (TWCK/SCL) |
| FLEXCOM6 | 2 | 31 | PD30 | Data line (TWD/SDA) |
| 37 | PD31 | Clock line (TWCK/SCL) |
| FLEXCOM6 | 3 | 131 | PA12 | Data line (TWD/SDA) |
| 132 | PA13 | Clock line (TWCK/SCL) |
| FLEXCOM6 | 4 | 102 | PC19 | Data line (TWD/SDA) |
| 103 | PC20 | Clock line (TWCK/SCL) |
Table 10-8. I²C/TWI Interface FLEXCOM7
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM7 | 2 | 85 | PC7 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 86 | PC8 | Clock line (TWCK/SCL) |
| FLEXCOM7 | 3 | 181 | PA25 | Data line (TWD/SDA) |
| 185 | PA26 | Clock line (TWCK/SCL) |
| FLEXCOM7 | 4 | 52 | PB28 | Data line (TWD/SDA) |
| 53 | PB29 | Clock line (TWCK/SCL) |
Table 10-9. I²C/TWI Interface FLEXCOM8
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM8 | 1 | 144 | PB8 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 156 | PB9 | Clock line (TWCK/SCL) |
| FLEXCOM8 | 2 | 92 | PC14 | Data line (TWD/SDA) |
| 91 | PC13 | Clock line (TWCK/SCL) |
| FLEXCOM8 | 3 | 186 | PA27 | Data line (TWD/SDA) |
| 187 | PA28 | Clock line (TWCK/SCL) |
| FLEXCOM8 | 4 | 58 | PB30 | Data line (TWD/SDA) |
| 54 | PB31 | Clock line (TWCK/SCL) |
Table 10-10. I²C/TWI Interface FLEXCOM9
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM9 | 1 | 151 | PB13 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 155 | PB14 | Clock line (TWCK/SCL) |
| FLEXCOM9 | 2 | 101 | PC18 | Data line (TWD/SDA) |
| 102 | PC19 | Clock line (TWCK/SCL) |
| FLEXCOM9 | 3 | 188 | PA29 | Data line (TWD/SDA) |
| 3 | PA30 | Clock line (TWCK/SCL) |
| FLEXCOM9 | 4 | 55 | PC0 | Data line (TWD/SDA) |
| 56 | PC1 | Clock line (TWCK/SCL) |
Table 10-11. I²C/TWI Interface FLEXCOM10
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM10 | 2 | 17 | PC30 | Data line (TWD/SDA) | No external pull-up needed. Already
integrated in the SAMA7G54 SOM
Series |
| 16 | PC31 | Clock line (TWCK/SCL) |
Table 10-12. I²C/TWI Interface FLEXCOM11
Configurations| Interface Instance | IO Set | Pin No. | Pin Name | Function | Comment |
|---|
| FLEXCOM11 | 1 | 139 | PB3 | Data line (TWD/SDA) | External pull-up needed if the FLEXCOM
interface is used as an I²C/TWI interface |
| 140 | PB4 | Clock line (TWCK/SCL) |
| FLEXCOM11 | 2 | 106 | PD0 | Data line (TWD/SDA) |
| 107 | PD1 | Clock line (TWCK/SCL) |
| FLEXCOM11 | 3 | 5 | PB1 | Data line (TWD/SDA) |
| 6 | PB2 | Clock line (TWCK/SCL) |
| FLEXCOM11 | 4 | 60 | PC4 | Data line (TWD/SDA) |
| 61 | PC5 | Clock line (TWCK/SCL) |