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.

TIDM-RF430FRLSENSE: Code for the RF430FRL152H temperature sensing patch

Part Number: TIDM-RF430FRLSENSE
Other Parts Discussed in Thread: TRF7970A, RF430FRL152HEVM, RF430FRL152H, LMT70, TIDA-00721

Hello,

I am making a prototype of the TIDM-RF430FRLSENSE using the same components but trying out a different analogue sensor. I intend to use CCS and use the JTAG interface for programming the chip using the MSP-FET430UIF programmer. I am also thinking of using the TRF7970A+MSP-EXP430G2 as the reader. I had a look at the firmware's guide and a few example initialization codes (Default / NFC Only), and I was wondering whether I could just use the NFC project code and insert the code for the sensor into the main function to make the device work? I read that the main function already exists in the ROM, so I am also not sure if I have to repeat that in the code I'll use or not. If yes, where can I get that?

  • Hello,

    you can find the sample code for the RF430FRL152HEVM here:

    This should be a good starting point for you project.

    A main function is not needed because it is already included in the ROM code.

    Best Regards,

    Helfried

  • Hello Helfried,

    Thank you for the resources. Could you please advice where I should put the code for my analogue sensor if I am using any of the sample codes?

    Best,
    Mehzabin

  • Hello Mehzabin,

    I am not sure what hardware you have available.
    The best starting point is, as you have written in your first post, the RF430FRL151HEVM with the TRF7970 + MSP430_EXP430G2.
    This together with the PC GUI you can read out the analog sensors.
    The RF430FRL152HEVM is using the Firmware described as SensorHub Project.

    You can connect your own analog sensor to the RF430FRL152H ADC input es long as your signal is in the range of 0-1V.
    No additional firmware is neccessary because all can be handled by the ROM firmware. Configuration of the ADC, measurement start and readout of the the ADC data can be done via the ISO15693 RF interface.
    See the Firmware Users Guide.

    Firmware must be written for sensors that need initialisation or to fetch data from digital sensors.

    Best Regards,
    Helfried
  • Hi Helfried,


    As you mentioned, I am using SensorHub Project and it doesn't have any main function. So CCS is always giving warning about this and I am not able to debug my code because of this warning.

    I followed this guide : e2e.ti.com/.../1429818
    to change the starting function from main function to another function (deviceInit()) but it didn't work.

    What should I do to be able to debug my code? (ie; to see register settings when I run my code.)


    Thanks for your help.
    Selman
  • Hi Selman

    please find the answer on how to debug the SensorHub and similar Projects in the following thread:

    Best Regards,

    Helfried

  • Thank you for your reply, Helfried. 

    I know TIDA-00721 uses an LMT70 temperature sensor but I was hoping to use the sensor with the TIDM-RF430FRLSENSE. I have removed R16 from the RF430FRL152HEVM evaluation module so that I can use ADC0 on SV16. As far as I've read, I understand the raw ADC / voltage data will be sent to the reader and the reader will do the conversion to temperature. Is that correct? If so, would I need to change the code in the reader (TRF7970 + MSP430_EXP430G2) for the conversion? 

    Also, can I use the ''Default project'' code, and put my firmware for the LMT70 in the user ''userCustomCommand()'' function or use the ''interrupt void SD_ADC_ISR()" function? 

    Best,
    Elma

  • Elma,

    normally the conversion is done in the software that controls the reader not in the firmware of the reader.

    The LMT70 can not be connected direct to the ADC input because it has an output voltage that exceeds the 0.9V max. for the ADC input.

    Best Regards,
    Helfried

**Attention** This is a public forum