• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » RFID/NFC Forum » TRF7970A 106k end of communication indicator
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

TRF7970A 106k end of communication indicator

TRF7970A 106k end of communication indicator

This question is not answered
Marco
Posted by Marco
on Mar 26 2012 08:59 AM
Expert1420 points

Hello,

I tried to reproduce the bit coding for NFC 106k as described in the ecma 340 standard document Near Field Communication Interface and Protocol.

Therefore I transmitted one byte with the content 0x0F and had a look at the modulation pulses of the modified miller coding and the additional start and end condition of NFC.

The result can be seen below.

After a long time of RF-On the first pulse indicates the start condition. After this a correctly encoded one is transmitted  4 times (nopulse-pulse)

The first zero  encodes as unmodulated (nopulse-nopulse). The following 3 zeros are also correctly encoded, as subsequent 0 should be encoded with pulse-nopulse.

Now comes the interesting part ...the standard tells:

End of Communication: ZERO followed by one bit duration without modulation

Shouldn't this be pulse-nopulse-nopulse-nopulse-RFoff?

I only see a ONE for the End condition followed by a very short nopulse followed by RF-Off.

Are there any registers that help me to manage the eof behaviour? Changes Register 0x02 TX Options Register have no effect on the signal waveform.

Am I missing something in the ecma standard?

Any help appreciated.

Regards Marco

TrfTxOptions14443B.eof_l0=1;

TRF7970A NFC Bit Coding Miller
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Josh Wyatt
    Posted by Josh Wyatt
    on Mar 27 2012 10:40 AM
    Expert8065 points

    Marco -

    Kostas told me you spent alot of time on the phone with him recently - so we shall have a response for you in the next days on this.

    BR-

    Josh

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
    button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marco
    Posted by Marco
    on Mar 28 2012 08:22 AM
    Expert1420 points

    Hello Josh,

    Kostas asked me to provide further information for this problem, in special the register settings before I send the direct command for TX.

    You can find the register settings at the end of this post.

    Additionally I recognized that there are 2 types of  "end of communication". (See attachment)

    6746.TRF7970A_106k_EOF.pdf

    I split up E (End of communication) into 2 parts: E1 =0; E2 = unmodulated; E=E1+E2

    In one case E1 which should be 0 is 0 and E2 which should be an unmodulated carrier is RF off  (I am not sure if the NFC spec also defines unmodulated for RF-Off).

    In the other case E1 is "nopulse,pulse,very short nopulse" and E2 which should be an unmodulated carrier is RF off .

    Regards Marco

    TrfRegisters Raw: 25 B9 00 00 C1 C1 20 0E 07 31 0C 04 XX 3E 00 40 00 00 00 00 00 00 02 XX 02 C0 00 00 00 00 00 XX
    0x00 : ChipStatusControl = 0x25
        stby = 0
        direct = 0
        rf_on = 1
        rf_pwr = 0
        pm_on = 0
        agc_on = 1
        rec_on = 0
        vrs5_3 = 1
    0x01 : IsoControl = 0xB9
        rx_crc_n = 1
        dir_mode = 0
        rfid = 1
        nfc_tgt = 1
        nfc_mode = 1
        nfc_emu = 0
        nfc_br = 1
    0x02 : TxOptions14443B = 0x00
        egt = 0
        eof_l0 = 0
        sof_l1 = 0
        sof_l0 = 0
        l_egt = 0
        Auto_SDD_SAK = 0
    0x03 : HbrOptions14443A = 0x00
        dif_tx_br = 0
        tx_br = 0
        parity2tx = 0
        parity2rx = 0
    0x04 : TxTimerControl1 = 0xC1
        tm_st = 3
        tm_length_h = 1
    0x05 : TxTimerControl2 = 0xC1
        tm_length_l = 193
    0x06 : TxPulseLength = 0x20
        Pul = 32
    0x07 : RxNoResponseWaitTime = 0x0E
        NoResp = 14
    0x08 : RxWaitTime = 0x07
        Rxw = 7
    0x09 : ModulatorControl = 0x31
        en_27MHz = 0
        en_ook_p = 0
        Clo = 3
        en_ana = 0
        Pm = 1
    0x0A : RxSpecialSetting = 0x0C
        C212 = 0
        C424 = 0
        M848 = 0
        hbt = 0
        gd = 3
        agcr = 0
        no_lim = 0
    0x0B : RegulatorControl = 0x04
        auto_reg = 0
        en_ext_pa = 0
        io_low = 0
        vrs = 4
    0x0D : CollisionPosition1 = 0x3E
        ColUpperPart = 0
        En_irq_fifo = 1
        En_irq_crc = 1
        En_irq_par = 1
        En_irq_frame = 1
        En_irq_col = 1
        En_irq_noresp = 0
    0x0E : CollisionPosition2 = 0x00
        ColLowerPart = 0
    0x0F : RssiLevels = 0x40
        osc_ok = 1
        rssi_x = 0
        rssi = 0
    0x10 : SpecialFunctions1 = 0x00
        par43 = 0
        next_slot_37us = 0
        Sp_dir_mode = 0
        RX_4_bit = 0
        anticol_14 = 0
        col_7_6 = 0
    0x11 : SpecialFunctions2 = 0x00
        irq_srx = 0
    0x12 : Ram1 = 0x00
        val = 0
    0x13 : Ram2 = 0x00
        val = 0
    0x14 : FifoIrqLevels = 0x00
        Wlh = 0
        Wll = 0
    0x16 : NfcLowFieldLevel = 0x02
        Clex_dis = 0
        Hash = 0
        Rfdet_l = 2
    0x18 : NfcTargetLevel = 0x02
        Id_s = 0
        Sdd_en = 0
        Hi_rf = 0
        Rfdet_h = 2
    0x19: NfcTargetProtocol = 0xC0
        Rf_h = 1
        Rf_l = 1
        FeliCa = 0
        Pas_106 = 0
        Pas_14443B = 0
        NFCBR = 0
    0x1A: Test1 = 0x00
        OOK_Subc_In = 0
        MOD_Subc_Out = 0
        MOD_Direct = 0
        o_sel = 0
        low2 = 0
        low1 = 0
        zun = 0
        Test_AGC = 0
    0x1B: Test2 = 0x00
        test_rf_level = 0
        test_io1 = 0
        test_io0 = 0
        test_dec = 0
        clock_suc = 0
    0x1C: FifoStatus = 0x00
        Foverflow = 0
        Fb = 0
    0x1D: TxLength1 = 0x00
        Txl_h = 0
    0x1E: TxLength2 = 0x00
        Txl_l = 0
        Bb = 0
        Bbf = 0


    TRF7970A NFC Bit Coding Miller
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Marco
    Posted by Marco
    on Apr 11 2012 03:12 AM
    Expert1420 points

    Hello,

    in the meantime I made one step closer to the solution:

    The NFC106 standard frame enforces one parity bit per byte. Thus the last bit is not a part of "end of communication", it is the parity bit for the byte. So it changes depending on the even or odd amount of ones in the byte. The "End of communication" does not even exist partly in this case.

    I will only use standard frames - but just for interest, how do I tell the TRF to transmit a short frame (start-bit 0 to 6-end)?

    Regards

    Marco

    TRF7970A NFC Bit Coding Miller Byte Coding
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Josh Wyatt
    Posted by Josh Wyatt
    on Apr 17 2012 12:36 PM
    Expert8065 points

    Marco -

    is not the example of sending a short frame in ISO14443A seen directly as REQA and WUPA? (these are only commands in ISO14443-3 which use short frame, correct?) 

    We express this using the string:

    0x8F ==> reset the FIFO

    0x90 ==> send without CRC

    0x00

    0x0F ==> This covers the broken or short frame, where B0 indicates byte is not complete 8 bits, B1, B2 and B3 being set indicate # of bits = 7 (or short frame)

    0x26 ==> REQA

    or

    0x52 ==> WUPA

    BR-

    Josh

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
    button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use