Hi,
I am using an ADS1218 with 5V separate digital and analog power supplies, 4 layers PCB with ground plane. The SPI is connected to a TI microcontroller. The firmware engineer wrote a short test program to set the I/O as outputs (apart from D6 which is an input), i.e 0x40 in register 0x07, and then it switches the outputs high an low (0x55 and then 0xAA in register 0x06). The system does not work as expected and thus I need some help:
1) At the beginning, after ADS1218 reset, thes outputs seem switching correctly, but they switch right after the clock first rising edge following the instruction. POL is hard wired to GND. Is this behaviour right? I would expect the outputs to switch after last falling edge of the instruction (0x56 0x00 0xXX where XX is 55 or AA).
2) After a while, ADS1218 seems to miss a byte and the outputs are quite wrong. I think that the digital waverforms that I enclose explain better than words.
Trace, ADS1218 pin name
D0, \RESET
D1, \PDWN
D2, \CS
D3, SCK
D4, DIN
D5, D0
D6, D1
D7, D2
CH1, 5V DVDD
The first picture shows good start and then irregularity after about 10 output cycles
The second picture shows output switching after next rising edge of SCK
The third picture shows a really strange behaviour where D0 (trace D5) does not switch, D1 (tarce D6) has a delayed transition and D2 (trace D7) switches at rising edge of SCK.
Thank you for any help you could give me.
Best regards
Roberto