Hi Guys,
Currently working on a final year engineering project and need some guidance. My programming skills are limited (in an electrical program). We're interfacing the ADS1298 24 bit high precision bio amplifier to gather EMG data and send it over SPI to the teensy 3.6 main SPI bus. Experiencing some lag issues.

I wanted to ask, what is the max spi transfer rate of the Teensy 3.6 and how does the first argument of the SPI Settings function work i.e how is it determined for a controller/application?

SPISettings settingsA(2000000, MSBFIRST, SPI_MODE1);

Thanks! Any guidance is appreciated!