CCU4 interrupts in timer mode

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

cross mob
Not applicable
I'm currently playing with XMC4500 Relax Kit, and I need a little help with CCU4 in timer mode, because I'm not feel relaxed at all when I try to do something with it 😉

What I want to do it's fairly simple. I want to run CCU4 in timer mode, and set it to generate an interrupt and hardware toggle some of the output pin related to CCU4 with 1MHz frequency. Furthermore I want to run simultaneously the timer with 50Hz frequency and generate an interrupt on every cycle.

Unfortunately it's too hard task for me on XMC family. I know how to do it on NXP or Stellaris Cortex-M4 based micro-controllers, but Infineon made it so complex that I have troubles to do it.

Please give me some clues and maybe some sample code.
0 Likes
1 Reply
Not applicable
Hi Mark,

Did you try with our DAVE Apps?
By using PWMSP001 apps, all your requirement can be done easily by configuring on the app UI editor.
I would suggest you try our DAVE3 IDE and DAVE apps for your implementation.
You can download at DAVE3 Support Portal.
0 Likes