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.

CCS/LAUNCHXL-TMS57004: ADD a TIMER on SAMPLE BQ76PL455EVM Code

Part Number: LAUNCHXL-TMS57004
Other Parts Discussed in Thread: BQ76PL455EVM, HALCOGEN

Tool/software: Code Composer Studio

Hello everyone,

I want to add 10 milisecond timer to sample code that is given by TI for BQ76PL455EVM but do not know how to do it?

I have used HalCoGen to generate a sample code that includes several timers. I observed that it works well. But I do not know how to implement these one to BQ76PL455EVM.

But I had an idea and tried it but did not work.

I have changed vim.c and changed phantom interrupt with rtiComparexInterrupts. I have changed notification.c and enabled related interrupts

But It stopped communicating with BQ76PL455EVM. 

What I need to do ?

Thanks.

  • Hello,

    This is the rtiNotification() used in TMS570 BMS TI Design:

    #pragma WEAK(rtiNotification)
    void rtiNotification(uint32 notification)
    {
    /* enter user code between the USER CODE BEGIN and USER CODE END. */
    /* USER CODE BEGIN (9) */
    if(notification == rtiNOTIFICATION_COMPARE1)
    {
    g_ui32ACBTimeTick++;
    if( g_ui32ACBTimeTick> g_ui32ACBPeriod)
    {
    g_ui32ACBTimeTick = 0;
    }
    }

    /* USER CODE END */
    }