i am a beginner in programming the MSP430F5438A, using CCS5.
i already managed to run the first samples successfully.
now i tried to set the DCO-freq, and found some different sources with the following code:
// Set system DCO to 8MHz
BCSCTL1 = CALBC1_8MHZ;
DCOCTL = CALDCO_8MHZ;
// Set LFXT1 to the VLO @ 12kHz
BCSCTL3 |= LFXT1S_2;
but the compiler says:
identifier "BCSCTL1" is undefined
identifier "CALBC1_8MHZ" is undefined
identifier "DCOCTL" is undefined
identifier "CALDCO_8MHZ" is undefined
identifier "BCSCTL3" is undefined
identifier "LFXT1S_2" is undefined
what is the problem here?
those registers seem to be standard and used by many different persons!?
do i have to implement any special libraries?
the datasheet doesn´t help me, because i cannot find a register with the specific settings for different frequencies..
DCORSELx only specifies ranges .... very confusing :o) !?
thanks for your help!