I am facing the problem of sampling frequency limitation.
The key setup of the system is adxl372+EVAL-ADXL-ARDZ+ADICUP3029. The communication baudrate is set to be 1000000, BW = 3200Hz, ORD = 6400 Hz. Full band measurement.
The issue is, I connect it through USB 3.0 to windows 10, I read the USB port via python serial. The sampling frequency is only 460 - 500 Hz (Not stable).
import numpy as np
import matplotlib.pyplot as plt
if __name__ == '__main__':
ser = serial.Serial()
ser.port = 'COM4'
ser.baudrate = 1000000
#text_file = open('mytext8.txt', 'w')
st = time.time()
tempdata1 = 
tempdata2 = 
tm = 
for i in range(3000):
#st = time.time()
print('The sampling frequency is ' + str(3000/(time.time()-st)))
What should I do to boost the sampling frequency to the max ORD6400 Hz?