Hello,
i need your help:
part: LM4F120H5QR
task for the PWM Signal: while the counter counting down, an write value to the MATCH register has immediate effect, and the CCP Pin reacts immediately. ( not in the next period.):
Timing:
time 0: PWM low--> HIgh
time 300us: calculate and update MATCH Register
time 400us-3000us: Pulse width
time 4000us: PMW High--> Low, new periode
my question about the MRSU bit from the GPTMTAMR Register:
0: Update the GPTMTAMATCHR register and the GPTMTAPR register, if used, on the next cycle
|_____> Next Cycle ist the Clock Cycle? if yes then an update of the GPTMTAMATCHR register must show an immediate effect!?
But my problem ist, the update always occurs only in the next period, how i can change this?
1: Update the GPTMTAMATCHR register and the GPTMTAPR register, if used, on the next timeout.
thank you for help,
Walter