For a test, you could modify the code to measure the time needed for ADC read and file write. This test shows the possible bottleneck.
- in a loop, do ADC.ADS1256_GetAll() only a thousand times and measure execution time
- in a loop, do write a thousand file entries and measure time.
The ADC has a 'datarate' setting, default is 30,000SPS. Does the library provided by waveshare allow to set the datarate ? See https://www.ti.com/product/de-de/ADS1256
- in a loop, do ADC.ADS1256_GetAll() only a thousand times and measure execution time
- in a loop, do write a thousand file entries and measure time.
The ADC has a 'datarate' setting, default is 30,000SPS. Does the library provided by waveshare allow to set the datarate ? See https://www.ti.com/product/de-de/ADS1256
Could you provide a link to this code?running the board successfully with the provided sample code
Statistics: Posted by ghp — Thu Jan 18, 2024 6:15 am