This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F2013: How they translate into register values

Genius 9880 points

Part Number: MSP430F2013

Hi Team,

Customer want to know  how MSP430F2013 DC0 clock configuration translate into register values. Customer details below.

"

In the C programming examples i am using the internal clock DC0 is configured in a way I do not understand. e.g. DC0CTL - CALBC1_1MHZ and BCSCTL1 = CALBC1_1MHZ. I looked up the definition of the CALxxx and I am not understanding how they translate into register values.

As part of this I am simply trying to understand the C code from the examples. The chip has a 8 bit digital clock register called DC0CTLand long with 3 BCSCTL.

n the example I am using the DC0CTL is set to CALD0_1MHZ and the BCSCTL1 is set to CALBC1_1MHZ. I see these defined in the .cmd file but I do not understand the values.

"

Thank you in advance.

Regards,

Maynard

**Attention** This is a public forum