mxmxmx / temps_utile-

teensy 3.2 trigger generator
Other
146 stars 52 forks source link

TR#1/#2 as LOGIC inputs #54

Open ph1-xyz opened 2 years ago

ph1-xyz commented 2 years ago

I expected to be able to perform the LOGIC function on TR1 and TR2, but only CH#1, CH#2, ..., CH#6 were available. Is it due to an hardware limitation?

Conversely, it would have been great being able to select Channels Outputs as inputs for other apps, currently allowing only INT, TR1, TR2. Would that be possible?

Thanks for Temps! It is great!!

patrickdowling commented 2 years ago

It’s not a hardware limitation, but maybe a conceptual one because of the way things are “routed” to generate a clock which drives the channel function. All the channel operations like logic then don’t use TRx directly (at least that’s how I remember it). It’s “just software” so anything’s possible but it’d be a bunch of/more special casing.

Similarly using other channels’ outputs is maybe a bit awkward to implement but should work in theory, although there might be some caveats in practice.