Power_On_Self_Test

Hi, 

I am using a customer board with BF706 processor series with w25q32bv, and trying to debug the Power_On_Self_Test example. 

The issue I get is that when calling flash_open(flash_info), the debug will run for ever in the following loop:

static int adi_spi_bf6xx_recv_until (int (*condition)(const uint8_t))
{
uint8_t data;

*pREG_SPI_RXCTL = ENUM_SPI_RXCTL_RX_EN | ENUM_SPI_RXCTL_RTI_EN;

do
{
while (*pREG_SPI_STAT & BITM_SPI_STAT_RFE)
;
data = *pREG_SPI_RFIFO;
}
while (!condition(data));

*pREG_SPI_RXCTL = 0;

return 0;
}

Anyone can please tell what is the issue?

Best Regards