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.

C6748 BIOS Problem...

I using the PDLogic c6748 evm borad.

I have a Problem.

TSK_sleep() is not working.

Run TKS_sleep() abort the operation.

and

PRD is not Working.

Help...Please

ccs version : 3.3.82.13

bios 5.41.11.38

code Generation : v7.0.3

xdc : 3.15.1.59

  • Hi Sung-min,

    could you provide more information? Where are you trying to call TSK_sleep() from?

  • This is my code.

    void main()
    {
      unsigned int rtn;
       USTIMER_init();
       I2C_init(I2C0, I2C_CLK_400K);
        UART_init(DEBUG_PORT, 115200);
     return;
    }//end main

    void Task0(void)
    {
     int i;
     double a1=3.3, b1=2.2, c1=1.1;

         while(1)

        {
           LED_turnOn(LED_1);

          for(i=0;i<65535;i++)
          {
               a1=b1*c1;
              b1=c1+a1;
             c1=a1/b1;
          }
          LED_turnOff(LED_1);
         TSK_sleep(100);
     
        }
    }

    Task0 is working LED on/off.

    Task0 is not pass TSK_sleep(100).

    LED1 is ones twinkle.

  • HI Sung-min,

    have you tried one of the shipped BIOS 5 examples? You can create a "New CCS Project" where you will find a "clk example" that uses TSK_sleep().

    (Note: The snapshot was taken from CCS v5.1)