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.

TRF7970A: To Read TRF7970A with MSP430F5529 using SPI protocol

Part Number: TRF7970A
Other Parts Discussed in Thread: MSP430F5529

Hi all,
I'm trying to read the NFC tag using RFID - TRF7970A with MSP430F5529LP.

I wrote the code for SPI but I'm not getting Output from this I'm new in embedded ,can you help to resolve the problem. 

///=======================SPI protocol for MSP430F5529 with TRF7970A=============
void SPI_usciSet(void)  //Uses USCI_B0
{
UCB0CTLW0 |= UCSWRST;                // Enable SW reset
UCB0CTLW0 |= UCMSB + UCMST + UCSYNC; // 3-pin, 8-bit SPI master

UCB0CTLW0 &= ~UCCKPH;
UCB0CTLW0 |= UCSSEL__SMCLK;            // SMCLK

UCB0BR0 = 0x04;
UCB0BR1 = 0;

P3SEL |= (BIT1 | BIT2 | BIT3);               // P3.1,3.2,3.3 UCBOCLK, UCB0SIMO, UCB0SOMI Selected

SLAVE_SELECT_PORT_SET;                  // P8.2 - Slave Select
SLAVE_SELECT_HIGH;                          // Slave Select - inactive ( high)

UCB0CTLW0 &= ~UCSWRST;     // **Initialize USCI state machine**


PM5CTL0 &= ~LOCKLPM5;
}

//=======================================