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/AM3352: Watchdog clock configuration

Part Number: AM3352

Tool/software: Code Composer Studio

Hi

      I need to enable the watchdog,but I don't confirm which timer is used for watchdog,

what is the base address to config the register?

how can I config watchdog timer?

when I write data to watchdog regiser with base address 0x4ae14000,

when call to

HW_WR_FIELD32(
baseAddr + WD_TIMER_WDSC,
WD_TIMER_WDSC_SOFTRESET,
WD_TIMER_WDSC_SOFTRESET_RESETCMD);

it is crashed.

in my application code,I have use a timer for interrupt.

my PDK version is pdk_am335x_1_0_13

  • Hi,

    I suggest you study the Startware WD Timer example which I shared with you here: https://e2e.ti.com/support/processors/f/791/t/882097

    Here is the output log of this example when executing on BBB:

    StarterWare WDT CPU Reset Application!!
    BOARDInit status [0x0]
    SoC : [AM335X]
    Core : [A8]
    Board Detected : [BEAGLEBONEBLACK]
    Base Board Revision : [UNKNOWN]
    Daughter Card Revision: [UNKNOWN]

    Total WDT instances present = 2
    The instance address is 44e35000
    Program Reset!Input ENTER key at least once in every 4 seconds to avoid a further reset.

    The base address of WDT1 is also shown in the AM335x TRM (spruh73p.pdf), Table 2-2. L4_WKUP Peripheral Memory Map.

    Regards,
    Frank