Tool/software: Code Composer Studio
Hi,
i have some doubts in spi reception of cc3200.(i'm using cc3200 launchxl in ccs7 with CC3200SDK_1.3.0).i have to transmit and receive characters over spi so i import the spi demo code and corrected the transmit but in the case of reception i use "MAP_SPIDataGet(GSPI_BASE,&ulRecvData);" function but it doesn't shows any reception .
The program waits in
// Wait for Rx data
//
while(!(HWREG(ulBase + MCSPI_O_CH0STAT) & MCSPI_CH0STAT_RXS))
{
}
(MISO pin is P2.7(7th pin in P2header))
i think slave doesn't responding but that's wrong because i input character through uart from another system to the MISO pin ,at that time also the program is in the waiting state.Can anyone solve this problem?i'm really stuck here.... (i tried "MAP_SPITransfer(GSPI_BASE,0,rec[0],1,SPI_CS_ENABLE|SPI_CS_DISABLE " also but the result is same)
Thank You