Actually I am using this ADS124S08 EVM,it is 24 bit ADC with gain settings and data rate modes. I have interfaced this EVM with arduino mega2560 using SPI communication,data is coming absolutely right but when I am storing this data through USART to SD card using SD card module and ,data is not getting stored. I have attached my code to this forum.
Kindly check it and suggest the changes.
Pin connection as follows:-
SDO(serial out of ADC)=RX
SDI (serial in of ADC) =TX
XCK for USART.
LowLatencyLogger_6_Ch_SPI_ADC_UNO.ino (15.3 KB)
UserFunctions.cpp (3.46 KB)
UserTypes.h (443 Bytes)