Jump to content

Recommended Posts

Posted

Hi Pilo,

MIOS_Timer uses TMR3, thats already a 16 bit timer, and by using the MIOS_Timer_Init function you're able to control "allowed" parameters.

Take care that USER_Timer is an interrupt service routine (Use FSR2, use IRQ_TMP*, etc...)

Best Regards, Thorsten.

Posted

mmm sounds good ;)

actually I don't need the interupt, or maybe just in case the input frequency is too low. I just need to get and set the 16bits counter value.

thanks! ;)

Posted

Hi Pilo,

the problem is, that you didn't mention which problems you are observing, therefore I cannot really give you an useful answer...

However, the lcd_benchmark application demonstrates how to use TMR3 w/o interrupts.

Best Regards, Thorsten.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...