|
|
@ -11,11 +11,11 @@
|
|
|
|
// 10'000'000 Hz = 52 kSPS
|
|
|
|
// 10'000'000 Hz = 52 kSPS
|
|
|
|
#define TRANSFER_HZ (27000000)
|
|
|
|
#define TRANSFER_HZ (27000000)
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: minimize 45us delay between xfers
|
|
|
|
// TODO:
|
|
|
|
|
|
|
|
// - Require max CPU clock speed so 130 kSPS can be achieved
|
|
|
|
// 24-11-23: We're hitting 130 kSPS initially, but are eventually slowed down
|
|
|
|
// - Minimize ~30us delay between transfers
|
|
|
|
// to 87 kSPS. Need to investigate high-priority workers, forcing a high SPI
|
|
|
|
// - Figure out how to get sample data out
|
|
|
|
// clock speed, and/or minimizing overall latency.
|
|
|
|
// - Create configuration interface
|
|
|
|
|
|
|
|
|
|
|
|
struct ads1278
|
|
|
|
struct ads1278
|
|
|
|
{
|
|
|
|
{
|
|
|
|