Discussion Overview
The discussion revolves around the challenges of achieving higher ADC sampling rates on the Intel Galileo Gen 2 board while using the Arduino IDE. Participants explore potential solutions, including hardware modifications, software optimizations, and the use of compatible shields.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
Main Points Raised
- One participant notes that the current sampling rate is limited to 500 samples per second, despite the processor's 400MHz clock frequency suggesting a potential of around 1 million samples per second.
- Another participant questions whether the slow sampling rate is due to the high resolution of the on-board ADC and suggests that lower resolution might allow for higher speeds.
- Concerns are raised about software latency in the analogRead() command, with suggestions to explore low-level drivers or block read functions for improved performance.
- It is mentioned that the hardware is capable of 1 MSPS, but achieving this speed may require a SPI controller driver using DMA to buffer data.
- Participants discuss the potential for faster speeds when using Linux compared to the Arduino IDE, although specifics on how much faster remain unclear.
- There is inquiry about the availability of compatible shields that could enhance the sampling rate.
Areas of Agreement / Disagreement
Participants express varying opinions on the factors affecting the ADC's performance, including software limitations and hardware capabilities. There is no consensus on the best approach to achieve higher sampling rates, with multiple competing views on the effectiveness of different strategies.
Contextual Notes
Participants highlight limitations related to software latency, the need for low-level access, and the dependency on specific hardware configurations. The discussion does not resolve these issues, leaving them open for further exploration.
Who May Find This Useful
This discussion may be useful for developers and hobbyists working with the Intel Galileo Gen 2 board, particularly those interested in optimizing ADC performance for projects involving analog signal processing.