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.

CC1190: Range Extender CC1310-CC1190

Part Number: CC1190
Other Parts Discussed in Thread: CC1310, LAUNCHXL-CC13-90

Hi All,

    We are developing an application using CC1310. We have decided to use range extender CC1190 along with CC1310. We have configured the three-digital control pins (PA_EN, LNA_EN, and HGM).

We want to enable the "PA_EN" while transmitting and "LNA_EN" while receiving the packets. We used the control pins in our code as given below, Please have a look and let's know if we are right.

/* Initialization of the Control Pins */

  PIN_Config pinTable[] = 
  {  
    CC1310_LAUNCHXL_DIO28_ANALOG | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,   /* HGM */
    CC1310_LAUNCHXL_DIO29_ANALOG | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,   /* LNA_EN */ 
    CC1310_LAUNCHXL_DIO30_ANALOG | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MAX,  /* PA_EN */ 
    PIN_TERMINATE
  };

  pin_Handle = PIN_open(&pin_State, pinTable);
  if (pin_Handle == NULL)
  {
    //UART_write(uart,"\n\rGPIO_Init failed",18);
    while(1);
  }

/* LNA_EN should be tied to RFC_GPO0 */
   PINCC26XX_setMux(pin_Handle,CC1310_LAUNCHXL_DIO29_ANALOG,PINCC26XX_MUX_RFC_GPO0);

/* PA_EN should be tied to RFC_GPO1 */   
   PINCC26XX_setMux(pin_Handle,CC1310_LAUNCHXL_DIO30_ANALOG,PINCC26XX_MUX_RFC_GPO1);
     
/* SET DEFAULT STATE */   
    
    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO28_ANALOG,SET);    /* HGM */
    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO29_ANALOG,SET);    /* LNA_EN */ 
    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO30_ANALOG,RESET);  /* PA_EN */  


/* Use of Control Pins in EasyLink_nortos.c */

/* SET PA before transmit */

    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO29_ANALOG,RESET);
    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO30_ANALOG,SET);   
    

    asyncCmdHndl = RF_postCmd(rfHandle, (RF_Op*)&EasyLink_cmdPropCs,
                              RF_PriorityHigh, ccaDoneCallback, EASYLINK_RF_EVENT_MASK);

/* RESET PA after transmit */
    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO29_ANALOG,SET);
    PIN_setOutputValue(pin_Handle,CC1310_LAUNCHXL_DIO30_ANALOG,RESET);