Skip to main content
kotesh
Associate
March 21, 2023
Solved

1. How can we watch the PWM signal output in the Stm32 cube ide ? 2. How can we watch UART serial-based output console in the STM32 cube ide?

  • March 21, 2023
  • 1 reply
  • 5181 views

I need answers with producer for above queries for learning about stm32 mcus with stm32 cube ide.

This topic has been closed for replies.
Best answer by Foued_KH

Hello,

  • PWM signal :

Check the signal with an Oscilloscope.

  • UART console

Create a new Command Shell Console.

0693W00000aJOQoQAO.pngConfigure the new Console  just as you did with PuTTY.

0693W00000aJOR3QAO.png 

  • Also, You can too open a console emulator such as TeraTerm. Configure the console baud rate and data bits length. The COM Port name may differ on your PC.

Foued

1 reply

Foued_KH
Foued_KHBest answer
ST Employee
March 21, 2023

Hello,

  • PWM signal :

Check the signal with an Oscilloscope.

  • UART console

Create a new Command Shell Console.

0693W00000aJOQoQAO.pngConfigure the new Console  just as you did with PuTTY.

0693W00000aJOR3QAO.png 

  • Also, You can too open a console emulator such as TeraTerm. Configure the console baud rate and data bits length. The COM Port name may differ on your PC.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
kotesh
koteshAuthor
Associate
March 21, 2023

Regarding PWM watching console, does not have any inbuilt console in stm32 cube ide?

Foued_KH
ST Employee
March 21, 2023

For the UART communication, check this link :Getting started with UART - stm32mcu (stmicroelectronics.cn)

PWM: try to debug ,check the value of the registers and get the results via an Oscilloscope.

Hands-On with STM32 Timers: Complementary Variable Frequency PWM - Bing video

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.