Help with ADC 10

Started by Joe Radomski in MSP43011 years ago

This is the first time I'm using the ADC10.. In the past all my projects have used the adc12.. I am using the following code to set up the...

This is the first time I'm using the ADC10.. In the past all my projects have used the adc12.. I am using the following code to set up the ADC.. I need it to continually sample to a buffer.. In the adc interrupt I am reading and averaging the data then storing into another array.. The problem is, that I'm not getting any conversions.. Any ideas?? Here is my code to set up the adc. accordi...


ADC lockup problems

Started by lancenz1 in MSP43014 years ago 8 replies
ADC

Hi everyone. I have a bit of a strange problem with an MSP430F149. The ADC runs for a while and then locks up , about once an hour or so yet...

Hi everyone. I have a bit of a strange problem with an MSP430F149. The ADC runs for a while and then locks up , about once an hour or so yet all other processes carry on just fine. I have confirmed the ADC is not updating ADC12MEMx locations. A power on/off cycle usually wont fix it but a reprogram will. The supply voltage is stable at 3.1 volts. I suspect the ADC internal oscillator is


Issues with ADC on MSP430FG4618

Started by mastarre in MSP4308 years ago 5 replies

I have been given an MSP430FG4618 on an experimenters board which has a non-functional ADC. Regardless of the input voltage, the ADC stores maybe...

I have been given an MSP430FG4618 on an experimenters board which has a non-functional ADC. Regardless of the input voltage, the ADC stores maybe 0x07 or 0x06 @ Vref = 1.5, and ~0x04 @ Vref = 2.5 I do not know any history on it other than that it did work previously (confirmed). Originally I tried to test it using a simple code that samples the ADC (to which I applied 1.0V) and sends the res...


About ADC

Started by in MSP43014 years ago 4 replies
ADC

I have setup the ADC and works great. However, no matter what I do, it always accepts the ADC on the p2.0 pin. I am trying to read from P2.3,...

I have setup the ADC and works great. However, no matter what I do, it always accepts the ADC on the p2.0 pin. I am trying to read from P2.3, one read at a time. Below is the init for the ADC: P2DIR = 0xF7; ADC10CTL0 = ADC10SHT_2 + ADC10ON + ADC10IE; ADC10AE = 0x08; Any ideas? Thanks, ?mer Yalh? oyalhi@oyal... > Teksan ?l? Aletleri SAN. A.?. > Tikve?li Sok. No:4, 340


ADS8341 ADC with MSP430??

Started by David Snowdon in MSP43014 years ago 8 replies

G'Day, I'm presently working on a project which requires an ADC to be interfaced to an MSP430 (I need a 16-bit or so ADC rather than...

G'Day, I'm presently working on a project which requires an ADC to be interfaced to an MSP430 (I need a 16-bit or so ADC rather than the MSP's built in 12-bit since its for some fairly precise instrumentation). I'm using an MSP430F149 to interface to an ADS8341 (also from TI). I've used exactly the same code on an Atmel AVR with the same ADC, and it works very well. I'm very confused ab...


MSP430 ADC failure

Started by Thomas Montroy in MSP4309 years ago 2 replies
ADC

Hi All, I'm running an MSP430F2618 (Rev E) with a 12 bit ADC. On one of our prototype devices, the ADC has stopped working. As far as I can...

Hi All, I'm running an MSP430F2618 (Rev E) with a 12 bit ADC. On one of our prototype devices, the ADC has stopped working. As far as I can tell the rest of the device works fine. The ADC works fine on all of our other prototypes (with the same software), so the problem appears to be inside this particular chip. Has anyone seen a behavior like this before? This is the first msp430 that ...


MSP430G2553 SPI for external ADC

Started by noefvillanueva in MSP4304 years ago 4 replies

Hello Everyone, This is my first post here so please bear with me. Now I'm am working with the MSP430G2553 on the Launch pad to communicate...

Hello Everyone, This is my first post here so please bear with me. Now I'm am working with the MSP430G2553 on the Launch pad to communicate with an external 16 bit ADC MAX1415. I need the higher resolution hence the reason I am not using the on board ADC. Now, I am trying to use SPI communication to connect to this ADC but I tried using the TI sample SPI code but was told it really was not a us...


Using timmer A0 as trigger to ADC12 - msp430f2619

Started by "favero.santos" in MSP4305 years ago 3 replies
ADC

Hello! How are you all doing? Hope everything's fine. So, i'm trying to do the following: Timer ---triggers--> ADC --samples--> DMA...

Hello! How are you all doing? Hope everything's fine. So, i'm trying to do the following: Timer ---triggers--> ADC --samples--> DMA --moves to memmory--> end Right now, i'm facing problems with the timmer and ADC interfacing. The way i want it to works is that the timmer (not using its interruption) = auto triggers adc samples. NOTE: I've already made timmer starts ADC sampling with


Multi-channel ADC and the DMA

Started by alex3d_p in MSP43012 years ago 6 replies
ADC

Hi all, I am using the MSP430 to sample 4 analog signals sequentially and would like to use the DMA to automate ADC data collection. I set...

Hi all, I am using the MSP430 to sample 4 analog signals sequentially and would like to use the DMA to automate ADC data collection. I set up the ADC to sample the 4 pins as a sequence. I then would like to setup the DMA to collect these 4 words and put them into a buffer of 256 words and notify me when it is done. I have been trying all different combinations of ADC and DMA settings and I


How to choose 24bit 50/100KHz ADC for MSP430?

Started by eeman in MSP4309 years ago 2 replies
ADC

hi all, I want to use a high-resolution A/D application. but the module in MSP430 is not enough. (ADC12 or SD16) So I try to find some...

hi all, I want to use a high-resolution A/D application. but the module in MSP430 is not enough. (ADC12 or SD16) So I try to find some ADC. In TI website, 20+ bit with 50 or 100KHz ADC is not too much. Like ADS1271, the clock needs 27MHz. I have no idea how to generate this clock from MSP430 for ADS1271. Have someone knows which ADC is suitable for use with MSP430F169. Best regards...


Evaluating ADC Results - F4793

Started by bigehcky7 in MSP4309 years ago 5 replies
ADC

Hey I'm a student working on a senior design project with a quick question regarding ADC results. We're building a wireless charging pad, using an...

Hey I'm a student working on a senior design project with a quick question regarding ADC results. We're building a wireless charging pad, using an MSP430F4793, and are using the ADC to measure rises/falls in current levels to determine charging started/completed points. What I want to know has to do with storing results from SD16MEM into local variables for later comparisons. We read the ADC memor...


ADC problems

Started by Robert Reid in MSP43014 years ago 2 replies
ADC

Hi all, I've got an MSP430F149 on a PCB and the ADC is not working. Using the same code on another board, I get data from it sucessfully,...

Hi all, I've got an MSP430F149 on a PCB and the ADC is not working. Using the same code on another board, I get data from it sucessfully, both on the external and internal channels. This is using custom software, but the same works with one of the TI ADC code samples (adc-04 from memory). However, on this board, all channels, internal and external, return 4095 (maximum value). I hav


MSP430F149 ADC question.

Started by Sumukh Pathare in MSP43014 years ago 3 replies
ADC

I am using MSP430F149. I would like to use the on-chip ADC to perform ADC on a signal when an external digital line goes from low to high. How...

I am using MSP430F149. I would like to use the on-chip ADC to perform ADC on a signal when an external digital line goes from low to high. How can this be accomplished? The datasheet says that the on-chip ADC start-of-conversion can be controlled by: 1. ADC12SC (which is a on-chip bit settable in software) 2. Timer_A3.Out1 3. Timer_Bx.Out0 or 4. Timer_Bx.Out1. All these are internal signals.


ADC tips

Started by tom_sun79 in MSP43013 years ago 1 reply
ADC

Hi, I'm currently trying to implement the ADC from the MSP430F168 chip. Anyhow, i just have a question in regards to making the ADC value...

Hi, I'm currently trying to implement the ADC from the MSP430F168 chip. Anyhow, i just have a question in regards to making the ADC value stable. THe problem i'm having right now is that i have a stepper motor and a load cell. I'm basically reading the values coming from the load cell by using the ADC and controlling the stepper motor via MSP430. Anyhow, when i run the stepper motor


Interfacing MSP with external ADC

Started by Brock in MSP4308 years ago 2 replies
ADC

Hello all, I am currently working with the ESW427 dev board from Softbaugh (has the MSP430fw427 chip on it...no ADC). In order to get value...

Hello all, I am currently working with the ESW427 dev board from Softbaugh (has the MSP430fw427 chip on it...no ADC). In order to get value from an analog input; I can hook up an external ADC to one of it's i/o's correct? If so, is there one you recommend; anyone have notes/files related to this? Thanks and have a Happy Easter ------------------------------------


SD16 ADC vs External ADC

Started by vad_srikar in MSP43011 years ago 3 replies
ADC

have any of you guys used SD16 ADC in your application, whats the useful number of bits, i am in a fix whether to use an external serial ADC...

have any of you guys used SD16 ADC in your application, whats the useful number of bits, i am in a fix whether to use an external serial ADC like AD977 or an SD16 of 427, Ad977 has obviously more advantages. but has some one made these comparisions? srikar ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new


MSP430 ADC Linearity

Started by "paddu.koti" in MSP4308 years ago 3 replies
ADC

Hi, I need your help regarding MSP430's ADC. I am testing ADC in MSP430F54xx using internal REF, but found that linearity is not good,I am...

Hi, I need your help regarding MSP430's ADC. I am testing ADC in MSP430F54xx using internal REF, but found that linearity is not good,I am getting a difference of about 4%. Please let me know if there is a solution to overcome this or if there is any application note from TI. Thankyou in advance Regards. Paddu ------------------------------------


ADC sampling time problem

Started by yvancastilloux in MSP43013 years ago 2 replies
ADC

Hi, We're using the 12-bit ADC for 5 sensors. Reading the spec sheet of the ADC, it says that it can sample at 8kHz and more. The model...

Hi, We're using the 12-bit ADC for 5 sensors. Reading the spec sheet of the ADC, it says that it can sample at 8kHz and more. The model specifies an impedance of 2000kohm and 40pF. Our sensors have first-order low-pass filters. The output is not buffered by an amp. That is, the output of low-pass is fed directly to the ADC input. I calculated the time constant. when the internal swi


some adc problem

Started by tausifuddin ahmed farooqui in MSP43011 years ago 4 replies
ADC

hello i am using msp430f133 which has 12bit adc , my sensor give output for the full scale span of 4v(0.5 to 4.5 v) but adc analog...

hello i am using msp430f133 which has 12bit adc , my sensor give output for the full scale span of 4v(0.5 to 4.5 v) but adc analog input range Veref+ (max) = Vcc(3 or 3.3v) what should be done to maintain accracy another problem is how to solder that device and what is the maximum temp tausifuddin --------------------------------- Here?s a new way to find what you're looki...


proper use of ADC

Started by sim_msp430 in MSP43012 years ago 2 replies
ADC

Hello I am a bit confused by the ADC block datasheet and I would like to clarify the following:- The ADC seem to have a internal 2.5V...

Hello I am a bit confused by the ADC block datasheet and I would like to clarify the following:- The ADC seem to have a internal 2.5V reference available, but I would like to measure a 0-5V output from a sensor. Is this possible, since the MSP if powered by a 3V source. I am using a charge pump to supply 5V to the sensor and its output is 0- 5V, would I need to do some conversion befor