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.

CC3200:udma 错误信息在哪里能找的到?

Other Parts Discussed in Thread: CC3200

static void spi_interrupt_handler()
{

    UART_PRINT("Error: %08x \n\r",uDMAErrorStatusGet());
}

 Echo :  0x0000001;
请问有人知道这个错误信息是什么吗? 我在哪里能找的到 错误列表? 
  • 可以用CCS的全局搜索,查看错误代码,找到对应的位置,一般都会有错误说明

  • 感谢回复!   

    不过,     

    //*****************************************************************************
    //
    //! Gets the uDMA error status.
    //!
    //! This function returns the uDMA error status.  It should be called from
    //! within the uDMA error interrupt handler to determine if a uDMA error
    //! occurred.
    //!
    //! \return Returns non-zero if a uDMA error is pending.
    //
    //*****************************************************************************
    unsigned long
    uDMAErrorStatusGet(void)
    {
        //
        // Return the uDMA error status.
        //
        return(HWREG(UDMA_BASE + UDMA_O_ERRCLR));
    }

    他是直接读取寄存器里面的错误码。   还有 在CC3200 SimpleLink Wi-Fi Wireless MCU Technical Reference Manual 

    这个手册中也没有说明啊, 谢谢