Jump to content
43oh

dta123

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I have worked on it more today and have managed to get the interrupts triggering. My code so far is: #include <CMSIS_DSP.h> #include "inc/hw_ints.h" #include "driverlib/interrupt.h" #include "driverlib/sysctl.h" #include "driverlib/timer.h" #include "driverlib/adc.h" #include "driverlib/gpio.h" /* ------------------------------------------------------------------- * External Input and Output buffer Declarations for FFT * ------------------------------------------------------------------- */ #define FFT_SIZE 512 static float32_t samplesInput[FFT_SIZE] = {0}; static float32_t fftOu
  2. The project is to take samples from a sensor and place the returned value (from 0 to 1024) into an array. I want to take the samples using interrupts as I require uniform sampling of the sensor. I am using the TM4C123GXL board and have already tried multiple methods I have found online, such as http://www.ti.com/lit/an/spma001a/spma001a.pdf and a few from forums. Ideally I would use 8x oversampling to help with the accuracy as I will be running the gathered samples through a Fast Fourier Transform. I require a sampling frequency of over 7 kHz after oversampling. I have also read thro
×
×
  • Create New...