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

XMC™ Forum Discussions

User16753
Level 1
Level 1
Hello,

I am working on an audio amplifier automatic maximum power controller using an XMC4700 relax dev board and the DtoA driving a VCA.

I want to use a timer to measure soft clipping time, timer work in two ways:

1) High-level port pin state exceeds an alarm amount between 50uS and 100mS, then an interrupt.
2) The entire high-level state time is captured, so rising edge to falling edge, then an interrupt.

Which pins, timers do I use? do i need to use two port pins and two timers?

Thanks

Gary
0 Likes
1 Reply
User16753
Level 1
Level 1
Here is a output from the soft clipper hardware :
Shows soft clipping , and the signal to the micro.
0 Likes