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.

Problems With Setting Sysclkdis

Other Parts Discussed in Thread: TMS320C5515

Hello!

I have some problems using PCGCR1 register  (0x1C02).

I need to set  the SYSCLKDIS bit.

So it is Disabled . To turn off the CLK to all peripherials.

 

void System ()

    CSL_FINST(CSL_SYSCTRL_REGS->PCGCR1,SYS_PCGCR1_SYSCLKDIS,DISABLED);

    printf ("Sysclkdis-Disabled\n");

}

But the PCGCR1 value doesn`t change.  The SYSCLKDIS bit stays "0".

Sry for my bad english.

 

I use TMS320C5515 onboard  USB emulator.

  • Also i can`t set bits i need in RTCPMGT register.

    I use

    CSL_FINST(CSL_RTC_REGS->RTCPMGT, RTC_RTCPMGT_WU_DIR, OUT);

    CSL_FINST(CSL_RTC_REGS->RTCPMGT, RTC_RTCPMGT_WU_DOUT, HIGH );

     

    or this

        CSL_RTC_REGS->RTCPMGT = 0x0013;

     

    nothing happens WU_DIR  and WU_DOUT bits stay as they were before

    it`s killing me^^