Hello,
I need to clarify random time generation on MSP430. I use ACKL 32768 HZ.
assume i have random int each time:
void time(int random){
TA1CCTL0 = CCIE;
TA1CCR0 = random;
TA1CTL = TASSEL_1 + MC_1 + TACLR;
}
This counter should count until random and interrupt is generated. I want to know if I'm right or not:
random * 1 / 32768 = x seconds?
example: 32 * 1 / 32768 = 1 ms?? is right right?
Regards and thanks.