Hi Mattias. The TC234's GTM doesn't have the Multi-Channel Sequencer (MCS) present on higher end devices that could easily do what you're after.
Check out the Input / Output Monitor peripheral. The idea is that you can compare a reference signal (e.g., a bridge driver output) to a monitor signal (e.g., feedback from the bridge driver), with a possible signal delay between the two.
The challenge with the IOM is that the supported pins are limited (see 28.10 SoC Integration in the User Manual). Adding IOM support to an existing PCB is usually not possible, but if you know you want to use it in advance, you can pick the right pins.
Thanks for the reply! I will look into the IOM, seems to be promising.
Does someone here have any example code on how to use it?
//Mattias