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 | ADC12 in msp430f5438

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.

ADC12 in msp430f5438 - mm bb - Jul 20 10:19:20 2009

=A0Im=A0 using the 5438 micro , Im converting signal with 12 bit resolution=
without set the ADC12RES bit in the=A0ADC12CTL2 register, because the TI e=
xample dont use it, so if these bits must be set to 10,=A0 apparently the d=
efault is 00 , is this correct or Im missing something?
Thanks in advance for your replay...
_____________________________________________________________________=
_______________
=A1Viv=ED la mejor experiencia en la web!
Descarg=E1 gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=3Dar

[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: ADC12 in msp430f5438 - Bart Oegema - Jul 20 14:06:34 2009

The data sheet has the default values for all of the registers. The
user guide for the msp430x5xx family (slau208d is the most current, I
believe) is the one you want. At the end of each chapter about a
peripheral module there's a section called [peripheral] Registers. for
the ADC12, Section 19.3. Each register is listed, with a description
of the different bit configurations. At the top of each section for a
particular register, you can see a diagram of the 8- or 16-bit
register. Under each bit is a descriptor of that bit, read only or
read-write, as well as the default bit settings, which in your case is
10 for ADC12RES, corresponding to 12-bit conversions as default. So,
if the TI example doesn't set anything explicitly, it's using 12-bit
conversions (which seems to be the case from what I understand you to
be saying).

- Bart

On Mon, Jul 20, 2009 at 7:18 AM, mm bb wrote:
> =A0Im=A0 using the 5438 micro , Im converting signal with 12 bit resoluti=
on
> without set the ADC12RES bit in the=A0ADC12CTL2 register, because the TI
> example dont use it, so if these bits must be set to 10,=A0 apparently th=
e
> default is 00 , is this correct or Im missing something?
> Thanks in advance for your replay...
>
> __________________________________________________________
> =A1Viv=ED la mejor experiencia en la web!
> Descarg=E1 gratis el nuevo Internet Explorer 8
> http://downloads.yahoo.com/ieak8/?l=3Dar
>
> [Non-text portions of this message have been removed]
>
>=20
------------------------------------



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

Re: ADC12 in msp430f5438 - mm bb - Jul 20 17:53:35 2009

Bart, thanks for your response, you are right, but my confusion comes from =
the initial state value that is in the=A0table, there, the values are 00: =
=A0ADC12_A Control 2=A0 ADC12CTL2=A0 Read/write=A0 Word 04h=A0 0000h
So when does it change to 10?
MB

________________________________
De: Bart Oegema
Para: m...@yahoogroups.com
Enviado: lunes 20 de julio de 2009, 15:04:15
Asunto: Re: [msp430] ADC12 in msp430f5438

=A0=20
The data sheet has the default values for all of the registers. The
user guide for the msp430x5xx family (slau208d is the most current, I
believe) is the one you want. At the end of each chapter about a
peripheral module there's a section called [peripheral] Registers. for
the ADC12, Section 19.3. Each register is listed, with a description
of the different bit configurations. At the top of each section for a
particular register, you can see a diagram of the 8- or 16-bit
register. Under each bit is a descriptor of that bit, read only or
read-write, as well as the default bit settings, which in your case is
10 for ADC12RES, corresponding to 12-bit conversions as default. So,
if the TI example doesn't set anything explicitly, it's using 12-bit
conversions (which seems to be the case from what I understand you to
be saying).

- Bart

On Mon, Jul 20, 2009 at 7:18 AM, mm bb wrote:
> =A0Im=A0 using the 5438 micro , Im converting signal with 12 bit resoluti=
on
> without set the ADC12RES bit in the=A0ADC12CTL2 register, because the TI
> example dont use it, so if these bits must be set to 10,=A0 apparently th=
e
> default is 00 , is this correct or Im missing something?
> Thanks in advance for your replay...
>
> ____________ _________ _________ _________ _________ _________ _
> =A1Viv=ED la mejor experiencia en la web!
> Descarg=E1 gratis el nuevo Internet Explorer 8
> http://downloads. yahoo.com/ ieak8/?l=3D ar
>
> [Non-text portions of this message have been removed]
>
>=20

_____________________________________________________________________=
_______________
=A1Viv=ED la mejor experiencia en la web!
Descarg=E1 gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=3Dar

[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: ADC12 in msp430f5438 - Bart Oegema - Jul 20 19:02:16 2009

It does seem that the listing in table 19-3 is as you say. My guess
would be that the table has an error and that the information on p.
518 is actually correct (at least, it matches up with what I'm seeing
when running the 5419). I've just submitted feedback to TI on the
matter, and I'll update this thread if I hear anything back.

- Bart

On Mon, Jul 20, 2009 at 2:53 PM, mm bb wrote:
> Bart, thanks for your response, you are right, but my confusion comes fro=
m
> the initial state value that is in the=A0table, there, the values are 00:
> =A0ADC12_A Control 2=A0 ADC12CTL2=A0 Read/write=A0 Word 04h=A0 0000h
> So when does it change to 10?
> MB
>
> ________________________________
> De: Bart Oegema
> Para: m...@yahoogroups.com
> Enviado: lunes 20 de julio de 2009, 15:04:15
> Asunto: Re: [msp430] ADC12 in msp430f5438
> The data sheet has the default values for all of the registers. The
> user guide for the msp430x5xx family (slau208d is the most current, I
> believe) is the one you want. At the end of each chapter about a
> peripheral module there's a section called [peripheral] Registers. for
> the ADC12, Section 19.3. Each register is listed, with a description
> of the different bit configurations. At the top of each section for a
> particular register, you can see a diagram of the 8- or 16-bit
> register. Under each bit is a descriptor of that bit, read only or
> read-write, as well as the default bit settings, which in your case is
> 10 for ADC12RES, corresponding to 12-bit conversions as default. So,
> if the TI example doesn't set anything explicitly, it's using 12-bit
> conversions (which seems to be the case from what I understand you to
> be saying).
>
> - Bart
>
> On Mon, Jul 20, 2009 at 7:18 AM, mm bb wrote:
>> =A0Im=A0 using the 5438 micro , Im converting signal with 12 bit resolut=
ion
>> without set the ADC12RES bit in the=A0ADC12CTL2 register, because the TI
>> example dont use it, so if these bits must be set to 10,=A0 apparently t=
he
>> default is 00 , is this correct or Im missing something?
>> Thanks in advance for your replay...
>>
>> ____________ _________ _________ _________ _________ _________ _
>> =A1Viv=ED la mejor experiencia en la web!
>> Descarg=E1 gratis el nuevo Internet Explorer 8
>> http://downloads. yahoo.com/ ieak8/?l=3D ar
>>
>> [Non-text portions of this message have been removed]
>>
>> __________________________________________________________
> =A1Viv=ED la mejor experiencia en la web!
> Descarg=E1 gratis el nuevo Internet Explorer 8
> http://downloads.yahoo.com/ieak8/?l=3Dar
>
> [Non-text portions of this message have been removed]
>
>=20
------------------------------------

______________________________
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 )