Search the Community
Showing results for tags 'systick'.
Hi, i need to use systick and serial comunication, but i cant serial communication works. I am using TM4C1294XL board. I've tested diferents values for Serial.setTimeout(10) (2, 10,50, 100) but no results Any idea? Thanks #include <stdint.h> #include "Energia.h" #include "driverlib/systick.h" #include "driverlib/systick.c" #include "driverlib/sysctl.h" #include "driverlib/adc.h" #include "wiring_private.h" #define pin 2 //PE4 #define SamplingFreq 60000 //Sampling frequency in HZ #define TickerPeriod (120000000/SamplingFreq) String inData = ""
Hi, I am using MSP432 for analog data collection. until now im using analogRead(pin#) in the loop function. I want to use systick/timer to create periodic interrupts and sample ADC periodically on energia. What functions should I use to achieve this? I couldn't find much help online. Any information or code help would be grateful. Reg, J