Hi expert:
My customer wants to use FSI to communicate between two C2000 Board. I suggest them begin with: http://www.ti.com/lit/an/spracm3/spracm3.pdf
Firstly, they use two launchpads, download the code into Flash, but nothing happened, both GPIO16 are low. And there is no signal in CLK and data0.
Then, they try 1 control card and 1 Launchpad. I add _LAUNCHXL_F280049C to pre-define symbol to change the GPIO. Connect both boards with CCS, emulation mode. RAM code. This time, both GPIO16 are high. However, The lead code is stuck at ESTOP0(fsi_ex16_daisy_handshake_lead.c); since this is Error.
while(1) {
#if FSI_DMA_ENABLE==0
// Now, start transmitting data frames
// Fill TX array with new data
prepareTxBufData();
// Write data into Tx buffer
// Start the first transfer
FSI_writeTxBuffer(FSITXA_BASE, txBufData, nWords, 0U);
FSI_startTxTransmit(FSITXA_BASE);
//
// Wait for TX frame done event
//
while(fsiTxInt1Received != 1U);
// Set FSI TX circular buffer pointer back to beginning
FSI_setTxBufferPtr(FSITXA_BASE, 0U);
//
// Wait for RX data frame received event
//
while(fsiRxInt1Received != 1U);
// Set FSI RX circular buffer pointer back to beginning
FSI_setRxBufferPtr(FSIRXA_BASE, 0U);
if(error == 0)
{
fsiTxInt1Received = 0U;
fsiRxInt1Received = 0U;
}
else
{
// Error occurred during communications
ESTOP0;
}
I also change lower CLK, but nothing changed.
#define PRESCALER_VAL FSI_PRESCALE_10MHZ
#define PRESCALER_VAL FSI_PRESCALE_5MHZ
Except that, I did not change the code.
Could you kindly tell me where I did wrong?
BR
Emma




