Skip to main content
dieter 123
Associate III
Feb 8, 2017 12:09 PM UTC
Question

CUBEMX and TIM1 channel 1 PWM generation

Posted on February 08, 2017 at 13:09

Hi

in CUBEMX for a L476XX I would like to set up a PWM channel. In the pinout tab of cube under TIM1 I can choose between 'PWM generation ch1' and  'PWM generation ch1N'. 

So is it like it just switches the pin for channel 1?

What does ch1N stand for?

In which document would I find the description?

THX

#cubemx-4.19 #timer
This topic has been closed for replies.

1 reply

ST Technical Moderator
Feb 8, 2017 12:42 PM UTC
Posted on February 08, 2017 at 13:42

Hello

dieter.dieter

,

You should refer to the reference manual

http://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM000835pdf/files/DM000835pdf/jcr:content/translations/en.DM000835pdf

related to your device STM32L476xx (inAdvanced-control timers (TIM1/TIM8) section )and this

http://www.st.com/content/ccc/resource/technical/document/datasheet/c5/ed/2f/60/aa/79/42/0b/DM001088pdf/files/DM001088pdf/jcr:content/translations/en.DM001088pdf

toreview the pins description and identify the free/usable pins assignment in your configuration.

Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks