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.

RTOS/EK-TM4C129EXL: SPI Master Transfer Fail

Part Number: EK-TM4C129EXL

Tool/software: TI-RTOS

I can not get SPI working on the TM4C. 

SPI Initialize code:

    SPI_Params spiParams;
    SPI_init();  // Initialize the SPI driver
    SPI_Params_init(&spiParams);  // Initialize SPI parameters
    spiParams.transferMode = SPI_MODE_BLOCKING;
    spiH = SPI_open(Board_SPI0, &spiParams);
    if(!spiH)
        while(1);

Calling the transfer function within task:

        spiTransaction.count = 8;
        spiTransaction.txBuf = (Ptr)spiTxBuff;
        spiTransaction.rxBuf = (Ptr)spiRxBuff;
spitransferOK = SPI_transfer(spiH, &spiTransaction);

From ROV I see this exception under Hwi:

Hard Fault: FORCED: MEMFAULT: IACCVIOL Instruction Fetch Error. Address = 0xe000ed34

I have already tried increasing my task stack size and increasing the Hwi stack size.

I am using the basic blank project for TI-RTOS TM4C updated to serve as an http server.

Thank you,

Dillon