CC2340R5: Regarding sis config

Part Number: CC2340R5
Other Parts Discussed in Thread: CC2500

Tool/software:

Hello,

We want to enable wireless communication between CC2340R5 and CC2500. We have followed below setps,

1. Create New Project in Code Composer Studio

2. Select Device - CC2340R5

3. Category - TI Proprietary RF

4. Example - rfPacketTx

5. Compiler - CCS & Kernel - No RTOS.

6. Create

7. After Creating project, we  tried changing configuration through rfPacketTx.syscfg

8. We selected Proprietary (250 Kbps, MSK)

> It is giving building error. If we select BLE - Generic 1Mbps/ 2Mbps/ Coded. It is building properly.

Can you help with this?

  • Hello Kapre,

    I hope you are doing well. I believe the issue here is in step 8, when we switch from the default BLE proprf PHY to any other PHY one setting is lost/reset in syscfg (that being the Register Field define field in Code export configuration section), in order to solve this issue we just need to copy and paste the same Register Field define setting from BLE to MSK:

    PBE_GENERIC_RAM_LENCFG_LENPOS,PBE_GENERIC_RAM_LENCFG_NUMLENBITS

    Thanks,
    Alex F

  • We added below line tos the file rfPacketTx.c. The code build was successful.

    // Register field definitions:
    #define RCL_REGISTER_FIELD_PBE_GENERIC_RAM_LENCFG_LENPOS          0x08
    #define RCL_REGISTER_FIELD_PBE_GENERIC_RAM_LENCFG_NUMLENBITS      0x08

    These were two lines copied from the code for which build was successful (BLE- Generic)

    > Now i want to connect wirelessly CC2500 and CC2340R5. The first issue is with SYNC word. The CC2500 has a SYNC word of 2 Bytes and CC2340R5 has a SYNC word of 4 Bytes. Can you help with the appropriate register setting for successful wireless connection ?

  • Hello Kapre,

    Could we try sending a repeated syncword to see if that works? (IE if CC2500 is set to 0xD391 we set CC2340R5 to 0xD391D391, but there should be a way of changing the syncword length on the CC2340R5, I just don't know it right now). 

    THanks,
    Alex F