Maybe start with printing raw_data and velocity_data samples, that gets you 32768 lines with floating points. As in:
for (uint32_t i = 0; i < numSamples; i++) {
Serial.printf (“%d %1.6f\n”, i, raw_data);
}
Do that immediately after...
First, on the hardware:
So what's the circuit diagram in between the ADXL1005 and the ads1256, and the Teensy?
Did you consider the analog filters R1 C1 R2 C2 as in this from the MEMS datasheet? What are the values that you use?
Does your...
I think the default SPI T4 libraries are blocking. What that means is that there's stuff in there that says things such as
"while (SPI_STATUS_REGISTER_TX_DONE_BIT != 1) {}; "
the CPU will patiently repeat the check - and refuse to spend time...
Another option: DMA_UART. See https://forum.pjrc.com/index.php?threads/using-dma-to-store-uart-byte-directly-in-teensy-3-5.71466/#post-315706
In your 250 ns you’ll have enough time to fill the DMA Tx buffer with up to, say, 64 bytes, and then...