Hi , everybody.
I am using CC2531 USB Dongle , and use the SampleRemote project at Texas Instruments\Z-Stack Lighting 1.0.1\Projects\zstack\ZLL\SampleRemote\CC2530DB
And I just getting started with PWM on CC2531 .
I have seen the datasheet and also reference some information for PWM on CC2530 like the following :http://e2e.ti.com/support/low_power_rf/f/156/t/118346.aspx?pi267162=2
but I still don't understand how to use...
I found the information from the other web.
The SampleLight project choose Zlight - Router has PWM output by using Timer1 in C:\Texas Instruments\Z-Stack Lighting 1.0.1\Components\hal\target\CC2530PMP4712\hal_timer.c .
I have see the setup about Timer1 in SampleLight project -> hal_timer.c , but the hal_timer.c in SampleRemote is empty.
So , can I use the same code like the following for Timer1 in SampleLight project->hal_timer.c , and put in to SampleRemote ->hal_timer.c to implement the PWM on CC2531 via using Timer1 ?? or choose which mode to use , like:free-running or up/down mode ??
1.typedef struct
2.FUNCTIONS - Local
3.HalTimer1Init
4.halTimer1SetPeriod
5.halTimer1SetChannelDuty


