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/RF430FRL152H: RF430FRL152H SD14 SAMPLE MODE

Part Number: RF430FRL152H
Other Parts Discussed in Thread: MSP-FET,

Tool/software: Code Composer Studio

Hello everyone,

I just purchased RF430FRL152HEVM and MSP-FET recently. I would like to ask if there is a sample code about SD14 for my reference? I searched in resource explorer but I can't find it. There are only two mode about ADC10 and ADC12 .

looking for your reply! Thank you so much!

Amanda

  • Hello Amanda,

    Yes there is! Section 3.2 of our FAQ guide provides the download link and descriptions for our example firmware offerings: https://www.ti.com/lit/pdf/sloa247

    Typically the SD14 is best used from ROM-code, but the NFC-only project shows how to use it otherwise.

  • Hello Ralph,

    I have read the manual, and I found the SD14 sampling program in the forum.

    Now there is a question whether NFC and I2C can be used at the same time in the following situation: the mobile phone powers the RF430, starts the program, and then the RF430 through I2C communicates with another DAC chip, making the DAC output voltage, and then measures. Then RF430 performs ADC operation to read the measured value and send it to the mobile phone by NFC.

    One more question, in RF430 .h file there are two ports, I don not know the mean of it?  Can you tell me how is RF430's GPIO  set? I want to use two pins to output voltages.

    Best Regards,

    Amanda

  • Hello Amanda,

    I think that would be doable, you'd have to piece together a few different parts of the code to make that work. It might be a bit tight memory wise though so I would recommend limiting any processing of data and just passing raw data over NFC to save code space.

    The RF430FRL152H has an MSP430 core in the center, so those are two GPIO ports like you would have on a standard microcontroller. 

    The technical reference manual chapter on Versatile I/O Port walks through how to use it: www.ti.com/.../slau506

  • Hello Ralph,

    Thank you for your help, I find the instruction of GPIO and know the function deeply. However, I am not very clear whether the RF430 uses the following two functions at the same time?  1. using NFC to transmit ADC sampling data to mobile phone ; 2. using I2C  communicates with DAC chip.  Because I see these words in the sample program:

    If eUSCI host controller portion is needed along with the RF functionality, the default project
    * must be used. That is NFC cannot be supported in that application (because the I2C/SPI host controller
    * control registers are in the same place that the NFC file needs to be). However the rest of the FRAM
    * memory can be used for storing and reading using ISO15693.

    I just started the road of hardware learning, and there are many questions I don’t understand. Thank you very much for your answers!

    Amanda

  • Hello Amanda,

    I just checked the part in the patch.c file of the default project you refered to.

    This has to be a typo and should mean NDEF instead of NFC. If using NDEF support the memory range from 0xF868 to 0xFCD0 is used for the NDEF message.

    The I2C/SPI host controller part, when enabled, is using the memory from 0xF840 to 0xFFD0 which would collide with the NDEF message memory area.

    In the default project you can use the NFC support and the I2C/SPI support together. But, of course, not the NDEF message support.

    Hope that helps.

    Best regards,

    Helfried