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.

RF comunication

Other Parts Discussed in Thread: CC430F6137

hello

I have two boards based on cc430f6137

i want to use rf module and i used your examples in slac525a(Asynchronous_Communication)

i made two projects in ccs one for tx and another for rx with Asynchronous_Communication file in slac525a      and i got my two boards programed with these two projects.

I don't know how rf works . what are GDO pins? what does timer do in this project? what is being sent between rx and tx?

I guess transmiter is transmiting timer but how? what does timer do?

what does gdo do?

sorry I'm so confused

  • please answer my question I'm drowning in rf codes

  • Hello Mory,

    Have you reviewed the CC430 examples application notes (link)? 

    GDOx signals are highly-configurable digital IO lines that communicate information about the radio core according to their settings withing the respective IO Configuration, or GDOx_IOCFG registers of the radio core.    For more information, please review page 674 of the CC430 User's Guide.   The configuration tables can be located on page 712.

    Regards,

    Sem Amesawu

  • This is what makes me confused , as you see in the comments '' asynchronous data into the radio is taken from GDO0 and not the timer. ''

    so what does timer do?and why TA1CCR0 =TA1CCR1 = 50 ?and why  P2SEL |= BIT2     P2DIR |= BIT2?

    I mean what is CCR1 output from TA1 used ?

    if TA1CCR0 =TA1CCR1 = 50, it doesn't give you 50% duty cycle so why am i seeing 50% DC on p2.2?

    data is transmitting and receiving through GDO0? so what does timer do?

    is timer externally connected to GDO0(p1.0) in hardware?

    // Internal timer output (10.5 kHz) to Radio TX
    // NOTE: SMARTF_CC430 IOCFG0 should = 0x2E. When IOCFG0 = 0x2D,
    // asynchronous data into the radio is taken from GDO0 and not the timer.
    TA1CCR0 = 50;
    TA1CCR1 = 50;

    TA1CCTL0 = OUTMOD_4;
    TA1CCTL1 = OUTMOD_4;
    TA1CTL = TASSEL__SMCLK + MC_1 + TACLR;

    // Init P2.2 to output TX signal to the radio
    P2SEL |= BIT2;
    P2DIR |= BIT2;

    PMAPPWD = 0x02D52; // Get write-access to port mapping regs
    P2MAP2 = PM_TA1CCR0A; // Map TA output to TX to P2.2
    PMAPPWD = 0x00; // Lock Port mapping

    regards 

    mory

  • nobody?

    RF module is complicated and I just had a few questions about your examples.

  • Hi Mory,

    mory key said:
    This is what makes me confused , as you see in the comments '' asynchronous data into the radio is taken from GDO0 and not the timer. ''

    Yes, this will occur if  IOCFG = 0x2D, as referenced in the line above.  In RfSettings_TX.c (under the HAL folder tree), on line 64 you can see that the value of IOCFG is set to 0x2E; therefore the signal will be taken from TimerA1.

    mory key said:
    P2SEL |= BIT2     P2DIR |= BIT2?

     These two lines of code are initializing P2.2 as an output for TX signal, which is controlled by the TA1CCR0 register.    

    mory key said:
    if TA1CCR0 =TA1CCR1 = 50, it doesn't give you 50% duty cycle so why am i seeing 50% DC on p2.2?

    Page 7 of the CC430 examples guide states that both synchronous and asynchronous examples use a 50 % duty cycle.   

    Regards,
    Sem Amesawu

  • sir forget about the 50% DC , I got that.

    but my questions are :

     in the transmiter: 

    1 - the output  of the TA1CCR1A(Pin2.2) is connected to RFGDO0(Pin1.0)?

    because of  this : " // asynchronous data into the radio is taken from GDO0 and not the timer.  "

    in the other hand it's said that :  " //The output of the timer is internally connected to the GDO0 " !!!!!! how????

     

    and in the receiver:

    2 - as it's shown why  GDO0 is on pin2.6 and not pin 1.0?

    P2DIR |= BIT6; // P2.6 output
    P2SEL |= BIT6; // P2.6 select

    PMAPPWD = 0x02D52; // Get write-access to port mapping regs
    P2MAP6 = PM_RFGDO0; // Map GDO0 to P2.6
    PMAPPWD = 0x00; // Lock Port mapping 

    3- what does capture do? should we connect pin 2.6 to pin 2.1(TA1CCR0A)?

    // Enable timer interrupts to see if input is visible
    TA1CTL = TASSEL__SMCLK + MC_2 + TACLR;
    TA1CCTL0 = CM_3 + CCIS_1 + CAP + CCIE;

    thanks

  • what's wrong 

    is my question odd? or that's difficault to answer?

  • if I make another topic in this topic and ask my question there will certainly be somebody to answer 

    but why nobody is answering now?

    nobody? it's been days

  • mory key said:

    1 - the output  of the TA1CCR1A(Pin2.2) is connected to RFGDO0(Pin1.0)?

    because of  this : " // asynchronous data into the radio is taken from GDO0 and not the timer.  "

    in the other hand it's said that :  " //The output of the timer is internally connected to the GDO0 " !!!!!! how????

    TX data is taken either from the TimerA Capture/Compare Output or the GDO pin, which would dependent upon the value of the GDO_CFG register.    If the register value is set to 0x2D, then TX data will be taken from the GDO0 pin.   The Asynchronous example has the value of the GDO_CFG register set to 0x2E, which sets the GDO0 to Hi-Z and the TX data can be taken from the TA0CCRx register.   

    The importance of this register setting, which maps different radio functionality to the GDO0 pin, is that GDO0_CFG NOT be set to 0x2D, which would select GDO0 as the transmission signal. Instead, the firmware intends to provide the signal through the internal connection of the timer output. The high-impedance setting is just an easy place-holder for the GDOx functionality that does not affect the system.  -(Page 8, SLAA465C)

     

    mory key said:

    and in the receiver:

    2 - as it's shown why  GDO0 is on pin2.6 and not pin 1.0?

    P2DIR |= BIT6; // P2.6 output
    P2SEL |= BIT6; // P2.6 select

    PMAPPWD = 0x02D52; // Get write-access to port mapping regs
    P2MAP6 = PM_RFGDO0; // Map GDO0 to P2.6
    PMAPPWD = 0x00; // Lock Port mapping 


    The answer to your question is in bold.    Using the Port Mapping Controller peripherial, P2.6  has been mapped to P1.0, much like how  P2.2 is mapped to P2.1 for the TX configuration.  

    The GDO0 signal reflects the serial data stream output from the radio, which is then port mapped to a port pin for verification of the reception by an oscilloscope (Page 8, SLAA465C).

    Regards,

    Sem Amesawu

  • Hello mory,

    Did you have any other questions regarding the CC430 example?  Please let us know what we can do to help.

    Regards,

    Sem Amesawu

  • so in the transmitter  p2.2 is only for showing what we're sending to rf input?

    I mean what we're seeing onp2.2 is going to rf input and being transmitted?

    and       output of TA1CCR0A is connected to rf input automatically (default) ?

    in the receiver p2.6 is only for showing what we're receiving from rf output?

    and       input of TA1CCR0A is connected to rf output automatically (default) ?

    if you answer this I have no other question

  • mory key said:

    I mean what we're seeing onp2.2 is going to rf input and being transmitted?

    and       output of TA1CCR0A is connected to rf input automatically (default) ?

    Correct.  TA1CCR0A is internally connected to the TX Modulator interface.

    mory key said:

    in the receiver p2.6 is only for showing what we're receiving from rf output?

    and       input of TA1CCR0A is connected to rf output automatically (default) ?

    Correct, the example has the output of the RX front end connecting to P2.6 and the Capture input (TA1CCR0A).

    Please let us know if you have any additional questions.

    Regards,

    Sem Amesawu

  • I have two custom board made by myself 

    when I see PINs RF_P and RF_N with spectrum analyzer I see nothing at any frequency

    is my problem from pcb board or rf module is damaged

    is there anything important when i solder the ic (for example not to touch ic pins or ...) or soldering same as usuall

    thanks 

    high regards

  • your answer helped me and i verified it 

    and sir you told : me if you have more question let me know 

    my question is above about soldering the ic 

  • Hello Mory,

    Please review PCB Design Guidelines referenced in the link below.

    http://www.ti.com/lit/an/slua271a/slua271a.pdf

    We would not publish soldering information, for optimal reflow results your reflow profile should be developed in cooperation with the solder paste supplier as well as the equipment supplier.   The solder paste vendor's datasheet includes recommendation for reflow profiles based on alloy melting temperatures and flux activity.  These recommendations must be followed to achieve optimal flux activity resulting in wetting of the lead surface. The flux activity in the solder paste plays an important role in facilitating solder wetting resulting in consistent solder joint geometries.

    The maximum allowed reflow solder temperature is specified for Pb-free and non Pb-free soldering per JEDEC Standard document number J-STD-020D.1.  

    0537.JSTD020D-01.pdf

    Please let us know if you have any other questions.

    Regards,

    Sem Amesawu

**Attention** This is a public forum