Part Number: TMS320F28377D
Other Parts Discussed in Thread: OPA320, THS4031
Hi community, I got problems to get the data out of a adc in the correct speed-setting. The base of my configuration is the "adc_soc_epwm" (out of the control suite). I want to measure every time-step of 1us (10^-6 s) and save the data, so that I can use CCS7 to watch the data in graph and export to csv-file to save and analyse it later.
I changed the speed of the epwm and set the prescale for adc-clk to 0. The suggested configutration for 1us is:
EPwm1Regs.CMPA.bit.CMPA = 50; // Set compare A value
EPwm1Regs.TBPRD = 99; // Set period
But by analysing the saved data it seems, that every sample-point is timespaced by round about 8,7us.
Is my configuration wrong? What can I do to improve the speed of the adc and saving the data.
regards basti