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.

AFE7901: Read fail during bring up - elastic buffer overflow (bad RBD value)

Part Number: AFE7901

Tool/software:

Hi,

I'm trying to bring up the AFE7901 on our custom board, I generated a hex file (from the Latte, at the bottom) and trying to use the afeDeviceBringup function from the Cafe library to configure it.

When disabling the TX and enabling the RX is configures successfully but upon enabling the TX (RX is enabled too) I getting those errors in the bringup sequence:

- AFE ID: 0[afe/CAFE/Afe79xx/Src/tiAfe79_basicFunctions.c][ti_afe79_afeSpiCheckWrapper][566]SPI READ Check: afeInst: 0, addr: 0x11C, lsb: 0, msb: 7, Read Value: 0x10, Expected Value:0x0
  AFE ID: 0[afe/CAFE/Afe79xx/Src/tiAfe79_init.c][ti_afe79_afeDeviceBringup][530]ERROR:AFE FROM FILE Read Check Fail: 0x011c[0:7] = 0x0000

- AFE ID: 0[afe/CAFE/Afe79xx/Src/tiAfe79_init.c][ti_afe79_afeDeviceBringup][530]ERROR:AFE FROM FILE Read Check Fail: 0x00a6[0:7] = 0x0003
  AFE ID: 0[afe/CAFE/Afe79xx/Src/tiAfe79_init.c][ti_afe79_afeDeviceBringup][395]SPI Comment: #Read        jesd_buf_state=0x0;     Address(0xa6[7:0],0xa7[7:0])

In the datasheet it seems to be some error related to an elastic buffer overflow and a bad RBD value.

In order to debug this we connected a ftdi to spi converter and configured it using Latte (from a PC) and it configures without errors.
We recorded the successful session (using Latte and ftdi) with a logic analyzer and it looks really different from the record of the faulty session (from the CPU in the board).

Any new leads on what might be the problem will really help us
Thanks!

Afe79xxPg1_TX.txt