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.

NFC P2P using EXP-MSP430F5529+TFR7970ATB & TRF7970AEVM

Other Parts Discussed in Thread: MSP430F5529, CC2541

Hello,

I'm trying connect EXP-MSP430F5529+TFR7970ATB & TRF7970AEVM by NFC P2P. EXP-MSP430F5529 is passive target 106 kbps and TRF7970AEVM is initiator. Fw for EXP-MSP430F5529 is MSP430F5529_P2P_Demo. 

I send anticollision command using TRF7970 EVM control GUI (page 14443A). IRQ_STATUS_COLLISION_ERROR appears each time for EXP-MSP430F5529 . So, is it possible link the devices by NFC P2P? If yes, how do it?

Thanks,

Alex.

  • Dear Alex,

    It sounds like you are using the Card Emulation Reader tab on the EVM GUI. The ISO14443A tab is for reading Card Emulation type A and does not have P2P commands. Try using the using the commands within the NFC-PP tab to handle the anti-collision instead. All of the P2P functionality of the GUI is within that tab.

    Refer to section 2.9 of the EVM user guide for details on how to use the P2P interface of the GUI: http://www.ti.com/lit/ug/slou321a/slou321a.pdf 

  • Hello Ralph,

    Thanks for your advise. If  I use commands within the NFC-PP tab  I have folllowing message:

    "Set new target CID number".

    5047.trf7970_1.txt
    "Set Protocol"
    
    23:58:01.262	COM12
    23:58:01.266	COM11
    23:58:01.266	COM10
    23:58:01.267	COM9
    23:58:01.267	COM8
    23:58:01.267	COM7
    23:58:01.267	COM6
    23:58:01.279	--> 0108000304FF0000
    23:58:03.384	*** Read TIMEOUT ***
    23:58:03.386	COM5
    23:58:03.388	COM4
    23:58:03.390	COM3
    23:58:03.561	--> 0108000304FF0000
    23:58:03.566	<-- 0108000304FF0000
    23:58:03.588	COM2
    23:58:03.673	--> 0108000304FF0000
    23:58:03.682	<-- TRF7970A EVM 
    
    
    23:58:03.686	**** COM Port found! ****
    23:58:15.348	--> 00F
    23:58:15.358	COM2
    23:58:15.555	<-- 0
    23:58:15.564	--> 010C00030410002101310000
    23:58:15.780	<-- Register write request.
    
    
    23:58:15.791	portSetReadMode
    23:58:15.803	--> 010B000304D403D4F00000
    23:58:15.917	<-- NFC.[00]
    
    SDD "Execute"
    
    23:58:01.262	COM12
    23:58:01.266	COM11
    23:58:01.266	COM10
    23:58:01.267	COM9
    23:58:01.267	COM8
    23:58:01.267	COM7
    23:58:01.267	COM6
    23:58:01.279	--> 0108000304FF0000
    23:58:03.384	*** Read TIMEOUT ***
    23:58:03.386	COM5
    23:58:03.388	COM4
    23:58:03.390	COM3
    23:58:03.561	--> 0108000304FF0000
    23:58:03.566	<-- 0108000304FF0000
    23:58:03.588	COM2
    23:58:03.673	--> 0108000304FF0000
    23:58:03.682	<-- TRF7970A EVM 
    
    
    23:58:03.686	**** COM Port found! ****
    23:58:15.348	--> 00F
    23:58:15.358	COM2
    23:58:15.555	<-- 0
    23:58:15.564	--> 010C00030410002101310000
    23:58:15.780	<-- Register write request.
    
    
    23:58:15.791	portSetReadMode
    23:58:15.803	--> 010B000304D403D4F00000
    23:58:15.917	<-- NFC.[00]
    
    23:58:40.139	--> 0109000304A0010000
    23:58:40.282	<-- 14443A REQA.
    [0801020308,77]
    
    
    Select "Execute" CID 0123456789ABCDEF0123 UID 08010203
    
    23:58:01.262	COM12
    23:58:01.266	COM11
    23:58:01.266	COM10
    23:58:01.267	COM9
    23:58:01.267	COM8
    23:58:01.267	COM7
    23:58:01.267	COM6
    23:58:01.279	--> 0108000304FF0000
    23:58:03.384	*** Read TIMEOUT ***
    23:58:03.386	COM5
    23:58:03.388	COM4
    23:58:03.390	COM3
    23:58:03.561	--> 0108000304FF0000
    23:58:03.566	<-- 0108000304FF0000
    23:58:03.588	COM2
    23:58:03.673	--> 0108000304FF0000
    23:58:03.682	<-- TRF7970A EVM 
    
    
    23:58:03.686	**** COM Port found! ****
    23:58:15.348	--> 00F
    23:58:15.358	COM2
    23:58:15.555	<-- 0
    23:58:15.564	--> 010C00030410002101310000
    23:58:15.780	<-- Register write request.
    
    
    23:58:15.791	portSetReadMode
    23:58:15.803	--> 010B000304D403D4F00000
    23:58:15.917	<-- NFC.[00]
    
    23:58:40.139	--> 0109000304A0010000
    23:58:40.282	<-- 14443A REQA.
    [0801020308,77]
    
    
    23:59:14.811	--> 010D000304A208010203080000
    23:59:14.971	<-- 14443A Select.
    ()
    
    "Connect" CID 0123456789ABCDEF0123 UID 08010203
    
    23:58:01.262	COM12
    23:58:01.266	COM11
    23:58:01.266	COM10
    23:58:01.267	COM9
    23:58:01.267	COM8
    23:58:01.267	COM7
    23:58:01.267	COM6
    23:58:01.279	--> 0108000304FF0000
    23:58:03.384	*** Read TIMEOUT ***
    23:58:03.386	COM5
    23:58:03.388	COM4
    23:58:03.390	COM3
    23:58:03.561	--> 0108000304FF0000
    23:58:03.566	<-- 0108000304FF0000
    23:58:03.588	COM2
    23:58:03.673	--> 0108000304FF0000
    23:58:03.682	<-- TRF7970A EVM 
    
    
    23:58:03.686	**** COM Port found! ****
    23:58:15.348	--> 00F
    23:58:15.358	COM2
    23:58:15.555	<-- 0
    23:58:15.564	--> 010C00030410002101310000
    23:58:15.780	<-- Register write request.
    
    
    23:58:15.791	portSetReadMode
    23:58:15.803	--> 010B000304D403D4F00000
    23:58:15.917	<-- NFC.[00]
    
    23:58:40.139	--> 0109000304A0010000
    23:58:40.282	<-- 14443A REQA.
    [0801020308,77]
    
    
    23:59:14.811	--> 010D000304A208010203080000
    23:59:14.971	<-- 14443A Select.
    ()
    
    00:00:04.665	--> 0109000304A0010000
    00:00:04.841	<-- 14443A REQA.
    
    
    00:00:04.852	--> 0109000304A0010000
    00:00:04.999	<-- 14443A REQA.
    [0801020308,77]
    
    
    00:00:05.009	--> 010D000304A208010203080000
    00:00:05.173	<-- 14443A Select.
    ()
    
    00:00:05.184	--> 0109000304A0010000
    00:00:05.363	<-- 14443A REQA.
    
    
    00:00:05.373	--> 0109000304A0010000
    00:00:05.521	<-- 14443A REQA.
    [0801020308,77]
    
    
    00:00:05.535	--> 010D000304A208010203080000
    00:00:05.693	<-- 14443A Select.
    ()
    
    00:00:05.696	--> 0109000304A0010000
    00:00:05.866	<-- 14443A REQA.
    
    
    00:00:07.344	Set new target CID number
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Thanks,

    Alex.

  • correct - this will never work - as the firmware in the TRF7970AEVM as it ships was written well before NPP, SNEP and LLCP were created and then used.

    we are in the process of backporting portions of the P2P code to the TRF7970AEVM, but this will take some time as resources are limited for this activity. Is this a requirement for you to have the TRF7970AEVM as part of your demonstration/evaluation?  Perhaps the better question is: Do you need a P2P solution with a lower end MCU involved?

  • Hi Josh,

    My target is porting the NFC P2P for TRF7970ATB from MSP430 to CC2541. I've got this part from MSP430F5529_P2P_Demo f/w and ported it to CC2541 f/w. Now I'd like understand how to work NFC P2P on MSP430F5529 board. So I need other part for P2P connection and I take TRF7970AEVM.

    A question about the log: what does "()" mean?

    For example:

    23:59:14.811    --> 010D000304A208010203080000
    23:59:14.971    <-- 14443A Select.
    ()

    Thanks,

    Alex.

  • Dear Alex,

    If you are trying to experiment with how to use NFC P2P with the 5529 you could get our Launchpad and Boosterpack bundle which has a DLP-7970A and a MSP430F5529: https://estore.ti.com/nfclink-bndl.aspx

    With that hardware you can use the LaunchPad build option in CCS for the P2P demo you already have.

  • Thank for your explanations!

    Alex.

  • Josh,

    I am having the same problem.  Whenever I try to communicate in NFC-PP mode, I get the message "Set new CID number".  I really want to duplicate this function in the EVM to get an idea of range and alignment requirement.

    What can I do to make this work as shown in the TRF7970AEVM Users Guide?