Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 231009

Forum Post: RE: MSP430FG6626: help in having ADC example working on EVM

$
0
0
please look at my previous reply: I did use the code msp430fg662x_ctsd16_03.c The setup is as follows: MSP430FG662x // ----------------------- // /|\ | | // | | | // --|RST | // (0.2VDC)| | // Vin1+ -->| A0.0+ VREF| ---+ (0.5VDC) // Vin1- --> | A0.0- | | // (GND) | | -+- 1nF // | | -+- // | | | // | AVss |---+ // these are the results I am getting results = [30655,30656,30682,30768,30744, 30393, 29675, 28908] when I run the program again i get the following: results = [30364,30315,30207,30130,30074, 29978, 29915, 29870] Every time I rerun, I get a different value If I increase the DC input to 0.3VDC, this is what I get: results = [27187,27189,27192,27240,27283, 27311, 27316, 27251] after rerun: results = [29543,28797,28107,27437,26649, 25935, 25517, 25013] Why the values are random? I cant change the Vref. How could you change the Vref? Is it by changing the C6 and C14 on the board?"

Viewing all articles
Browse latest Browse all 231009

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>