Part Number: MSP430FR5969
I'm trying to use the random number generator code from this example:
http://processors.wiki.ti.com/index.php/MSP430_FAQ#How_to_generate_random_number_with_MSP430_devices.3F
Additionally I set the ACLK to use the VLO using:
CSCTL2 = SELA__VLOCLK | SELS__DCOCLK | SELM__DCOCLK;
When I run this code it hangs on:
while(!(TA0CCTL1 & CCIFG));
This is probably because I'm using a different MSP family: MSP430FR59xx
I found this additional info: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/446531
But I'm not sure what to change to make it work.
Page 62 of the datasheet http://www.ti.com/lit/ds/symlink/msp430fr5969.pdf