Search the Community
Showing results for tags 'fast'.
Found 1 result
faster adc sampling at 1 MHz clock speed
gfleming1992 posted a topic in Energia - MSPHi guys, I am working on a university design project and I am running into an ADC10 sampling limit on MSP430G2553. For a number of reasons, I need to be able to sample and process an input signal at 51 KHz. I can do this with my current setup with a clock speed of 4 MHz. I would, however, like to bring this speed down to 1 MHz so I could run the uC at a lower voltage level. The following is my current code: #include <ctype.h> #include "msp430g2553.h" short value=0; long magnitude0 = 0, magnitude1 = 0; short q0=0,q1=0,q2=0; unsigned int sum = 0; char state0 = 0; char state1