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.

AM3352: 1ms generation with Timer1

Part Number: AM3352

Hi,

I'm trying to generate a tick period (ms) other than 1ms using Timer1.

Can you teach me if there is sample code for 1ms generation using Timer1?

I checked Starterware in "pdk_am335x_1_0_14" but could not find it.

In addition, although there was a sample code for DMTimer in "AM335X_StarterWare_02_00_01_01", items that set 1ms of Timer1 could not be confirmed.

Best regards,

O.H

  • Are you using TI RTOS or bare-metal code. PDK staterware does have DMtimer example here:

    pdk_am335x_1_0_xx\packages\ti\starterware\examples\dmtimer 

    We also provide DMtimer setup in OS Abstraction layer (OSAL) for both RTOS and No-os here:

    pdk_am335x_1_0_xx\packages\ti\osal\src\nonos\timer

    Hope this helps. 

    Regards,

    Rahul