For Arduino Due
Simple ADC capturing Example:
This example demonstrates how to capture a steady stream of ADC data
See AnalogAudio_config.h to change the MAX_BUFFER_SIZE allowing larger chunks