CC1352P7: How to get the TX power table for +20 dBm?

Part Number: CC1352P7
Other Parts Discussed in Thread: SYSCONFIG, , CC1352P

Tool/software:

Hi,

I'm currently developing some code for a CC1352P7, which will communicate over IEEE 802.15.4 at 2.4 GHz (more precisely: over OpenThread). A custom board will be used, which uses the PA for 2.4 GHz. I found a way to generate a TX power table, using SysConfig in CCS, but I'm not sure that what I did is correct:

I created a new project: File > Create New Project...

For board or device, I typed CC1352P7 then selected Device > CC1352P7.

For keyword, I typed empty then CR then selected one of the two empty examples displayed (seem identical)

I set compiler to CCS - TI Arm Clang Compiler.
I set kernel to No RTOS.

I clicked CREATE.

A project named empty_LP_CC1352P7_1_nortos_ticlang was created.

I double-clicked empty.syscfg.

I added the TI 15.4 Stack.

A warning was displayed: The board 'CC1352P7-1 LaunchPad' requires the 'RF Antenna Switch' to be selected. I ignored it.

I opened Radio Configure PHY settings for radio operations.
I set Frequency Band to 2.4 GHz.

I opened Power Configure power settings for radio operation.
The maximum transmit power value was 5. I selected 5.

I opened Other Dependencies > 250 kbps, OQPSK.
I ticked High PA.

An error was displayed: High PA for the 2400 frequency band is not supported in this RF Design.

I clicked RF Design.
I selected 2.4 GHz for Assign High PA To Frequency Band.
It was still not possible to set more than +5 dBm to Power Configure power settings for radio operation > Transmit Power.
But the ti_radio_config.c file contained two Power Tables: one for [-20, 5] and one for [14, 20].

In Other Dependencis > 250 kbps, OQPSK, I opened Code Export Configuration.
I set PA Table Export Method to Combined PA table.
The ti_radio_config.c file now contained two Power Tables: one for [-20, 5] and one for [-20, 20].

Was it the right way to generate the power table for [-20, 20]? It does not contain any value between 5 and 14. Is there a way to get some values for this interval?

Thanks,
Pascal

  • Hi Pascal,

    First I would like to make sure you're aware of the ot-ti repository for SimpleLink OpenThread development.

    Next is that you should be referencing LP-CC1352P7-4 examples which support a 2.4 GHz output power of +10 dBm (the -1 is meant for High PA on the Sub-1 GHz frequency bands).  I've supported modifying the -4 examples for +20 dBm previously which you can reference for your requirements:

    https://e2e.ti.com/f/1/t/1274602 
    https://e2e.ti.com/f/1/t/1268628 

    Regards,
    Ryan

  • Hi Ryan,

    Thanks for your reply.

    I have LP-CC1352P7-4 and -1 boards on my desk Slight smile and  was able to configure the -4 for +10 dBm. But I was trying to understand how to generate a power table fromù scratch. 

    I checked the values from the CC1352P_2 you provided in the first post above, and the ones for -20 to 5 are different from mine, generated according to the process I described above:

    // 2400 MHz, 5 + 20 dBm
    RF_TxPowerTable_Entry txPowerTable_2400_pa5_20[TXPOWERTABLE_2400_PA5_20_SIZE] =
    {
    {-20, RF_TxPowerTable_DEFAULT_PA_ENTRY(8, 3, 0, 2) }, // 0x04C8
    {-18, RF_TxPowerTable_DEFAULT_PA_ENTRY(10, 3, 0, 2) }, // 0x04CA
    {-15, RF_TxPowerTable_DEFAULT_PA_ENTRY(13, 3, 0, 3) }, // 0x06CD
    {-12, RF_TxPowerTable_DEFAULT_PA_ENTRY(16, 3, 0, 5) }, // 0x0AD0
    {-10, RF_TxPowerTable_DEFAULT_PA_ENTRY(19, 3, 0, 5) }, // 0x0AD3
    {-9, RF_TxPowerTable_DEFAULT_PA_ENTRY(20, 3, 0, 6) }, // 0x0CD4
    {-6, RF_TxPowerTable_DEFAULT_PA_ENTRY(19, 2, 0, 11) }, // 0x1693
    {-5, RF_TxPowerTable_DEFAULT_PA_ENTRY(21, 2, 0, 11) }, // 0x1695
    {-3, RF_TxPowerTable_DEFAULT_PA_ENTRY(25, 2, 0, 12) }, // 0x1899
    {0, RF_TxPowerTable_DEFAULT_PA_ENTRY(29, 1, 0, 22) }, // 0x2C5D
    {1, RF_TxPowerTable_DEFAULT_PA_ENTRY(33, 1, 0, 25) }, // 0x3261
    {2, RF_TxPowerTable_DEFAULT_PA_ENTRY(38, 1, 0, 31) }, // 0x3E66
    {3, RF_TxPowerTable_DEFAULT_PA_ENTRY(47, 1, 0, 36) }, // 0x486F
    {4, RF_TxPowerTable_DEFAULT_PA_ENTRY(32, 0, 0, 65) }, // 0x8220
    {5, RF_TxPowerTable_DEFAULT_PA_ENTRY(46, 0, 0, 59) }, // 0x762E
    {14, RF_TxPowerTable_HIGH_PA_ENTRY(22, 3, 1, 19, 27) }, // 0x1B27D6
    {15, RF_TxPowerTable_HIGH_PA_ENTRY(26, 3, 1, 23, 27) }, // 0x1B2FDA
    {16, RF_TxPowerTable_HIGH_PA_ENTRY(30, 3, 1, 28, 27) }, // 0x1B39DE
    {17, RF_TxPowerTable_HIGH_PA_ENTRY(37, 3, 1, 39, 27) }, // 0x1B4FE5
    {18, RF_TxPowerTable_HIGH_PA_ENTRY(32, 3, 1, 35, 48) }, // 0x3047E0
    {19, RF_TxPowerTable_HIGH_PA_ENTRY(34, 3, 1, 48, 63) }, // 0x3F61E2
    {20, RF_TxPowerTable_HIGH_PA_ENTRY(53, 3, 1, 58, 63) }, // 0x3F75F5
    RF_TxPowerTable_TERMINATION_ENTRY
    };
     
    What could be the reason?
  • I forgot: thanks for the link to ot-ti repository. Yes, I was aware of it.

    Regards,
    Pascal

  • Configuration changes between the CC1352P7-4 and CC1352P2 LaunchPad hardware, or the version of the SimpleLink F2 SDK used to reference the power table, could explain the differences. They should be minimal but acceptable if generated for your target device within SysConfig.

    Regards,
    Ryan

  • Hi Ryan,

    Thanks!