...
By default the TPM Click module use the I2C Bus for communication with the host. The maximum speed of the I2C Bus is 1MHz. If a higher throughput is required, then a SPI bus can be chosen. To select the SPI, the following parts must be populated: R3-R6, C1 and header JP1 must be closed.
The default Emcraft SW doesn’t software does not support communication to TPM Click module via SPI.
Specification
On-board module | ST33KTPM2X, a STSAFE-TPM trusted platform module 2.0 from STM |
Interface | I2C (default), SPI |
Compatibility | mikroBUS™ |
Click board size | S (28.6 x 25.4mm) |
Input voltage | 3.3V |
...
TPM Click Electrical Specification
Description | Min | Typ | Max | Unit |
Supply Voltage | 3.0 | 3.3 | 3.6 | V |
I2C Interface Speed | 0 | - | 1000 | kHz |
SPI Interface Speed | - | - | 66 | MHz |
Operation Temperature Range | -40 | 25 | 105 | °C |
Current Consumption @ Run | - | 17.5 | - | mA |
Current Consumption @ Standby | - | 30 | - | µA |
Pin-out
This table shows how the pin-out on TPM Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
| NC | 1 | AN | PWM | 16 | PP | Physical Presence, active high, internal pull-down. Used to indicate Physical Presence to the TPM. |
Reset | nRST | 2 | RST | INT | 15 | nIRQ | TPM interrupt request to the host, active low |
NC by default, optional SPI Chip (or Slave) Select | CS | 3 | CS | RX | 14 | NC |
|
NC by default, optional SPI Serial Clock | SCK | 4 | SCK | TX | 13 | NC |
|
NC by default, optional SPI Master Input, Slave Output | MISO | 5 | MISO | SCL | 12 | SCL | I2C Clock |
NC by default, optional SPI Master Output, Slave Input | MOSI | 6 | MOSI | SDA | 11 | SDA | I2C Data |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC |
|
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
Onboard Settings
Label | Name | State | Description |
SPI SEL | JP1 | Open (Default) | I2C interface is selected |
Closed | SPI is selected. R3-R6 and C1 must be installed to provide SPI connectivity. |
References
DB5174 STSAFE-TPM trusted platform module 2.0 with a SPI or I²C interface https://www.st.com/resource/en/data_brief/st33ktpm2x.pdf
https://www.st.com/en/secure-mcus/st33ktpm2x.html#documentation