A msp430 need to finish the current instruction before it jumps to a ISR, so you don't know if that is 1-3 cycles away. So switch to hardware TA0CCR0 out, with clever divider options you should be able to get the large range of 1ms to 15'000ms TA0CCR0 =3200-1; //500 usec << should use -1 as it restart at zero
↧