This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: AD7616 SPI interface

Part Number: MSP432E401Y

I am trying to interface ADC7616 with my eval board usign 1 wire SPI interface mode. But I dont see the code working. either register/ADC read, values are 0 only. Is there any reference code related to AD7616 and tiva/MSP432E code? 

Below is my SPI init : 

MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_SSI3);

MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOQ);

MAP_GPIOPinConfigure(GPIO_PQ0_SSI3CLK);
MAP_GPIOPinConfigure(GPIO_PQ1_SSI3FSS);
MAP_GPIOPinConfigure(GPIO_PQ2_SSI3XDAT0);//Tx
MAP_GPIOPinConfigure(GPIO_PQ3_SSI3XDAT1);//RX

MAP_GPIOPinTypeSSI(GPIO_PORTQ_BASE, GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3);

MAP_SSIConfigSetExpClk(SSI3_BASE, SysCtlClockGet(), SSI_FRF_MOTO_MODE_0,
SSI_MODE_MASTER, 1000000, 16);

MAP_SSIEnable(SSI3_BASE);

  • Hello,

        I am not familiar with the 7616 device you are mentioning, nor am I aware of any device specific interfaces.  Is this the analog device's AD7616?

    You can find examples for the MSP432E4 device in resource explorer. 

    Regards,

    Chris

**Attention** This is a public forum