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

Forum Post: MSP430FR2311: ADC seems slow - fastest sample takes 80+ uSeconds

$
0
0
Part Number: MSP430FR2311 I am a little baffled - 200KSPS advertised - (math - 200,000 samples per second, 1 / 200K = 0.000005 = 5uSec) ADC clock selected as ADC oscillator, 10 bit mode, sample and hold 8 cycles (does not run when 4 cycles selected - don't know why) no sleep mode - no ISR even Enable ADC and this: GPIO_setOutputHighOnPin(GPIO_PORT_P2, GPIO_PIN4); ADC_startConversion(ADC_BASE, ADC_SINGLECHANNEL); while(HWREG16(ADC_BASE + OFS_ADCCTL1) & ADCBUSY) { ; } ADC_Conversion_Result = ADCMEM0; GPIO_setOutputLowOnPin(GPIO_PORT_P2, GPIO_PIN4); Fastest way I can think of - and the sample, measured by the GPIO pin - takes 84 uSeconds ! PAY ATTENTION T.I. THIS IS A DESIGN KILLER - AND A BUSINESS KILLER OUR PRODUCT DEPENDS ON LOW POWER, HAVING TO MAINTAIN POWER (sensors) FOR 80 MICROSECONDS INSTEAD OF 5 or face it - 10 or 20 even MEANS NO DESIGN, NO PRODUCT, NO no no no no !!! I don't really have an option - will have to find a manufacturer that comes closer to what they advertise. RCL

Viewing all articles
Browse latest Browse all 236829

Trending Articles



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