EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

MSP430F248 ADC10/ADC12

Started by erde...@yahoo.com September 9, 2009
Hi,
Is there both the modules ADC10 and ADC12 in msp430f248 ? And if there esxist; as it is written in the manual there are no pins for ADC10 but there are pins for ADC12 on msp430f248 and also in the header files used by CCE 3.1, msp430x24x.h, there is no definition for ADC10 module so; how can the ADC10 module be used?

Beginning Microcontrollers with the MSP430

Look at the data sheet for the device. This will tell you what sort of ADC
is in the device.

Hint - this information is on the front sheet and the block diagram on page
6.

2009/9/9

> Hi,
> Is there both the modules ADC10 and ADC12 in msp430f248 ? And if there
> esxist; as it is written in the manual there are no pins for ADC10 but there
> are pins for ADC12 on msp430f248 and also in the header files used by CCE
> 3.1, msp430x24x.h, there is no definition for ADC10 module so; how can the
> ADC10 module be used?
>
The 2xx family User's Guide has both ADC10 and ADC12 modules, but that doesn't mean all devices have both. The User's Guide needs to describe all peripherials any model of 2xx family may have. It will also show you TimerA and TimerB, but not all MSP models have both timers.

You need to check the specific MSP430 model datasheet to find out which of these 2 ADC, if any, that particular model features, just as you will need that datasheet to see the pin distribution of our MSP model. ADC10 has not only less resolution but is also more simple (yet sometimes a better functional choice) than ADC12. MSPs have either ADC12 or (XOR) ADC10, or none. I don't think there is a model that has both (it doesn't make much sense to build both into a single device).

Always keep both PDF documents (Family User's Guide and specific model Datasheet) at hand and you will quickly learn on which one to look for which information.

Regards,
Michael K.

--- In m..., erdemdilmen@... wrote:
>
> Hi,
> Is there both the modules ADC10 and ADC12 in msp430f248 ? And if there esxist; as it is written in the manual there are no pins for ADC10 but there are pins for ADC12 on msp430f248 and also in the header files used by CCE 3.1, msp430x24x.h, there is no definition for ADC10 module so; how can the ADC10 module be used?
>
Hi,
You are right, i looked at the device specific data sheet and f248 has only adc12 module, also it is seen from sample codes. Thanks guys.

--- In m..., "tintronic" wrote:
>
> The 2xx family User's Guide has both ADC10 and ADC12 modules, but that doesn't mean all devices have both. The User's Guide needs to describe all peripherials any model of 2xx family may have. It will also show you TimerA and TimerB, but not all MSP models have both timers.
>
> You need to check the specific MSP430 model datasheet to find out which of these 2 ADC, if any, that particular model features, just as you will need that datasheet to see the pin distribution of our MSP model. ADC10 has not only less resolution but is also more simple (yet sometimes a better functional choice) than ADC12. MSPs have either ADC12 or (XOR) ADC10, or none. I don't think there is a model that has both (it doesn't make much sense to build both into a single device).
>
> Always keep both PDF documents (Family User's Guide and specific model Datasheet) at hand and you will quickly learn on which one to look for which information.
>
> Regards,
> Michael K.
>
> --- In m..., erdemdilmen@ wrote:
> >
> > Hi,
> > Is there both the modules ADC10 and ADC12 in msp430f248 ? And if there esxist; as it is written in the manual there are no pins for ADC10 but there are pins for ADC12 on msp430f248 and also in the header files used by CCE 3.1, msp430x24x.h, there is no definition for ADC10 module so; how can the ADC10 module be used?
>


The 2024 Embedded Online Conference