In reply to cgales:
I do not believe this is a flexible approach.
You should follow what I have recommended. Then your ae focused on the driver only.
BTW a new transaction is only generated when you have completed the processing of the last on.
I believe you should try to understand the TLM approach.
A transaction does not know anything about time units and clock cycles.