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.

AM2634: MCAL Driver with freetos

Part Number: AM2634


Hello

We have mcal driver for our project. We try to integrate also the freertos. So I have two important questions:

1. Could you enable us an example freertos project with mcal driver?

2. We want to initialize the first the peripheries of the controller and then start the Os. But this works with the syscfg settings; but not with the mcal drivers that we have. But when we start first the Os then no problem.

Which is the correct way and what must be done, that the Mcal drivers works like sysfg?

Thank you in advance 

  • Hi,

    Im working on this thread. Currently we don't have any examples demonstrating MCAL + freertos. I'd have to check with TI MCAL team if there's a timeline or plans to add such kind of examples. 

    For initialising peripherals, we have the init functions in all the peripheral modules, you can simply use them to configure the peripherals and then start the OS. This works similar to syscfg configurations. For example please see the pseudo code below

    Int main()

    {

        mcu_init(); //call for initialising the SoC

        Port_init(); // call to initialise ports

        Spi_init(); //peripheral inits

         Dio_init();

          Os_scheduler_start();

    }

    Hope this helps.