I recently bought a AD8363EVM, which I'm currently trying to interface via an SPI controller (FT2232H), I noticed unfortunately
the power connector J4 isn't labelled, so I tried to deduce the pins from the schematic and PCB traces. I can upload a photo of the connections I made if that helps diagnose my problem.
I tied A0- and A1- to GND. And A0+ and A1+ to 5V. And provided an external reference of 2.5V and disconnected jumper JP3 to achieve this.
I'm following https://www.ti.com/lit/ds/symlink/ads8363.pdf
#include <stdio.h> #include <stdlib.h> #include <mpsse.h> int main(void) { int retval = EXIT_FAILURE; struct mpsse_context *adc = NULL; if((adc = MPSSE(SPI0, TEN_MHZ, LSB)) != NULL && adc->open){ printf("%s initialized at %dHz (SPI mode 0)\n", GetDescription(adc), GetClock(adc)); int z = 0; for (z = 0; z<2; z++){ Start(adc); char Txdata[4]; Txdata[0] = 1; Txdata[1] = 0; Txdata[2] = 0; Txdata[3] = 0; unsigned char * r = Transfer(adc, Txdata, 4); if (r != NULL) { int i = 0; for (i=0;i<4;i++) printf("%d\n",r[i]); } Stop(adc); } } else { printf("Failed to initialize MPSSE: %s\n", ErrorString(adc)); } Close(adc); return retval; }