-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProtoCentral ADS1262 with Feather M0 (SAMD21) #13
Comments
Having found and testing a simple ADS1262 example, it seems all data values are "zero". Several other simple SPI examples also show only "zeros', or "-1", with only other device is internal SD card on Feather M0 (CS 4). Operating ProtoCentral ADS162 on 5V, and using level converters on digital connections. PLEASE advise suggestions or alternate example. Slightly modified "ads1262.h" for pin connections for Feather M0 Adalogger> ; ``//////////////////////////////////////////////////////////////////////////////////////////// #include <SPI.h> #define PGA 1 // Programmable Gain = 1 ads1262 PC_ADS1262; // class float volt_V=0; void setup() Serial.begin(9600); void loop() if((digitalRead(ADS1262_DRDY_PIN)) == LOW) // monitor Data ready(DRDY pin) if(Responsebyte == true) if(SPI_RX_Buff_Count >= 5)
} SPI_RX_Buff_Count = 0; float mapfloat(float x, float in_min, float in_max, float out_min, float out_max) |
Might any of the ADS1262 wizards have a code example for the SAMD21 using a Feather M0 adalogger (includes SD on SPI)?
Ongoing challenges with SPI interface to M0 along with native SD on MC
Many thanks in advance for your kind guidance
Analog_data_logger_ADS1262_schematic.pdf
.
The text was updated successfully, but these errors were encountered: