Hi all,
I am trying to implement/edit an UART library (https://github.com/wendlers/msp430-softuart) on 2452 to run on MCLK 8MHz and SMCLK at 8MHz (by /8 divider).
BCSCTL1 = CALBC1_1MHZ;
DCOCTL = CALDCO_1MHZ;
Then I changed the MCLK to 8MHz and divided the SMCLK to 1MHz, but even after some magic with USB ports (I am using debian) or restarts I can't get it working as in the initial version (which still works when I reflash the chip).
The changed snippet in 2452_echo.c:
BCSCTL1 = CALBC1_8MHZ;
DCOCTL = CALDCO_8MHZ;
/* set sub-main clock to 1MHz */
//BCSCTL2 = D