Ideas on how to emulate tape monitor functionality on XMC1?