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.

  • Resolved

CC1310: Query Regarding code porting

Prodigy 220 points

Replies: 10

Views: 80

Part Number: CC1310

Hello,

I am looking to implement the collector example code based on cc1312R (TIDA-010024). I wanted to port this example code to the CC1310. I tried a few different solutions I found on the forums but was not able to build the project correctly. 

How do I go about this, if I use the CC1310, 15.4 stack collector example as a base and want to include the 6lowpan and DTLS part from the TIDA-010024? 

How do I go about this, if I  use a CC1310 empty project and port the entire CC1312 project to the cc1310?

Are there any other solutions to the problem? Please suggest me some way this can be achieved. 

  • Hey Sabin,

    I do see a related post here: https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/t/876810. To reiterate some comments there, a main concern here by using the CC1310 is a memory limitation, as this limits your network size.

    Sabin John
    How do I go about this, if I use the CC1310, 15.4 stack collector example as a base and want to include the 6lowpan and DTLS part from the TIDA-010024

    You can start here, however I'm not sure it will work. You will likely have to strip out a lot of features to get the barebones operation to work.. As listed in Table 1 of TIDA-010024, the remaining flash after implementing the end node on the CC1310 (using TIDA-010003) is 5KB, so you may not have enough memory for a collector role.

    Sabin John
    How do I go about this, if I  use a CC1310 empty project and port the entire CC1312 project to the cc1310?

    I wouldn't suggest starting from an empty project and porting the entire CC1312 project over to the CC1310. The ROM layout is different on these devices, and this will likely not work/be the best approach.

    Regards,

    Ammar

    Please click the "This Resolved My Issue" button on this post if it answers your question

  • In reply to Ammar N:

    Thank you very much for the input. I will decide further keeping these points in mind.

    Sabin

  • In reply to Ammar N:

    Hey Ammar,

    As per your inputs we have decided to go ahead with the CC1312R. However I have a few concerns..

    1. Does the launchpad for the 1312R support 433Mhz?

    2. We have our custom boards based on the cc1310. Are the cc1312r and cc1310 pin to pin compatible? Can we directly change the controllers and work on it?

    3. Will there be any changes required at RF side if we swap the controllers, (our boards are designed for 433mhz)?

  • In reply to Sabin John:

    Hey Sabin,

    Sabin John
    1. Does the launchpad for the 1312R support 433Mhz?

    The launchpad can support this PHY, however, we are working on characterizing this PHY currently have not released support for this PHY. See: https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/p/710070/2618320#2618320.

    Sabin John
    2. We have our custom boards based on the cc1310. Are the cc1312r and cc1310 pin to pin compatible? Can we directly change the controllers and work on it?

    The devices are pin to pin compatible, there's more information here: http://www.ti.com/lit/an/swra587/swra587.pdf.

    Sabin John
    3. Will there be any changes required at RF side if we swap the controllers, (our boards are designed for 433mhz)?

    Although I'm not familiar in this area, here is some insight I can provide.  After taking a look at our launchpad schematics, the RF front ends look very similar, so your devices should still work with the CC1312. If you have any follow up questions, I'll try to loop in the appropriate expert in this area.

    Regards,

    Ammar

    Please click the "This Resolved My Issue" button on this post if it answers your question

  • In reply to Ammar N:

    Hello Ammar,

    It would be good if you can loop in one of the RF experts. I wanted to clarify if the LC parameters of the RF balloon circuit need to be changed from what they were in CC1310 for 433 MHz.

    Thanks and Regards,

    Sabin

  • In reply to Sabin John:

    Hi,

    The same circuit can be used for CC1312.

    Please refer to SWRA640 for more info. The following is the link.

    Thanks,

    PM

  • In reply to PM:

    Thank you for the confirmation!

  • In reply to Sabin John:

    Hello,

    As per your suggestion, I am trying the ti15.4 stack example on our cc1312r custom boards. I am trying to modify the code for 433 MHz, but the sysconfig is overwriting any settings I am trying to make in the files during build. How do I prevent the sysconfig from overwriting my changes.

    Regards,

    Sabin

  • In reply to Sabin John:

    Hey Sabin,

    The characterization for 433 Mhz on the CC1312R is not completed, see https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/t/708238#pi320995=2.

    You'll have to port over the RF settings from SmartRF Studio or try porting over the settings from our CC1352P1 examples. I believe you've started this process, but I just want to make sure you are aware. As we have not released support for 433 Mhz, please note we can't guarantee full functionality at this PHY. That being said, it should have similar performance compared to the CC1310.

    See here for some instructions on disabling sysconfig (you may have to remove unused include paths after following these steps):

    https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/848015

    If you have any follow up questions, please create a new thread by hitting the "Ask a related question" as this question diverges from the original question asked.

    Regards,

    Ammar

    Please click the "This Resolved My Issue" button on this post if it answers your question

  • In reply to Ammar N:

    Okay thank you Ammar. I will try disabling the sysconfig approach.

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.