-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use PWM pins with STM Nucleo H743ZI #34461
Comments
I check with the samples/basic/blinky_pwm/ on a nucleo_h723zg which is ike the nucleo h743zi, with similar PWM config. The PWM output of the Timer12 channel1 is on pin pb14. On the nucleo board (MB1364) the PB14 is on the red led. Enabling the PWM of the the TIMER 12 channel 1, will directly control the red led. |
Hi @FRASTM, the issue is there is not output from the PWM pin and hence we do not see any blinking/flashing of LEDs, Now I also tried out the blinky_pwm_led example as you suggested, but I get an error on build saying zephyr/include/drivers/pwm.h:374 "undefined reference to __device_ord_24' |
what is your zephyr branch ? With the latest (ecf8914) I can compile w/o any error
|
Hi @FRASTM, it seems that the codebase I was not using was not in the latest zephyr branch. When reverted to the latest branch, I'm able to build the app. I'm closing the issue. |
Unable to use PWM with STM Nucleo H743ZI
Hi, I'm trying out to control a servo motor attached to the STM Nucleo H743Zi board running on Zephyr RTOS but the PWM pins seems to be configured improperly and I get no signal from the pins.
The issue I'm facing is very similar to this issue however, the solution provided here doesn't seem to work.
I'm attaching my source code here for your reference.
Environment
A few important points regarding my source code
The code actually builds without errors but on testing with an oscilloscope, there's no PWM pin output from the pin.
Any help to resolve this issue will be appreciated.
The text was updated successfully, but these errors were encountered: