Hello Ken, thank you for your response. Based on your last answer, I tried to change the code placement, to use only CPU-timer-1. So all the code was running inside the CPU-timer 1, but there is no identifiable improvement of the jitter, in number and magnitude. The same effect was, if I use only the CPU-Timer-2 for all the code. In each programm-tests, the not used timer and interrupts are disabled. 1. Is it possible, that I use a wrong initializiation or wrong parameters to enable the interrupts? What are the correct values to initialize a accurate time acquisition, like I want to do. Underneath is an abstract of my main.h-file. #ifndef MAIN_H_ #define MAIN_H_ #include "DSP28x_Project.h" #include "DSP2833x_Gpio.h" #include "Flash2833x_API_Config.h" #include "Flash2833x_API_Library.h" #include #include "GPIO_SETUP.h" #include #include #if (CPU_FRQ_150MHZ) // Default - 150 MHz SYSCLKOUT #define ADC_MODCLK 0x3 // HSPCLK = SYSCLKOUT/2*ADC_MODCLK2 = 150/(2*3) = 25.0 MHz #endif #if (CPU_FRQ_100MHZ) #define ADC_MODCLK 0x2 // HSPCLK = SYSCLKOUT/2*ADC_MODCLK2 = 100/(2*2) = 25.0 MHz #endif #define ADC_CKPS 0x1 // ADC module clock = HSPCLK/2*ADC_CKPS = 25.0MHz/(1*2) = 12.5MHz #define ADC_SHCLK 0xf // S/H width in ADC module periods = 16 ADC clocks #define AVG 256 // Average sample limit #define ZOFFSET 0x00 // Average Zero offset #define BUF_SIZE 256 // Sample buffer size __interrupt void cpu_timer1_isr(void); __interrupt void cpu_timer2_isr(void); __interrupt void IL_hyst_isr_FE(void); __interrupt void IL_hyst_isr_RE(void); __interrupt void cpu_timer0_isr(void); void ADC_Config(void); void error(void); void Example_MemCopy(Uint16*, Uint16* , Uint16*); Uint16 Example_CsmUnlock(void); And here are my include options of the project: "${CG_TOOL_ROOT}/include" "C:\ti\ controlSUITE \libs\utilities\flash_api\2833x\28335\v210\include" "C:\ti\ controlSUITE \device_support\f2833x\v140\DSP2833x_common\include" "C:\ti\ controlSUITE \device_support\f2833x\v140\DSP2833x_headers\include" 2. Or, is it possible, that the flashed code at the MCU is the cause for this problems? 3. Or, is it a common magnitude of jitter for the F2833x-series? Thanks a lot! Best regadrs, Andreas
↧