Other Parts Discussed in Thread: HALCOGEN
Hello,
Based on the Application Note https://www.ti.com/lit/an/spna217/spna217.pdf we succeeded in generating a Sine Wave on one of our HET pins.
We also succeeded in constantly toggling between periods of a sine wave with full amplitude and a similar sine wave with half amplitude using autoswitch. ( Buffers assigned via HTU buffer A and B).
What we would like to achieve is to be able to switch between different Sine Waves (slightly different frequencies) at zero crossings controlled by the cpu.
While trying this we are running into some challenges:
- to obtain sine waves with just slightly different frequencies, we created tables with a different amount of samples. However it does not seem to be possible to use the HTU with mixed different table lengths? (e.g. Buffer A with 128 samples, Buffer B with 120 samples). Is there a way to achieve this?
- How can we use a cpu signal to switch between sine waves on a zero crossing? Is there an interrupt available (e.g. at the point where the autoswitch can happen)? Is that fast enough to seamlessly switch over between two sines?
We are referring to the TMS570 techref manual and App notes 217 and 485.
If there are other useful related resources, we'd be happy to check them.
Thanks.