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.

CCS/RF430FRL152HEVM: ADC0 sampling & reading via NFC interface

Part Number: RF430FRL152HEVM
Other Parts Discussed in Thread: RF430FRL152H, TRF7970A

Tool/software: Code Composer Studio

We urgently need to do POC base on RF430FRL152HEVM.
The functionality of this POC is as follows

1. The ADC0 would sample the voltage across an external resistor, once every "x" seconds
and move the data to the known locations in the FRAM.
( later on we may need to either average or peak detect the data over a few samples...)
the 430 uC goes to sleep ( or LPM) in between the sampling stages

2. Then a NFC reader/ writer  from the NFC interface side and reads the recorded data.
The data is then post processed in the NFC reader device to provide useful information (
from stored data) to the user.

Question:
I believe the fastest way to achieve this, to start with the RF430FRL15xH NFC project
and then to add simple code to make the function call to code existing in the ROM firmware to activate the ADC0.
Am I correct? or is there a better way?

I would really like to use the calls to ROM firmware to get the ADC0 working, primarily from the speed of implementation.

Is there some place ( link in TI website/ other website) , or document or guideline that gives
details of the various function calls available in the "ROM firmware"

Please feel free to suggest alternate method to get this POC done- time is of the essence.

With thanks in advance

-anurag

  • Hello Anurag,

    for you application you do not have to write firmware. This can all be done by the ROM firmware.
    The ROM firmware is controlled by virtual registers in the memory space that can be accessed by the NFC reader/writer.
    First configure the registers for your application then the measured data can be read out with the NFC reader.

    For more information please see the RF430FRL152H FAQ and the Firmware User Guide:

    www.ti.com/.../sloa247c.pdf
    www.ti.com/.../slau603b.pdf

    Best regards,
    Helfried
  • Hi Helfried,

    For our application, we do need the monitor & data-log the ADC periodically ( irrespective of the NFC reader accessing the unit)

    and then transmit the "logged" data over the NFC at a later point in time, when the NFC reader accesses the unit.

    I went through the 2 documents and could not find the necessary information

    May be I am misinterpreting something or it is hiding in plain sight.

    It would be great if you could point to the specifics...

    You would have my eternal gratitude :-)

    Thank you

    -anurag

    +1-408-482-8034

  • Hello Anurag,

    see section 7 of the Firmware Users Guide for all available virtual setup registers to configure your measurement and the measurement schedule.

    A good help and starting point is the use of the RF430FRL152HEVM GUI which gives you access to all virtual registers, starting the measurement and reading out the measured data.


     http://www.ti.com/lit/zip/slac692
     
    Best regards,
    Helfried

  • Hi Helfried,

    I shall go through the details and come back with specific question, if any.

    Also on the GUI,

    would I be able to gain access to virtual registers even if I do not have TRF7970EVM

    ( or any other reader/ writer..as all of them are no longer available for purchase)

    hooked up to my computer?

    Regards

    -anurag

  • Hello Anurag,

    you can use any ISO15693 reader/write because these register can be accessed by simple read block / write block commands.

    The TRF7970A EVM is no longer available but the DLP TRF7970ATB (Booster Pack) should be available soon again.

    Best regards,
    Helfried
  • Hi Helfried

     DLP TRF7970ATB (Booster Pack), is not available yet... so looks I am stuck.

    The gui  does *not* access anything without the reader/ writer- so looks like we are back to the basics.

    I really need help- so that I can set up the ADC0 sample the value 

    It may be the time to set up a webex 

    Regards

    -anurag

    +1-408-482-8034

     

  • Hi Helfried,

    Do you at this point, it is worth considering going back to the original idea of writing a small code to sample the ADC and move the sample result to FRAM.
    Then use the NFC block read command to retrieve the data.
    There is a typo in my mail above- instead of " gui does not access" it should read "gui does not display"

    Also I wanted to know, where the format for the "binary" file passing the commands through GUI (last tab) is documented

    With thanks & regards
    -anurag
  • Hello Anurag,

    what reader do you have to retrieve the data? Are you want to use a smartphone?

    There is an android app available which is for the RF430-TMPSNS-EVM but will also work with the RF430FRL152HEVM:
    Please see the following thread:

    e2e.ti.com/.../602633

    Is you application battery powered?

    The "binary" files that you can pass through the GUI are our TI .txt files, which are very simple ASCII hex files.
    Code Composer Studio can generate these files as output.

    Best regards,
    Helfried
  • Hello Anurag,

    I haven't heard from you for a while. Hope you were able to solve your problem. If not please post a reply. If the thread has been locked due to time-out please create a new one.

    Best regards,

    Helfried