Hello everyone,
Is it possible to make SPI communication by Arduino Uno to ADAS1000?
. This is the datasheet link.
http://www.analog.com/media/en/technical-documentation/data-sheets/ADAS1000_1000-1_1000-2.pdf
I am really disappointing to write SPI code. I am a new arduino user.
I have some problem in writing SPI code in Arduino IDE as follows.
1. How to configure ECGCTL, LOFFCTL,RESPCTL,LOFF,CRC etc register in functional code?
2. I need to receive all electrode ECG signal for RL,LL,LA, V1,V2, so need to configure all register relating respiration, pace etc.
3. For start with as you said, to call SPI read or write function N number of times to generate SPI clock and read the 32 bit or higher bit data’s (32/N number of times). Can you give me sample code idea?
4. How to write data in buffer ?
5. Can you explain DRDY function in code? Should we need interrupt ?