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.

RTLib how to support CC2630 + CC2592 with CC2630 4x4 XD (External bias, Differential)

Other Parts Discussed in Thread: CC2592, CC2630, CC2650

Hi team,

my customer use CC2630 + CC2592, with CC2630 4x4 package, External bias, Differential.

Currently, SmartRF Studio cannot support CC2592. They only can use RadioTestLibrary (1.5.0) to verify/finetune their HW. By default, RadioTestLibrary support CC2650EM-7ID. Please instruct how to support CC2630 4x4, External bias, Differential.

I have notified them to modify below.

void getTargetName(QString& targetName)

{

    if(deviceName == "CC2650_BLE")

    {

        targetName = "CC2650EM-7ID";

    }

    else if(deviceName == "CC2650_IEEE_15_4")

    {

        targetName = "CC2650EM-4XS";

    }

   ...

}

Please instruct what else they should modify. Below list some items.

  • Is below change correct ? (config/xml/cc2650/targets/target_cc2650em-4xs.xml). or leave is as "CC2650EM-4XS"

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE target SYSTEM "../../dtd/target.dtd"[]>
<target>
<Name>CC2650EM-4XD</Name>
<Revision></Revision>
<Description></Description>
<DeviceName></DeviceName>
<DevicePackage></DevicePackage>
<FrontEnd>XS</FrontEnd>
<PaSettings>pasettings.xml</PaSettings>
<RfDesign>CC2650EM-4XD</RfDesign>
<IoSettingsIdle>
</IoSettingsIdle>
<IoSettingsRx>
</IoSettingsRx>
<IoSettingsTx>
</IoSettingsTx>
</target>

  • Since they use CC2592, do you have default power table to replace below ? (cc2650\targets\pasettings.xml)

<RfDesign name="CC2650EM-4XS">
<FrequencyRange>
<Min>2400</Min>
<Max>2500</Max>
<PaSettingTable>
<PaSetting text="2"><Value>0x9C29</Value></PaSetting>
<PaSetting text="1"><Value>0x6A1F</Value></PaSetting>
<PaSetting text="0"><Value>0x566C</Value></PaSetting>
<PaSetting text="-3"><Value>0x355C</Value></PaSetting>
<PaSetting text="-6"><Value>0x2954</Value></PaSetting>
<PaSetting text="-9"><Value>0x214F</Value></PaSetting>
<PaSetting text="-12"><Value>0x14CE</Value></PaSetting>
<PaSetting text="-15"><Value>0x14CB</Value></PaSetting>
<PaSetting text="-18"><Value>0x10C9</Value></PaSetting>
<PaSetting text="-21"><Value>0x0CC7</Value></PaSetting>
</PaSettingTable>
</FrequencyRange>
</RfDesign>

Thank you.

  • The <Name> tag is only used by SmartRF Studio as a link from the selected target board to the xml file with the target board definitions. As long as it is consistent with the target name used int the target_.xxx.xml it doesn't matter. The value that matters for the front end settings are the <FrontEnd> tag. This is the link to the frontend_settings.xml file. "XS" as given above means "Single Ended" front end with "External" bias. The frontend_settings.xml file can be found under the ..\config\xml\cc2650_ieee_15_4\cmd_settings folder.  

    To have a "clean" environment I think the best solution is to make a copy of the target_cc2650em_4xs.xml and rename it to target_cc2650em_4xd.xml. Since the target is 4 x 4 (External bias, Differencial), it is less confusing. The target name should then be changed to "CC2650-4XD" and the content should be changed as shown above with the name set to "CC2650_4XD" and in addition the <FrontEnd> tag should be set to "XD". That will give the correct Front end settings.

    In addition there is the <RfDesign> tag which is used as link to the pasettings.xml. This is used by SmartRF Studio to populate the list of "TX Power" settings and if the function setParameter() is used in RTLib to change the output power, the list will be used to find the value to set in the CMD_RADIO_SETUP.txPower field. Unfortunately we don't have any default power settings for the target board CC2650EM-4XD + CC2592. To find the optimal value it must be tested with the actual target board. If the <RfDesign> is changed to "CC2650EM-4XD" a new block should be added to the pasettings.xml file. I guess A copy of the "CC2650-4XS" would be a good start.

    Regards,

    Øyvind

  • Forgot to mention that the new target_cc2650em_4xd.xml file must also be added to the targets.xml file.