Other Parts Discussed in Thread: SYSCONFIG,
I need to create two square waves with a period of 27273 us. One square wave needs to be delayed 7955 us from the start of the other one. I have accomplished this with three timers. One for the 1st square wave, one for the 2nd, and a 3rd to start the 2nd after the 7955 us delay.
This way was pretty easy but are there any other ways to synchronize the two wave forms as I have described?
When I measure these wave forms on the scope there is no jitter, but the timings are not quite correct. The period of the two waveforms measures 27090 to 27100 but it should be 27273. The delay measures 7880 and it should be 7955. What causes this error?
My app is based on the timerled example app in the SDK. This is a tirtos app. Would the timings be more accurate if I used nortos? Is nortos the same as bare-metal?
If I did switch to nortos, I am unsure what driverlib I should import.
I did a web search and found something about the CC13xx library. This is a little confusing. Is this the name of the library used by the timerled example app? The CC13xx driver library has this sentence in it - “When using TI RTOS and the included RTOS drivers it is important that a user application does not "bypass" TI RTOS drivers by calling DriverLib functions directly to configure any hardware that is controlled by TI RTOS. Doing so can cause a conflict that may result in unexpected behavior by the RTOS.”
This implies there is a driverlib for TI-RTOS and one for use when there is no RTOS. And that you must use the right one.
So what library would I use and how would I use it if I created a nortos app to create these waveforms?
Lastly, in the timer section of SysConfig, I see there is a checkbox that says GPTimer. What does this do?
				
                          