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.

Compiler/AWR1642: about Flash Earse with QSPI

Part Number: AWR1642

Tool/software: TI C/C++ Compiler

In the sdk, I see the QSPIFlash_sectorEarse() function

   //write the write enable;

  //write the earse cmd;

  //write the address;

split the sector earse request to 2 parts(cmd and address)

the question is:

1. the CS go high after writing cmd,how can the address be writen into the flash? The flash datesheet says,the cmd is followed by address in a CS enable.

2. the frameLen parameter of QSPIFlash_chipEarse() function is 0, but in the QSPI_cfgWrite(), the SPI CMD_REG[11:0] is writen with (numWords-1),a unsigned int data 0 substract 1?