9 years, 10 months ago.

PWM1/1N ,PWM1/2N, PWM1/3N, what does the N stand for?

Let's say we are looking at PWM1/1, we have the following pins assigned: PA_7N, PA_8, PB_13N.

How are the N ones different from the non N? :)

They seem to be related to Timer1 somehow because they appear only there.

  • PWM1/1 - PA_7N, PA_8, PB_13N
  • PWM1/2 - PA_9, PB_0N, PB_14N
  • PWM1/3 - PA_10, PB_1N, PB_15N

Thanks!

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F411RET6 microcontroller.

1 Answer

9 years, 10 months ago.

IIRC the 'N' ones can have inverted output while running at he same time with the corresponding non-N one. This however is not used in the mbed library, and instead they operate just like any other PwmOut. You can ignore the 'N' being there, so that means for example you cannot use PWM1/1N and PWM1/1 at the same time.

Accepted Answer

Is there a way that a library can be modified to use both PWM1/1 and PWM1/1N at the same time?

posted by Christiaan Brand 21 Jul 2015