Other Parts Discussed in Thread: SYSBIOS, Z-STACK
Hello,
i've few questions about pwm on CC2652R1F uc.
I have to drive ws2813 leds with use of pwm. But as far as i know to the PWM driver from SDK doesn't work with DMA and there is no possibility to have some callback or interrupt when PWM period occurs.
So i decided to write my own PWM driver from scratch. But i've some issues.
1. How can i map pin to work as PWM output. I don't see PORTID related to the GPT in reference manual:
2. How can i write my own interrupt handler. I couldn't find anywhere ISR vector table...
Or should i simply use TimerIntRegister() function as i have in my app.cfg following code: (i started with example project from sdk)
/* * Starting address to place the interrupt vector table. * Note: This is currently placed in RAM to allow for interrupts to be * configured at runtime. */ /* Put interrupt vector at start of RAM so interrupts can be configured at runtime */ m3Hwi.vectorTableAddress = 0x20000000;
3. Can i use DMA without any special constraints? Maybe there are some limitatiions depending on Z-Stack or sysbios architecture.
Regards,
mf


