Hello,
i need your help:
part: LM4F120H5QR, Launchpad
my question about the MRSU bit from the GPTMTAMR Register > Datasheet:
0: Update the GPTMTAMATCHR register and the GPTMTAPR register, if used, on the next cycle
1: Update the GPTMTAMATCHR register and the GPTMTAPR register, if used, on the next timeout.
____> 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?
Timing:
time 0: CCP Pin low--> HIgh
time 300us: calculate and update MATCH Register
time 400us-3000us: Pulse width --> CCP Pin Low
time 4000us:--> new periode
thank you for help,
Walter