Topic: Interrupt mode of TPM
Hi,
I’m trying to understand how the interrupt system work in TPM. The specification seems to me a bit confusing on this subject and during some of my tests using WolfTPM native test I observed a lot of polling.
To keep things simple let’s say I want to generate random numbers and get an interrupt when these are available.
Is there a simple way using WolfTPM to be able to enable this type of interrupt for a command and then disable it to switch back to polling for the next command?
Is there a particular register in the TPM to allow such interruptions to be requested?
I use ST TPMs (ST33TP SPI TPM2) communicating in SPI.
Thanks in advance,
François