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.

CC2640 FCC ETSI test code?

Other Parts Discussed in Thread: CC2640, CC2541, BLE-STACK

Are there any sample code about CC2640 FCC ETSI test?

I try CC2541 way:  

   HCI_EXT_EndModemTestCmd();
   HCI_EXT_ModemTestTxCmd(HCI_EXT_TX_UNMODULATED_CARRIER,39);

but it just doesn't work on CC2640.
(Use this code, it draw 20~30mA power, looks work, but no RADIO output)
  • Hi,

    Take a look in the HCI Vendor Specific API Guide included with the 2.0.0 BLE-Stack Installer for the right commands.

    Cheers,
    Fredrik
  • The below is my code, it is no work too. The status return failure,why?

    bool status = FAILURE;
     if ( txPower <= HCI_EXT_TX_POWER_5_DBM )
     {

      status = HCI_EXT_ModemTestTxCmd( cwMode, txFreq );
      status = HCI_EXT_SetTxPowerCmd( txPower );
     }
     else
     {
      HCI_EXT_EndModemTestCmd();

     }

    static ICall_EntityID
    ICall_getEntityId(void)
    {
    ICall_GetEntityIdArgs args;
    ICall_Errno errno;
    args.hdr.service = ICALL_SERVICE_CLASS_PRIMITIVE;
    args.hdr.func = ICALL_PRIMITIVE_FUNC_GET_ENTITY_ID;
    errno = ICall_dispatcher(&args.hdr);
    if (errno == ICALL_ERRNO_SUCCESS)
    {
    return args.entity;
    }
    return ICALL_INVALID_ENTITY_ID;
    }

    In this call, it will be return ICALL_INVALID_ENTITY_ID, may be i miss something?