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-RF430-TEMPSENSE : How to access 2KB FRAM memory through I2C or SPI for the Sensor Patch

Other Parts Discussed in Thread: TIDM-RF430-TEMPSENSE, RF430FRL152HEVM, RF430FRL152H

Hi,

Can I change the entire 2KB FRAM data with custom data through SPI or I2C protocol externally in the TIDM-RF430-TEMPSENSE sensor patch?

  • Hello Jayakrishnan,

    It is possible, though I would recommend using the RF430FRL152HEVM, not the TIDM-RF430-TEMPSENSE as the TI design is not intended to be used in place of the EVM for applications outside of sensors.

    From device Tech Ref Manual:

    The ability of the CPU to write to its own FRAM memory allows for in-system and external custom programming solutions. The user can choose to provide data to the device through any means available (for example, SPI, I2C, or RF). User-developed software can receive the data and program the FRAM memory. Because this type of solution is developed by the user, it can be completely customized to fit the application needs for programming or updating the FRAM memory.

    Note that we do not have example code for this, and you will have to develop such an application on your own by referencing our available collateral as it is a custom solution for your specific application.

  • Thanks for the reply Ralph.

    According to you to entire FRAM contents can be changed using I2C/SPi protocols.

    Currently, TIDM-RF430-TEMPSENSE is capturing temperature storing in FRAM (According to my knowledge).

    What will happen if I changed the FRAM contents, Whether my custom contents will be overwritten by the temperature data by the sensor?

    Is there any kind of firmware is running in TIDM-RF430-TEMPSENSE currently?

    Can you please give me the information about the temperature data (Location) stored in the FRAM and how you are converting it to the temperature?

  • Hello Jayakrishnan,

    The TIDM-RF430-TEMPSENSE runs purely from ROM code. It does not have any FRAM programmed at production. The ROM RF Stack + Sensor Stack are used in conjunction to receive configuration commands for the SD14 over NFC/RFID which are written to the virtual registers starting at the "Block 0x00" for RFID commands, which corresponds to Address 0xF868 of FRAM. The addressing is described in Section 4.4 of our Firmware User's Guide: http://www.ti.com/lit/pdf/slau603

    If you change the entire FRAM contents, you would need to re-write the virtual registers to reconfigure the SD14 ADC unless your FRAM writing includes programming those registers for your desired SD14 operation. Regarding your firmware being overwritten, to avoid this you would need to define the data space reserved for logging samples which can be done by configuration the registers described in Section 7.47 Logging Memory Size Register and in Section 7.51 Logging Memory Space of the Firmware User's Guide. The default settings which are used for the TIDM-RF430-TEMPSENSE is that the datalogging space is 504 bytes large, so it spans from 0xF8B0 to 0xFCA0. The datalogging space starts at address 0xF8B0 which is directly after the Virtual Registers that range from 0xF868 to 0xF8AF.

    Note that the conversion to temperature is not done on the RF430FRL152H device. The raw ADC value is stored and transmitted over RF. All temperature conversions happen on the reader side either in software or in a PC GUI. The calculations are described in Section 4.1 of our device FAQ: http://www.ti.com/lit/pdf/sloa247