Are PWM modules of LPC11U14 buffered??

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by HugoKrajnc on Mon Aug 25 04:46:59 MST 2014
Hi all,

I'm currently using the PWM functionalities of the 32 bit counters of a LPC11U14, and I've been assuming this far that the parameters of this module (mainly, period and duty cycle, which you set by means of the match values) were updated only after the current period is finished. This would ensure that there are no glitches or weird timing behaviors when trying to update any of these values. I've seen this functionality in many other micros.

However, it would seem that this is not the case, is that correct? I.e. that these match values (when in PWM mode) are not buffered? I'm noticing this because during my code execution I get different behaviors depending on in which part of the pulse I modify the parameters.

Could anyone please clarify which case (i.e.buffered / not buffered) it is?