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.

TMS320F280039: Software Diagnostic Library implementation periodically in our Application

Part Number: TMS320F280039

Tool/software:

Dear Team,

We are using TMS320F28003x,TMS320F280015x Microcontrollers and AM-2364 Processor in for one of our Safety application with SIL-3 level. The Application for the Controllers are used to activate the Relays based on CAN commands received and send back the Relay status. 

We would like the use the Software Diagnostic Library (SDL) provided by TI for diagnostic purpose and we have planned to implement and run the libraries periodically during our application. The periodicity shall be from 1 Second to 10 second once and we have not decided yet. We have few clarification required on this to use this SDL libraries. The template for using SDL is as below.

void main ()

{

     MCU Init()

     SDL()

     app start  = True;

     if (app start)

     {

         while(1)

         {

              if(5 Sec flag)

              {

                 5 Sec flag = 0;

                  SDL()   // This shall complete within 90ms-100ms;

              }

              main app(); // requires atleast 100ms frame time

          }

       }

}

1. If the above functionality is possible to call SDL libraries periodically along with main app. (SDL libraries applicable only for modules used in this app)

2. If we use these SDL periodically say about 5 second once, will it affect our functionality and once completed it will continue its application or any other initialization required.

Regards,

Arjun Devadass,

Founder & Director - ELDAPS Technology Solutions Pvt Ltd

+91-8553243495

  • Hi,

    Our expert is out of office until early January. Please expect a delayed response.

    Best Regards,

    Ben Collier

  • In general that seems feasible but I don't have enough details about your particular use case to calculate all the execution times to confirm. You can look at the different SDL functions' execution times in the SDL user documentation and use it to plan out how long the tests will run and if you need to run them a few at a time each time SDL() is called or if you can run them all in one go. For example, if you need to run a March test on the RAMs, you might not be able to test all the RAMs within the required time limit, but could gradually cycle through it in 32 word intervals.

    Whitney