**Part Number:** MSP-EXP432P4111

Hi there, I am using MSP-EXP432P4111 kit to sample analog signal (which is 1 KHz) and then storing samples in a local matrix to be sent finally to MATLAB through serial. the sampling rate is 200 kilo samples per second. but the problem is the time of acquisition data samples and storing them into the local matrix is much higher than the sampling rate that means:

within 1KHz input signal and 200KHz sampling frequency the number of samples in one input period (1 milli second) is equal to 200 samples.

and the time to get those samples from ping-pong buffer and translate them into the local matrix is about 20 ms that's why we are losing about 20 cycle of our input data.

so the question is what is the way to decreases the time of getting data into the matrix? since this step -translating data samples into matrix- is done using a "for loop" and the data samples are float numbers that's why it takes much more time.