Hi,
I realized a prototype includeing the ADC ADS131A04. The pins M0, M1 and M2 are condigured as folowing: M0 = HIGH, M1 = HIGH, M2 = LOW. Thus Hamming Code Word validation is off, the ADC is operated in asynchronous interrupt mode with a SPI transfere word size of 32 Bit.
I'm initializing the ADC as suggest in section 10.4 (page 78).
- ADC Power is turned off.
- The pins M0, M1 and M2 are set by resistors (500 Ohm) to the levels mentioned above (M0 = HIGH, M1 = HIGH, M2 = LOW).
- Enabling the external master clock (16 MHz, CMOS).
- ADC power is turned on (V_ADD = 3.3V; V_IOVDD = 3.3V)
- ADC !RESET! pin level is set HIGH
- A software RESET is performed to check if ADC is ready, by outputting 0xFF04
The SPI interface is operating in Mode 1, with a frequency of 2 MHz (according to the logic analyzer).
The following image shows the data captured by a logic analyzer, for a Software Reset (0x0011).
As can be seen, the ADC STATUS RESPONSE starts with 0xFF04, indicating the ADC is ready. But I would expect a further READY (0xFF04) response after several SPI cloclcks / Data Frames, as indicated in section 9.5.3.2 (page 50). I clocked in/out 8 Data Frames (each consisting of 32 Bit). The first 32 Bit is 0x00110000, the remaining Commands are the NULL command (0x00).
I also performed a "stand-alone" NULL command (section 9.5.3.1 on page 50).
As can be seen, the Status Response results in the expected response 0xFF04. The ADC is in LOCK - State, so I'm curious which ADC register content is clocked out, as a response of the NULL command. See second data frame in figure 68.
I'm a little bit confused by the read register states. According to section 9.5.3.5 on page 51, the UNLOCK, NULL, RREG, and RREGS commands are the only commands that are
recognized when reading back data in LOCK state.So I also perforemed a read command of register 0x05. Which also results in the same response, as the shown in the two previous images.
Maybe I read over some important part in the datasheet. Is there an additional High/Low transition required after a Data Frame?
BR