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.

SPI Transmit Output

Other Parts Discussed in Thread: OMAP-L138

Hello all,

I am using Logic PD's Evmomapl138, Code Composer Studio v5 and the StarterWare libraries.

I used the StarterWare example spiflash to understand how to manage the data transmission thru the SPI using interrupts. Right now, I have a buffer that has the data stored and in the interrupt code I have a while loop where I put the data in the SPIDAT1 register where I understand, could be wrong, that the data that will be transmitted is sent.

Code in interrupt below:

if (intCode == SPI_TX_BUF_EMPTY){

len--;

SPITransmitData1(SOC_SPI_1_REGS, *tx_buff_ptr);

tx_buff_ptr++;

if (!len){

SPIIntDisable(SOC_SPI_1_REGS, SPI_TRANSMIT_INT);

}

}

 

Is there anyway I can phisically see the output of the data, for example, where the data is being output, (serial interface, for example? ) so I can see the data that I see in the register?

Any ideas, suggestions are greatly appreciated.

Thanks,

Michelle