Hello,
setup:
- 5V to 3.3V logic level shifter as depicted in "bidirectional converter" - https://jeelabs.org/book/1504d/
- Arduino UNO
- Arduino IDE 182
- TQFP to100 mil adapter PCB
- No 47 Ohm resistors; the rest identical to figure 94 of "ADS114S0xB Low-Power, Low-Noise, Highly Integrated, 6- and 12-Channel, 4-kSPS, 16-Bit, Delta-Sigma ADC With PGA and Voltage Reference" document
- SPI.beginTransaction(SPISettings (20000000, MSBFIRST, SPI_MODE1)); // 2 MHz clock
tried:
- RREG-ing 15 registers as below:
addr = B00100000; //
aux = 0; //
// data = 0xFF;
int c = 0xF;
while (c-- != 0)
{
data = SPI.transfer16((uint16_t) (addr + c << 8 | aux));
// delay(1);
data = SPI.transfer(0x00);
// data = SPI.transfer(0x00);
Serial.print("Devie ID: ");
Serial.println(data);
SPI_next_byte();
}
- RREGing from 0h and 4h
- inserting a 47 Ohm resistor close to the ADC part for the MISO line
results:
- See attached
question:
- why does the SPI compatible part not yield a SPI compatible result ?
Thanks you,
Praveen
Dinesh
Yours trully