I use a second half of a dual h-bridge to drive a speaker for buzzing sound.
The IC have overshoot protection so no dead-time needed.
This setup works pretty good
mov.w #999,&CCR0
mov.w #OUTMOD_7,&CCTL0
mov.w #500,&CCR1
mov.w #OUTMOD_7,&CCTL1
mov.w #TASSEL_2+MC_1,&TACTL
But what would be the best way to create this?
Maybe even having smoother sound with a rough triangle wave instead, e.g. Positive-off-Negative-off
The IC treat 0-0 and 1-1 as off,
and take in account that one pin is using TA0.0 that it more limited.
P.S does counters use power? (battery operated device), turn them off by:
mov.w #MC_0,&TACTL or turning off the SMCLK is the way to save power?