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.

N25Q256A13ESF40F interfacing with tm4c129x code not working

    I am  interfacing N25Q256A13ESF40F with  tm4c129x controller I have used spi communication.I have downloaded ready made library for N25Q256 from micron site. I am able to read device Id successfully. When i tried code of write in that i called flash write enable command and i read flash status register. I found that write enable bit of flash status is not set. 

I am sending my whole code please check it.8688.code.rar

  •   my that device busy problem was solved


        GPIOPinWrite(GPIO_PORTQ_BASE, GPIO_PIN_1, 0);    /* set Chip Select H-->L */

        while (tx_len-- > 0)
        {
            SSIDataPut1(SSI3_BASE, *(char_send++));

            while(SSIBusy(SSI3_BASE))
            {
            }
            SSIDataGet1(SSI3_BASE, &DUMMY_BYTE);
        }

        while (rx_len-- > 0)
        {
            SSIDataPut1(SSI3_BASE, DUMMY_BYTE);
             while(SSIBusy(SSI3_BASE))
                    {
                    }
               SSIDataGet1(SSI3_BASE, char_recv++);
        }

        GPIOPinWrite(GPIO_PORTQ_BASE, GPIO_PIN_1, GPIO_PIN_1);    /* set Chip Select L-->H */

    at last line by mistake

      GPIOPinWrite(GPIO_PORTQ_BASE, GPIO_PIN_1,,0);  i write this line instead of

      GPIOPinWrite(GPIO_PORTQ_BASE, GPIO_PIN_1, GPIO_PIN_1); 

    Now problem is that every time i am reading FF ..

    please help me.