ADC10 - Kickstart

Started by rudeanuff in MSP43013 years ago

Hello Forum, I've been trying but without success to kickstart the ADC10 on a MSP430F1222. I can't seem to get ADC10 to work. I simply want...

Hello Forum, I've been trying but without success to kickstart the ADC10 on a MSP430F1222. I can't seem to get ADC10 to work. I simply want to measure temperature and Vcc/2 using on-board peripherals. No external analog signals. I want to use the Internal reference too. I seem to be communicating with my FET okay. But setting break-points and 'watching' ADC10 registers shows that what


MSP430F248 ADC10/ADC12

Started by erde...@yahoo.com in MSP4308 years ago 3 replies

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...

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? ------------------------------------


ADC10 + PowerSave

Started by lukasz_krysiewicz in MSP4308 years ago

When the ADC10 is not actively converting, the CORE, ADC10OSC and INTERNAL REFERENCE BUFFER are automatically disabled. ADC10 consume no...

When the ADC10 is not actively converting, the CORE, ADC10OSC and INTERNAL REFERENCE BUFFER are automatically disabled. ADC10 consume no current ? Thats true, or I must shut down REFON = 0, mybe also ADC10ON =0, thanks for response ---------------------------------------------------------------------- Szukasz pracy? Sprawdz tutaj: http://link.interia.pl/f20b8 --------------------...


ADC10 DTC in MSP430F2274

Started by GB in MSP4308 years ago 4 replies

Hello, I have a question about the DTC in ADC10. I am trying to sample several channels sequentially. The ADC10 on the MSP430F2274 has a...

Hello, I have a question about the DTC in ADC10. I am trying to sample several channels sequentially. The ADC10 on the MSP430F2274 has a Data Transfer Controller, basically a DMA from what I understand. The code I see as example from TI sets most up, and I've made some modifications as follows: int delay; ADC10CTL1 = INCH_4 + CONSEQ_1; // A4/A3/A2/A1/A0, single sequence ADC10CTL0 ...


ADC10 several reads

Started by hc08jb8 in MSP43013 years ago

Hi I am getting aquainted with the ADC10 in F1232, having looked at some examples and reading the datasheet, when reading in repeated on a...

Hi I am getting aquainted with the ADC10 in F1232, having looked at some examples and reading the datasheet, when reading in repeated on a single channel, its possible to assign a buffer location for the results right? I am still a bit confused by this code snippet... ADC10CTL0 &= ~ENC; while ((ADC10CTL1 & BUSY)); // Wait if ADC10 core is active


MSP430F2132 ADC10 DTC Problem

Started by bb_stefan in MSP4308 years ago 1 reply

Hi all, I have a strange behaviour with the DTC controller which I stumbled over by pure chance. After POR/PUC I initialize ADC10 as...

Hi all, I have a strange behaviour with the DTC controller which I stumbled over by pure chance. After POR/PUC I initialize ADC10 as follows: // *** Setup ADC10 *** ADC10CTL0 &= ~ENC; ADC10CTL1 = INCH_6+SHS_0+ADC10SSEL_2+ADC10DIV_1 +CONSEQ_1; ADC10CTL0 = SREF_2+ADC10SHT_2 +MSC+ADC10ON+ADC10IE; ADC10AE0 = ...


Connecting OA0 to ADC10 on F2274

Started by abufadel in MSP4309 years ago

I am posting this for a sanity check. I would like to have the PA as a general purpose amp with its terminal accessible externally. Moreover,...

I am posting this for a sanity check. I would like to have the PA as a general purpose amp with its terminal accessible externally. Moreover, I would like to have it connected to the ADC10 input. Here is what I have: // Configure OA0 OA0CTL0 = OAN_1 + OAPM_1; //Output connected to A1 //Configure ADC10 ADC10CTL0 = ADC10ON + ADC10IE + ADC10SHT_2; ADC10CTL1 = CONSEQ_0 + INCH_1; //si...


ADC10 working

Started by Leon Heller in MSP43012 years ago

I've just got ADC10 working properly and reading from three channels using something like my previous approach. I hadn't read the ADC10...

I've just got ADC10 working properly and reading from three channels using something like my previous approach. I hadn't read the ADC10 section of the user's guide carefully enough, detailed perusal of the relevant registers showed that I'd made some silly mistakes. I'll put my test program on my web site, with link to it in the Group's Links area, as the Files area is nearly full. Leo


ADC10 single sequence

Started by cbr600croft in MSP43012 years ago

I'm running a MSP430F1232 in single sequence mode. The initalision routine is void setup_ADC1(void) { // ADC10 configuration ADC10CTL0...

I'm running a MSP430F1232 in single sequence mode. The initalision routine is void setup_ADC1(void) { // ADC10 configuration ADC10CTL0 = ADC10ON; // ADC10 on ADC10CTL0 += ADC10SHT_2; // SHT = 16x ADCCLKS ADC10CTL0 += MSC; // Multi conversion ADC10CTL0 += SREF_0; // VR+=AVcc, VR-=AVss ADC10CTL1 = INCH_3; // A3 selected ADC10CTL1 += CONSEQ_1; // Start single sequence


ADC10 query

Started by Stephen Bashford in MSP43013 years ago 2 replies

I've been using the ADC12 on the f149 quite happily for months now. However, I've just started working with the ADC10 on the f1232 and this...

I've been using the ADC12 on the f149 quite happily for months now. However, I've just started working with the ADC10 on the f1232 and this is quite different. I'm using 3 analogue inputs A0, A1 & A5. I'm planning to use a sequence of channel conversion but am unsure exactly how much result memory I'll need. To define the sequence you load the ADC10CTL1 register with the starting chan


ADC10 and DTC

Started by lady_kbjt in MSP43013 years ago

Hi, I wonder if anyone could give me a few pointers on how to solve the following: I have measured bioelectrical potentials, and wish to...

Hi, I wonder if anyone could give me a few pointers on how to solve the following: I have measured bioelectrical potentials, and wish to find when the signal reaches a certain voltage level. I'm using the ADC10 (Fsample = ~1kHz) on F1232 and wish to implement a comparator function in software. (The F1232 should be running on as low power as possible, like LPM3) I figured i could use t


F1232 - ADC10

Started by lady_kbjt in MSP43013 years ago 2 replies

Hi, This ADC10 and its timing confuses me abit, the problem is as follows: i'm adding up the value from ADC10MEM in a variable...

Hi, This ADC10 and its timing confuses me abit, the problem is as follows: i'm adding up the value from ADC10MEM in a variable (comparator), signaling when it reaches a threshold (Vtr), and i would expect the time it takes for Vtr to be reached to vary depending on frequency of the input signal, but it doesn't seem to do that. I wonder if anyone can explain to me a few things: *what


ADC10 Aquisition Mode

Started by David Holmes in MSP43013 years ago

I'm working with the ADC10 and TimerA on a 1232. I have run into a problem. Please excuse me if this is either trivial or downright silly. ...

I'm working with the ADC10 and TimerA on a 1232. I have run into a problem. Please excuse me if this is either trivial or downright silly. (Also, I'm sorry about the length of my note, but I wanted to be complete). Here is my scenario: (1) sample A0 and A1 sequentially (2) store samples in memory (with DTC) until full and then interrupt (3) sample rate of 4 times per second Setting t


OA and ADC10 on 2274

Started by abufadel in MSP4309 years ago 2 replies

Greetings, If I want to connect the OA0 output to ADC10 input, I can connect them to external pin A1 for example. What happens to the noise on...

Greetings, If I want to connect the OA0 output to ADC10 input, I can connect them to external pin A1 for example. What happens to the noise on the pin in this case? Do I need to connect anything externally on A1 to prevent outside noise sources from degrading the signal? Thanks, A ------------------------------------


confirmation on ADC settings

Started by Claro Louie in MSP4309 years ago

Hi guys, Below is a ADC10 settings of MSP430F2252 microcontroller. Just want your pointers if the following settings are correct since that...

Hi guys, Below is a ADC10 settings of MSP430F2252 microcontroller. Just want your pointers if the following settings are correct since that when i let a certain analog signal go through to one of ADC10's input channel, it seems that i got inconsistency on my analog readings.. i wonder if the problem is on my code or just because the AC line is too noisy that's why it results to inconsistency.....


Stopping ADC12

Started by Felipe Prehn Falcao in MSP43011 years ago

Hi guys I=B4m using the ADC12 on a MSP430f149 on CONSEQ_3 mode and I=20 can=B4t stop it. Do you have any idea. I=B4ve tried...

Hi guys I=B4m using the ADC12 on a MSP430f149 on CONSEQ_3 mode and I=20 can=B4t stop it. Do you have any idea. I=B4ve tried many things but the best I got was to disable=20 conversoins but the ADC interrupt kept happening. The errata pdf syas: ADC10 ADC10 - Bug description: Module: ADC12: Function: Unintended start of conversion Accessing ADC12OVIE or ADC12...


MSP430F1232 ADC10 Control Reg 0 Issue

Started by Nick Loy in MSP43012 years ago

I hate making stupid mistakes but it seems I have done so, it is just that I cannot find my mistake. I have the ADC10 up and running but I...

I hate making stupid mistakes but it seems I have done so, it is just that I cannot find my mistake. I have the ADC10 up and running but I cannot get to run in the mode I want it to. That is to say, given that I am using the power supply as the reference the readings from the various channels are correct. I am using a MSP430F1232 running at 2.7 volts The issue seems to be with control


Re: OA and ADC10 on 2274

Started by old_cow_yellow in MSP4309 years ago

You can, but you do not need to connect OA output to any pin. You should not do it if you do not know what to do with it. --- In...

You can, but you do not need to connect OA output to any pin. You should not do it if you do not know what to do with it. --- In m...@yahoogroups.com, "abufadel" wrote: > > Greetings, > If I want to connect the OA0 output to ADC10 input, I can connect them > to external pin A1 for example. What happens to the noise on the pin > in this case? Do I need to connect anything exte


ADC question.

Started by hragsarkissian in MSP4308 years ago 1 reply

Hi, I am trying this sample code. //****************************************************************************** // MSP430F21x2 Demo -...

Hi, I am trying this sample code. //****************************************************************************** // MSP430F21x2 Demo - ADC10, Sample A0, AVcc Ref, Set P1.0 if A0 > 0.5*AVcc // // Description: A single sample is made on A0 with reference to AVcc. // Software sets ADC10SC to start sample and conversion - ADC10SC // automatically cleared at EOC. ADC10 internal oscillato


ADC10 REFOUT on?

Started by hc08jb8 in MSP43013 years ago 1 reply

Hello Guys I am using ADC10 on a F1232, A0 is wired to the adc out of a pressure sensor, the sensor is powered by the same battery as the...

Hello Guys I am using ADC10 on a F1232, A0 is wired to the adc out of a pressure sensor, the sensor is powered by the same battery as the MCU, in order to get the Vcc as a reference point, does REFOUT has to be set and it be powered by this reference output? Thanks Jay