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.

Porting working example code from MSP430G2553 launchpad to MSP430F2419

Other Parts Discussed in Thread: MSP430G2553, TRF7970A

I am currently trying to port over working code from the MSP430G2553 launchpad to a new micro. Without changing much code besides the GPIO pins, the debugger gets stuck during the trf7970initialization

command[0] = IDLE;

has been called and it gets stuck in the loop:

 while (!(IFG2 & UCB0TXIFG));

  • For some reason the USCI_B0 TX buffer is not ever ready. Is this an issue with how I wired the GPIO pins, because this code worked for the previous launchpad.

  • I've fixed the previous problem with this line of code:

    UCB0CTL0 |=  UCMSB + UCMST + UCSYNC;


    For some reason TRF7970A wasn't defined so that line didn't get executed.

    Now the new problem is that the whenever the interrupt fom the TRF7970A is being triggered it is always the timer interrupt even though I am clearly placing a 15693 Tag in front of the boosterpack.