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.

DLP-7970ABP V4.5: ULP wakeup

Other Parts Discussed in Thread: TRF7970A, DLP-7970ABP, TRF7960

Hi,

I'm interested in testing Ultra Low Power Card Presence detection (as described in SLOA184), that's why I purchased two new DLP-7970ABP booster pack V4.5. The new design includes now a pin for connecting to a comparator that will regularly trigger the detection logic ,as described in SLOA184. However, this report states also that the MSP430 should be clocked with SYS_CLOCK from the TRF7970A during detection period (section 4.5, page 13), and I cannot see from the new pin layout (DLP-7970ABP Hardware update overview SLOA226) how to do it.

Anyone has suggestions ? Did anyone already implement ULP card presence detection with an MSP430 launchpad and a DLP-7970ABP booster pack ?

Best regards,

  • Hey Franck,

    Glad to see you're interested in this new functionality.

    I developed this and was able to adjust the ULP code to run off of the internal DCO. It has been tested with the booster pack on the G2 launchpad. This software hasn't been released yet, or the document you are referring to updated. This is currently in progress though. :)

    I'll try and get you a early version of this project this evening.

    Thanks,
    JD
  • Hi Franck,

    I'm attaching a project which is in the early stages of development for you to get started with.

    It works with the MSP430 G2 LaunchPad, but you will have to remove the jumper for P1.0.

    After loading the code, power cycle the board and let it sit for 15-20 seconds to calibrate, and then you can try and read tags with it.

    Hope this will provide you a decent starting point.

    ULP on G2553 LP Example.zip

  • Hi Ralph,

    Many thanks Ralph. I will start from here and I'll keep you informed.

    Best regards,

    Franck

  • Hi Ralph,

    I had at last some time to start with the code you sent me.

    ULP card detection works fine (great, many thanks), but if I uncomment the code responsible for reading the card, It won't work. For instance, if I try to read an iso443A tag, the MSP430 get blocked into method Iso443aAnticollision (iso14443a.c lines 542 - 550). After investigating a bit, it seems there is a problem with the way the timer TimerA0 is used to wait 2ms (irq_flag won't change, since timerA ISR won't change its value) and even after fixing this timer issue the end of transmission interrupt will still never be received.

    Are these problems you already know ? I noticed also that the code for reading cards is quite different from the latest (september 2014) published by DLP-Design.
  • Hi Franck,

    Yes that is a known issue with that software project. I have been working on re-writing most of the firmware for the card reading functionality to remove issues such as that. The base project for what I have been working on however does not include the ULP card detection in it yet. If you want, you can attempt to integrate the ULP detection from the software I provided with the updated RFID reader code. From my testing, the reader code has worked well for me. Also the ISO14443A anticollision procedure is greatly improved. There still needs to be some detailed corner case testing done with the card reader though, so if you find any issues with this base do let me know! (that's my last step before I add in the ULP detection)

    If you are interested, you can find that code on this post: 

    If you are successful at combining these two projects, feel free to share the results :)

  • Hi Ralph,

    I will try to integrate ULP detection from this software. I already tested it a bit with my launchpad and TRF7960 BoosterPack and it works perfectly. I'll keep you informed and of course if I succeed I will be happy to share the results :-)
    Many thanks again for your help.

    Best regards,
    Franck