Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL
Tool/software: Code Composer Studio
Hello
I am using TIVA4CEKXL - Tiva Peripheral Library example board file project on CCS and in the SPI Quad Mode when in debug Mode and when below code is run & SSI DR is always 0.
pui32DataTx[0] = 'Q';
pui32DataTx[1] = 'S';
pui32DataTx[2] = 'S';
pui32DataTx[3] = 'I';
//
// Display indication that the SSI0 is transmitting data.
//
UARTprintf("SSI0 Sent:\n ");
UARTprintf("'Q' 'S' 'S' 'I' ");
//
// Send 4 bytes of data.
//
for(ui32Index = 0; ui32Index < NUM_SSI_DATA; ui32Index++)
{
//
// Dummy write to start slave which is required for Quad-SSI
// mode operation.
//
MAP_SSIDataPut(SSI1_BASE, 0x02);
//
// Check if the last data byte is queued up to be sent.
//
if (ui32Index == (NUM_SSI_DATA - 1))
{
//
// Calling SSIAdvDataPutFrameEnd on the last data will put out the
// data and de-assert the the Fss pin.
//
MAP_SSIAdvDataPutFrameEnd(SSI0_BASE, pui32DataTx[ui32Index]);
}
else
{
//
// Send the data using the "blocking" put function. This function
// will wait until there is room in the send FIFO before returning.
// This allows you to assure that all the data you send makes it
// into the send FIFO.
//
MAP_SSIDataPut(SSI0_BASE, pui32DataTx[ui32Index]);
}
}
SSI_DR Register= 0x0000000
Need help to resolve this issue
Thanks n regards