Dear Sirs,
I tried to Read the Status Register (RDSR) of the SPI flash on DR1174 carrier board.
(In order to try the SPI interface, I did not use the flash memory API)
However, I can not get the correct response.
Attached below are my procedures.
vAHI_SpiConfigure(0, FALSE, FALSE, FALSE, 16, FALSE, FALSE);
vAHI_SpiSelect(1);
vAHI_SpiStartTransfer8(0x05); // RDSR
vAHI_SpiWaitBusy();
u32Data = u32AHI_SpiReadTransfer32();
vAHI_SpiSelect(0);
DBG_vPrintf(TRUE, "u32Data=0x%08x\n", u32Data);
Why is the output value of u32Data becoming 0x000005ff?
Thanks!