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.

I can not find some definitions in the Technical Reference Manual

Hi,

When I read the code of the starterware and the TRM , I find something missed in the TRM,for example:

AM335X_StarterWare_02_00_00_06\bootloader\src\bl_am335x.c
 
 
void PowerDomainTransitionInit(void)
{
    HWREG(SOC_CM_PER_REGS + CM_PER_L3_CLKSTCTRL) |=
                             CM_PER_L3_CLKSTCTRL_CLKTRCTRL_SW_WKUP;
     HWREG(SOC_CM_PER_REGS + CM_PER_L4LS_CLKSTCTRL) |=
                             CM_PER_L4LS_CLKSTCTRL_CLKTRCTRL_SW_WKUP;
    HWREG(SOC_CM_WKUP_REGS + CM_WKUP_CLKSTCTRL) |=
                             CM_WKUP_CLKSTCTRL_CLKTRCTRL_SW_WKUP;
    HWREG(SOC_CM_PER_REGS + CM_PER_L4FW_CLKSTCTRL) |= 
                              CM_PER_L4FW_CLKSTCTRL_CLKTRCTRL_SW_WKUP;
    HWREG(SOC_CM_PER_REGS + CM_PER_L3S_CLKSTCTRL) |= 
                                CM_PER_L3S_CLKSTCTRL_CLKTRCTRL_SW_WKUP;
}
 
CM_PER_L4FW_CLKSTCTRL:
\AM335X_StarterWare_02_00_00_06\include\hw\hw_cm_per.h
 
#define CM_PER_L4LS_CLKSTCTRL   (0x0)
#define CM_PER_L3S_CLKSTCTRL   (0x4)
#define CM_PER_L4FW_CLKSTCTRL   (0x8)
#define CM_PER_L3_CLKSTCTRL   (0xc)
#define CM_PER_CPGMAC0_CLKCTRL   (0x14)
 
 
but in the "TRM"  "8.1.12.1   CM_PER Registers "
 
I can not find the definition about  "CM_PER_L4FW_CLKSTCTRL".
it also  happened in the DMTimer  module and USB module.Where can I find the complete definitions about the registers.
Thanks & Regards
Yantck.
  • That is a clock control for the L4 firewall, which really shouldn't need to be touched for most applications.  i can add it in to the next release of the TRM.

    Regards,

    James

  • Thanks,JJD.

    in addition, the " DMTimerEndOfInterrupt " function, "DMTIMER_IRQ_EOI" also can not be found in the TRM,but it is used in the DMTimer_ISR of the Starterware.

    And, USB0 Core domain,address from  0x4740_1400  to  0x4740_17FF,can not be found in the TRM. Is that mens we can only transplant the starterware,but can not modify the code ?

    Thanks in advance.

  • These EOI registers are not needed in AM335x.  AM335x uses level sensitive interrupts rather than edge sensitive interrupts and therefore the is no need to use the EOI register to have the module re-strobe the interrupt line if there pending interrupts exist.