AnsweredAssumed Answered

SDK 2.7.0 LPC546xx fsl_sdif.c SDIF_SendCommand infinite loop

Question asked by Tomas Vavra on Feb 3, 2020
Latest reply on Jun 30, 2020 by ZhangJennie

Hello, what is the reason that function

 

    status_t SDIF_SendCommand(SDIF_Type *base, sdif_command_t *cmd, uint32_t timeout)

 

ignores the timeout argument? My application fails on this and gets forever stuck on

 

    /* wait start_cmd bit auto clear within timeout */
    while ((base->CMD & SDIF_CMD_START_CMD_MASK) == SDIF_CMD_START_CMD_MASK)
    {
    }

Outcomes