Jump to content
43oh

Timer not working on CC3200 - How to enable without sysctl?


Recommended Posts

Hello all.

 

I'm new to CC3200 and trying to develop an application for the launchpad using a Timer. 

 

Energia has the timer.h module, and I've found TI's documentation for the General Purpose Timer module, along with a few code snippets.

 

My code dies when calling TimerConfigure(base, type). I think that this is because the timer peripherals need need to be enabled as a system peripheral before they can be manipulated.

 

It looks like  SysCtlPeripheralEnable(SYSCTL_PERIPH_TIMERx) is what you'd call before calling the TimerXxx functions. However, the cc3200 driverlib doesn't have a sysctl.h (or .c), and thus the method is not available.

 

Is there an alternate approach to using the timer facilities?

 

Thanks for any insights!

- eric

Link to post
Share on other sites

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.

×
×
  • Create New...