AnsweredAssumed Answered

[JN5169 with DR1174 carrier board] The usage of SPI interface?

Question asked by alan lin on Apr 7, 2020
Latest reply on Apr 10, 2020 by Mario Ignacio Castaneda Lopez

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_SpiStartTransfer8(0x05); // RDSR
u32Data = u32AHI_SpiReadTransfer32();
DBG_vPrintf(TRUE, "u32Data=0x%08x\n", u32Data);


Why is the output value of u32Data becoming 0x000005ff?