Programming XC2787

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi, all! Please tell me how to configure the microcontroller to generate pulses of varying frequency and duration. That is, use it as a pulse generator. I would be grateful for his valuable advice.
0 Likes
2 Replies
Not applicable
Hi,

Please use DAVE2 Code Generator tools to configure the device to generate PWM.
You can use GPT12 or CCU6 to generate your desire PWM waveform.
0 Likes
Not applicable
Hi, Jackson! With the timer T3 and the auxiliary timer T2, T4 continuously generated pulses. How to organize a timer interrupt T3 (say stop after 50 periods)? What is the easiest to do this using DAVE application or enter the code in the C-formed context.
0 Likes