Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | MSP430 | MSP430F149: Feed SMCLK using LFXT1CLK

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

MSP430F149: Feed SMCLK using LFXT1CLK - Jon Garcia de Salazar Bilbao - Sep 14 9:54:18 2009

Hi everyone,=20=20=20=20=20=20

I=E2=80=99m using MSP430F149. I have a 32KHz xtal in LFXT1CTL and no xtal i=
n XT2CTL. I=E2=80=99m already using ACLK (at 32.768KHz) to feed both Timer_=
A and Timer_B. I want to use my watchdog with a freq lower than 1Hz so I th=
ought I would feed it using SMCLK using LFXT1CLK as source. So I checked th=
e user=E2=80=99s guide and everything looked ok:

=20

=E2=80=9CSMCLK: Sub-main clock. SMCLK is software selectable as LFXT1CLK, X=
T2CLK (if available on-chip), or DCOCLK. SMCLK is divided by 1, 2, 4, or 8.=
SMCLK is software selectable for individual peripheral modules.=E2=80=9D

=20

So I just went on to see how to configure basic clock module registers and =
read:

=20

=E2=80=9CSELS Bit 3 Select SMCLK. This bit selects the SMCLK source.

0 DCOCLK

1 XT2CLK when XT2 oscillator present on-chip. LFXT1CLK when XT2 oscillator =
not present on-chip.=E2=80=9D

=20

So I thought Oscilator !=3D Xtal and even if there=E2=80=99s no xtal in XT2=
CTL the oscillator must be present on-chip. So I guess it=E2=80=99s not pos=
sible. But I just want to check if I=E2=80=99m right.

Is it possible to feed SMCLK using LFXT1CLK in MSP430F149?

=20

Thanks, Jon.

[Non-text portions of this message have been removed]

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )


Re: MSP430F149: Feed SMCLK using LFXT1CLK - Dirk Rapp - Sep 14 10:15:53 2009

Hi Jon,

I use the F261x but I think it is the same.
I is NOT possible in the chip (if the XT2-module is present,
nothing to do with the Xtal). There is a Figure (5-1 in my case)
which show that there is only a connection if XT2-module
is absend, otherwise two outputs working agains each other.
But you can use the ACLK pin and connect it to the TX2IN pin.
And than configurethe XT2CLT.
Never tried this, but it should work.

Regards,

Dirk
Jon Garcia de Salazar Bilbao schrieb:
>
>
> Hi everyone,
>
> I’m using MSP430F149. I have a 32KHz xtal in LFXT1CTL and no xtal in
> XT2CTL. I’m already using ACLK (at 32.768KHz) to feed both Timer_A and
> Timer_B. I want to use my watchdog with a freq lower than 1Hz so I
> thought I would feed it using SMCLK using LFXT1CLK as source. So I
> checked the user’s guide and everything looked ok:
>
> “SMCLK: Sub-main clock. SMCLK is software selectable as LFXT1CLK,
> XT2CLK (if available on-chip), or DCOCLK. SMCLK is divided by 1, 2, 4,
> or 8. SMCLK is software selectable for individual peripheral modules.”
>
> So I just went on to see how to configure basic clock module registers
> and read:
>
> “SELS Bit 3 Select SMCLK. This bit selects the SMCLK source.
>
> 0 DCOCLK
>
> 1 XT2CLK when XT2 oscillator present on-chip. LFXT1CLK when XT2
> oscillator not present on-chip.”
>
> So I thought Oscilator != Xtal and even if there’s no xtal in XT2CTL
> the oscillator must be present on-chip. So I guess it’s not possible.
> But I just want to check if I’m right.
>
> Is it possible to feed SMCLK using LFXT1CLK in MSP430F149?
>
> Thanks, Jon.
>
> [Non-text portions of this message have been removed]

--
Ingenieurbüro Dirk Rapp
Hard- & Softwareentwicklung

Adelhauser Str. 36
79585 Steinen

Tel.: +49 7627 923494
Mobil: +49 173 6686246

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )

Re: MSP430F149: Feed SMCLK using LFXT1CLK - old_cow_yellow - Sep 14 10:16:33 2009

No.

--- In m...@yahoogroups.com, "Jon Garcia de Salazar Bilbao" =
wrote:
>
> Hi everyone,=20=20=20=20=20=20
>=20
> I=E2=80=99m using MSP430F149. I have a 32KHz xtal in LFXT1CTL and no xtal=
in XT2CTL. I=E2=80=99m already using ACLK (at 32.768KHz) to feed both Time=
r_A and Timer_B. I want to use my watchdog with a freq lower than 1Hz so I =
thought I would feed it using SMCLK using LFXT1CLK as source. So I checked =
the user=E2=80=99s guide and everything looked ok:
>=20
>=20=20
>=20
> =E2=80=9CSMCLK: Sub-main clock. SMCLK is software selectable as LFXT1CLK,=
XT2CLK (if available on-chip), or DCOCLK. SMCLK is divided by 1, 2, 4, or =
8. SMCLK is software selectable for individual peripheral modules.=E2=80=9D
>=20
>=20=20
>=20
> So I just went on to see how to configure basic clock module registers an=
d read:
>=20
>=20=20
>=20
> =E2=80=9CSELS Bit 3 Select SMCLK. This bit selects the SMCLK source.
>=20
> 0 DCOCLK
>=20
> 1 XT2CLK when XT2 oscillator present on-chip. LFXT1CLK when XT2 oscillato=
r not present on-chip.=E2=80=9D
>=20
>=20=20
>=20
> So I thought Oscilator !=3D Xtal and even if there=E2=80=99s no xtal in X=
T2CTL the oscillator must be present on-chip. So I guess it=E2=80=99s not p=
ossible. But I just want to check if I=E2=80=99m right.
>=20
> Is it possible to feed SMCLK using LFXT1CLK in MSP430F149?
>=20
>=20=20
>=20
> Thanks, Jon.
>=20
>=20
>=20
> [Non-text portions of this message have been removed]
>
------------------------------------

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )

RE: Re: MSP430F149: Feed SMCLK using LFXT1CLK - Jon Garcia de Salazar Bilbao - Sep 14 10:19:12 2009

Thanks guys!!!

[Non-text portions of this message have been removed]

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )