QuadSPI_SR: BUSY bit stuck

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QuadSPI_SR: BUSY bit stuck

528 Views
volkerhaspel
Contributor I

Hi, i'm using a ls1046a with n25q128a nor flash.
U-Boot is able to erase, read and write small data but if I try it with more data, get timeout:
<p>
fsl_qspi_claim_bus: Timeout (reg=000000000155015c mask=00000007 wait_set=0)
ERROR : The controller is busy
SF: 639916 bytes @ 0x10000 Written: ERROR -110
</p>

As you can see, I stuck in the function fsl_qspi_claim_bus. The register QuadSPI_SR has the value: 0x00380001
The busy bit is set and also the RXFULL bit is set. RXFULL bit description in in the datasheet:

RX Buffer Full. Asserted when the RX Buffer is full, i.e. that QSPI_RBSR[RDBFL] field is equal to 32.

But in my case, the QSPI_RBSR register is 0x00000000
Has any one an idea, what's going wrong?

Labels (1)
Tags (2)
0 Kudos
0 Replies