cancel
Showing results for 
Search instead for 
Did you mean: 

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?

kotesh
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Foued_KH
ST Employee

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.

View solution in original post

3 REPLIES 3
Foued_KH
ST Employee

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.

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

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.