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.

TM4C1294NCPDT: Using latest TivaWare with TI-RTOS v2.16

Part Number: TM4C1294NCPDT

Hi,

I am developing embedded application using TM4C1294NCPDT, TI-RTOS v2.16 and CCS v9.0.1.

TI-RTOS v2.16 contains "TivaWare_C_Series-2.1.1.71b".

Latest TivaWare is "TivaWare_C_Series_2_1_4_178".

Is it possible to use these together in TI-RTOS based application ?

Consider scenario: I am using I2C, PWM peripherals using TI-RTOS thread safe drivers. ADC peripheral using latest "TivaWare_C_Series_2_1_4_178".

Does this combination will work ?

Please let us know any reported issues if any after trying this combination.

Thanking you.

Best Regards,

Harshel

  • Hi,

      I don't see a problem to use the 2.1.4.178 ADC driver with TI-RTOS.  I'm not clear how you are going to handle linking two different versions of the TivaWare library?

  • Hi,

    What about other peripherals on microcontrollers ?

    Specially for some peripherals TI-RTOS provides thread safe drivers.

    For those peripherals thread safe drivers not provided, is it safe to use latest TivaWare instead of TivaWare provided with TI-RTOS ?

    Best Regards,

    Harshel

  • Hi,

      I'm checking with our TI-RTOS experts how to best handle this. 

  • Hi,

    I tried using latest TivaWare and TI-RTOS thread safe drivers together in a project.

    It's working fine for me.

    But still want to make sure this will work reliably.

    And also if any known issues or guideline so that pre-caution can be taken to avoid conflict with these drivers as you suggested best way to handle.

    Best Regards,

    Harshel

  • Hi Harshel,

     I hope these two post may bring some clarity. Basically, the TI-RTOS for Tiva 2.16.x was not validated with the TivaWare 2.1.4.178. Doing some searches on the forum, it looks like some people are able to get this combination working but again this is not validated and there is no plan for TI-RTOS to release a new version with support for TivaWare 2.1.4.178 at this moment. 

    https://e2e.ti.com/support/microcontrollers/other/f/908/t/877596?tisearch=e2e-sitesearch&keymatch=ti-rtos%2525252525202.1.4.178

  • Hi Charles,

    I have referred posts shared by you. I am using USB library from latest TivaWare with TI-RTOS v2.16. And no as such issues found.

    I am using latest TivaWare drivers for ADC, EEPROM, Flash, USB, etc. (peripherals for which thread safe drivers are not provided) along with TI-RTOS v2.16 approx. 2 yrs. I have not found any as such issues.

    Still my application is running well.

    As I am developing for critical embedded application. I would like to know any known issues related or safe way to use latest TivaWare with Ti-RTOS v2.16 from TI's expert team.

    Best Regards,

    Harshel

  • Newer TivaWare 2.1.4.178 fixes some bugs that existed in 2.1.1.71b. From my (hazy) memory, the most important of these affected ADC (analog digital converter) features. Since you said that you are using ADC peripheral, you may want to check whether TI-RTOS is providing its own code to interface the ADC, or is using TivaWare for that. If it uses TivaWare, you could use a code comparison tool (e.g., such as WinMerge) to compare the relevant code between TivaWare 2.1.1.71b and 2.1.4.178, determine whether the changes affect your application, and if so, you could try to backport the relevant changes yourself. Be sure to test your changes carefully. Unfortunately I cannot offer any more guidance than that, because my employer decided to use a different RTOS for our applications, so I never got very far into the interaction between TI-RTOS and TivaWare.

  • Hi,

      Please take a look at the below link for the known issues to see if they are pertaining to you. Most of the known issues are related to the ethernet. If you are not using Ethernet and If you have been using the latest TivaWare along with the TI-RTOS v2.16 for 2 years and haven't run into any issues then I think you should be fine at least within the scope of your usage. It is that the combination of the latest TivaWare along with the TI-RTOS v2.16 was not validated from our TI-RTOS team. 

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/tirtos_tivac_known_issues.html

  • Hi,

    The above shared link is very useful to refer issues reported.

    I am referring it.

    Best regards,

    Harshel