EmbeddedRelated.com
Forums

SMCLK output on P1.4

Started by Mariano Hourquebie June 2, 2004
    I'm working with a MSP430F1121A chip and I have some problem with
the data in the Information Memory Flash.
    
    I think that the flash timing generator frecuency is not correct. I
can't measure the frecuency of SMCLK in the output pin 17 (P1.4) . 

In my code:
P1DIR |= 0x10;
P1SEL |= 0x10;
P2DIR |= 0x01;
P2SEL |= 0x01;

    On the pin 8 (P2.0/ACLK) I can see a square signal of 32 Khz, but on the pin
17 (P1.4/SMCLK/TCK) only I see a continuos signal of 3V.

    Could anybody help me?

Best regards,
Mariano Hourquebie
mhdesarrollos@mhde...





Beginning Microcontrollers with the MSP430

--- In msp430@msp4..., "Mariano Hourquebie" 
<mhdesarrollos@y...> wrote:
>     I'm working with a MSP430F1121A chip and
I have some problem 
with the data in the Information Memory Flash.
>     
>     I think that the flash timing generator frecuency is not 
correct. I can't measure the frecuency of SMCLK in the output pin 17

(P1.4) . 
> 
> In my code:
> P1DIR |= 0x10;
> P1SEL |= 0x10;
> P2DIR |= 0x01;
> P2SEL |= 0x01;
> 
>     On the pin 8 (P2.0/ACLK) I can see a square signal of 32 Khz, 
but on the pin 17 (P1.4/SMCLK/TCK) only I see a continuos signal of 
3V.
> 
>     Could anybody help me?
> 
> Best regards,
> Mariano Hourquebie
> mhdesarrollos@y...
> 
> 
> 
(I am assuming the clocking for the MSP430F1121A is the same as the 
F149).
Are you operating in LPM2 or LPM3? If so, the SCG1 bit in the status 
register disables SMCLK if its not in use. Also, what is your source 
for SMCLK? The DCO is selected if BCSCTL2.SELS is 0; 
otherwise, the XT2CLK or LFXT1CLK is selected.

Mike