Other Parts Discussed in Thread: MSP430F5259, MSP-EXP430F5529LP
Hi,
We design the pcb with msp430f5259 + trf7970a for reading/writing mifare cards.
I copy & paste project code from the F5529LP_TRF7970A_ALL_NFC_MODES which in the nfclink software(sloc333a - TRF7970A\examples\boards\MSP-EXP430F5529LP and with required library)
We don't need usb connection. Therefore I remove the usb codes. Now I want to have 4 byte UID of mifare card with NFC_B_getNfcBId function. That's all.
Is this enough for reading mifare card? Is there anything else to do like a some code modification etc.?
And I saw this line of code in the mcu.c file. Timer vector adress(TIMER0_A1_VECTOR) is diffrent from timer base adress(TIMER_A0_BASE) and it causes ISR_TRAP. How can I fix it?
#pragma vector= TIMER0_A1_VECTOR
__interrupt void TIMERA0_ISR (void)
{
TIMER_A_clearTimerInterruptFlag(TIMER_A0_BASE);
*g_timeout_ptr = 0x01;
// MCU_timerDisable();
__bic_SR_register_on_exit(LPM0_bits);
}