Post Go back to editing

Trouble in board bring up for a custom board involving AD74115.

Category: Hardware
Product Number: AD74115H

Hello,
We are trying to interface AD74115 with an STM32H725VGT6 and I am unable to make AD74115 work.

I am using the NO-OS driver provided on the product page to talk to the chip. I have implemented the SPIsend() function required by the driver as follows.

uint32_t SPIsend(uint32_t Frame)

{

uint32_t ReadBackFrame;

int8_t retVal;

uint8_t writeBuff[4];

uint8_t readBuff[4] = { 0 };

writeBuff[0] = (Frame >> 24) & 0xFF;

writeBuff[1] = (Frame >> 16) & 0xFF;

writeBuff[2] = (Frame >> 8) & 0xFF;

writeBuff[3] = (Frame) & 0xFF;

retVal = APPHAL_SPI_Write_Read(BOARD_AFE_SPI_PID, writeBuff, readBuff, 4, 10);

APP_ASSERT(retVal == APP_ERR_NONE);

ReadBackFrame = (((uint32_t)readBuff[0])<<24) | (((uint32_t)readBuff[1])<<16);

ReadBackFrame |= (((uint32_t)readBuff[2])<<8) | ((uint32_t)readBuff[3]);

return ReadBackFrame;

}

To test communications with the chip I am trying to read the Silicon Rev from the chip which as per the datasheet should be 0x01.

Following is the code for the same:

err = ReadReg(IDX_SILICON_REV);

if(err != ERR_OK)

{

return retVal;

}

uint16_t val = SILICON_REV_read();

printf("Reg = %02X\n", val);

I am using a logic analyzer to debug the communication and I do not see any activity on the MISO pin at all.

I am attaching the schematic and the logic analyzer waveforms for your reference.

In our design we are not using the ADP1034 for supplying the power to the chip and directly connecting it to a 24V source.

Please let me know what could possibly wrong in this process.

Thanks,
Mahesh Murty

 PDF