This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

it happens "NRFX_ERROR_TIMEOUT" when debugging QSPI in nRF52833

Hi,

   I am debgging QSPI( type name: IS25LQ040B) in nRF52833,   I met "NRFX_ERROR_TIMEOUT",  Could you give me some advice, please?

       // Set QSPI pins to pins related to connected board.
    config.pins.sck_pin = 4;
    config.pins.csn_pin = 8;
    config.pins.io0_pin = 6;
    config.pins.io1_pin = 27;

    since In this IS25LQ040B, Io2 and WP multiplexing ,  WP(IO2) is set to 3.3V in our board;  

                                               IO3 and HOLD multiplexing,    HOLD(IO3) is set to 3.3v in out board.

     so I am confused IO2 and IO3 ,  I don't know if need to config since hardware is not used,   I thinkd there must be something wrong,  Could you give me some advice, please?

Parents
  • Hi,

      so I am confused IO2 and IO3 ,  I don't know if need to config since hardware is not used

     If you are not using these pins, then you should set these in the config as NRF_QSPI_PIN_NOT_CONNECTED

    Also set QSPI_CONFIG_WRITEOC and QSPI_CONFIG_READOC so that it matches the number of data lines used.

  • Hi Sigurd,

       Thanks for your reply.

       could you tell me what  io2_level and io3_level means?

    typedef struct
    {
        uint8_t               opcode;    /**< Opcode used in custom instruction transmission. */
        nrf_qspi_cinstr_len_t length;    /**< Length of the custom instruction data. */
        bool                  io2_level; /**< I/O line level during transmission. */
        bool                  io3_level; /**< I/O line level during transmission. */
        bool                  wipwait;   /**< Wait if a Wait in Progress bit is set in the memory status byte. */
        bool                  wren;      /**< Send write enable before instruction. */
    } nrf_qspi_cinstr_conf_t;

Reply
  • Hi Sigurd,

       Thanks for your reply.

       could you tell me what  io2_level and io3_level means?

    typedef struct
    {
        uint8_t               opcode;    /**< Opcode used in custom instruction transmission. */
        nrf_qspi_cinstr_len_t length;    /**< Length of the custom instruction data. */
        bool                  io2_level; /**< I/O line level during transmission. */
        bool                  io3_level; /**< I/O line level during transmission. */
        bool                  wipwait;   /**< Wait if a Wait in Progress bit is set in the memory status byte. */
        bool                  wren;      /**< Send write enable before instruction. */
    } nrf_qspi_cinstr_conf_t;

Children
Related