⚠️ Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
We don’t have any tutorial or library for motor drive. The SDK include an example demonstrating how to configure TIMER0 to produce PWM signals. A melody is produced on an externally connected buzzer. This example is under rojects\target_apps\peripheral_examples\timer0 SDK path.
Please check the source code of this project and you will find that the function which is responsible for the PWM functionality is the timer0_pwm_test(). Please check in this function the procedure you should follow in order to enable, initialize and use the timer0. The appropriate APIs are located under pwm.c / .h library/ more information about the PWM project you will find in section 7.28 TIMER0 (PWM0, PWM1) Example ofUM-B-050 : DA1458x Software Developers Guide (SDK5). If you need addition and more detailed information about PWM timers you should refer toUM-B-051 : DA14580 Software Platform Reference (SDK5)document and section 10.8 PWM Timers.
Hi MADHUSF,
We don’t have any tutorial or library for motor drive. The SDK include an example demonstrating how to configure TIMER0 to produce PWM signals. A melody is produced on an externally connected buzzer. This example is under rojects\target_apps\peripheral_examples\timer0 SDK path.
Thanks, PM_Dialog
你能解释一下这个项目吗clearly i need description of timer0 project ,,I want to know where port details,etc
你能解释一下这个项目吗clearly i need description of timer0 project ,,I want to know where port details,etc
Hi MADHUSF,
Please check the source code of this project and you will find that the function which is responsible for the PWM functionality is the timer0_pwm_test(). Please check in this function the procedure you should follow in order to enable, initialize and use the timer0. The appropriate APIs are located under pwm.c / .h library/ more information about the PWM project you will find in section 7.28 TIMER0 (PWM0, PWM1) Example ofUM-B-050 : DA1458x Software Developers Guide (SDK5). If you need addition and more detailed information about PWM timers you should refer toUM-B-051 : DA14580 Software Platform Reference (SDK5)document and section 10.8 PWM Timers.
Thanks, PM_Dialog
Hi MADHUSF
Please try to not duplicate your questions on the forum. I have driven the discussion for your issue in the below forum thread:
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/pwm-timer0
Thanks, PM_Dialog