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.

CC1310: CC1310: EasyLink at 200kbps or higher?

Part Number: CC1310

I found this cc1310 chip difficult to deal with. I hit many road blocks and because of the jungle of frameworks and versions, the documentation is not super reliable.

I take the rfEasyLinkTx and I would like to make it work at 200kbps. First, the documentation about EasyLink_init seems wrong here:

http://dev.ti.com/tirex/content/simplelink_cc13x0_sdk_1_00_00_13/docs/proprietary-rf/html/easylink-reference.html

It says:

EasyLink_Status EasyLink_init(EasyLink_PhyType ui32ModType)

But it seems that now, EasyLink_init take a pointer to a param structure:

EasyLink_Params easyLink_params;
EasyLink_Params_init(&easyLink_params);
EasyLink_init(&easyLink_params);

I have changed easylink_config.h to the following and it's not working:

#define EASYLINK_PARAM_CONFIG \
{.ui32ModType = EasyLink_Phy_200kbps2gfsk, \
.pClientEventCb = NULL, \
.nClientEventMask = 0, \
.pGrnFxn = (EasyLink_GetRandomNumber)rand\
}

If I keep the original Phy_custom, I estimate to 50kbps. I put, Phy_50kbps2gfsk, it's working and the same. But if I put EasyLink_Phy_200kbps2gfsk, it doesn't work any more.

That makes some some because I don't have SUPPORT_PHY_50KBPS2GFSK in the symbol. If I add SUPPORT_PHY_50KBPS2GFSK in the predefined symbol, the basic sample even doesn't compile!!!

How do I transmit at 200kbps? Also, the primary datasheet has multiple reference to "data rate" "up to 4Mbps". What is the maximum transmission rate I could expect, both RX and TX chips being one meter away and with "optimal" antenna?

It says:

 
 
  • EasyLink has changed slightly over time and hence the documentation could seem misleading if you find documentation that is referring to a different version than you are using. I see that you are pointing to a very old SDK version. If you are able to I would suggest you update to the newest SDK version to start with. When I know which SDK version you are using I can hopefully guide you further.

    The chip can support up to 4 Mbps but above 500 kbps uses a high speed API, EasyLink is using the genfsk API and hence supports up to 500 kbps without rewriting everything. If you jsut want to send 1 m you can use whatever datarate you want. For range estimation, see www.ti.com/.../RF-RANGE-ESTIMATOR
  • I have the latest SimpleSDK version 3.10.0.11. The web link I provided is the first and only one that comes through Google.

    I have many questions:

    - how do I go from 50kbps to 200kbps or 500kbps with Easylink?

    - why doesn't the basic TX example compile when adding SUPPORT_PHY_200KBPS2GFSK?

    - Is there a better way to just change the baudrate?

    - does SUPPORT_PHY_500KBPS2GFSK exist somewhere?

    - Is there an example of the high speed API somewhere in order to go over .5Mbps?
  • - Please check  the easylink_config.h

    and the following define:

    #define EASYLINK_PARAM_CONFIG  \
        {.ui32ModType            = EasyLink_Phy_Custom,      \
         .pClientEventCb         = NULL,                     \
         .nClientEventMask       = 0,                        \
         .pGrnFxn                = (EasyLink_GetRandomNumber)rand\
        }

    Try to change the ModType to some of the other predefines.

    You can see in easylink_config.c which settings that are available. If you want to use a datarate etc that are not part of the predefines, you can export the setting from smartRF Studio and replace the smartrf_setting.c with the exported code.

  • It seems that I can do 500kbps with the Smart RF Studio. Is there an example somewhere how to do more than 500kbps?

  • In the per test example in the SDK you will find 4 Mbps high speed mode settings. If you search the forum you can also find a 1.5 Mbps setting. Note that these settings uses a different API than EasyLInk does meaning that you have to rewrite EasyLink if you want support for more than 500 kbps.