Other Parts Discussed in Thread: CC1350
Tool/software: TI-RTOS
Hi,
I could not find examples for timer module in TI-RTOS ware for CC1350. There aren't any examples for Hwi or Swi. Is there anyway I can get them?
Thank you
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.
Tool/software: TI-RTOS
Hi,
I could not find examples for timer module in TI-RTOS ware for CC1350. There aren't any examples for Hwi or Swi. Is there anyway I can get them?
Thank you
Hi Navin,
Have you looked at the Resource Explorer in CCS? There are plenty of examples for Swis and clocks. Maybe this can be a good starting point.
If you need to use Timers instead of clocks, there should be some examples in the E2E forums.
If you look at the documentation,
You should look at the driver runtime APIs. In the PWM driver, you should have a link to the GPTImer documentation.
On my computer, the GP TImer documentation was located here:
C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/docs/doxygen/html/_g_p_timer_c_c26_x_x_8h.html
Regards,
Michel
Hi Michael,
I have the latest CC13xx ware, but there aren't any Hwi examples. I found the Swi examples in the kernel section under CC1350LAUNCHXL and also timers under the folder you have mentioned in the above post. I was watching the TI-RTOS tutorial by Eric Wilbur. I tried catch up with the labs, due to the lack of examples I'm not able to proceed further. Any help from you would be appreciated.
Kind regards,
Thank you
Navin Reddy
Hi Navin,
I am not quite sure I understand what you are asking. Your original question was about Hwis, but Hwis are a concept purely in TI-RTOS. You cannot have Hwis or Swis without TI-RTOS.
But if you are looking at the low-level drivers of the timer, I suggest that you look at the drivelib. The TI-RTOS GPTimer uses the timer driverlib for its low-level functions.
The driverlib folder should be located here (the versions might be different on your computer depending on what you have installed on your computer):
C:\ti\tirtos_cc13xx_cc26xx_2_20_01_08\products\cc13xxware_2_04_02_17240\driverlib
Look in timer.c and .h
For interrupt specific functions, look in interrupt.c and .h
I also recommend that you look inside the <driver>_doc.h file for additional information.
Regards,
Michel