⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
MADHUSF
Offline
Last seen:1 month 3 weeks ago
Joined:2018-01-15 09:22
PWM Motor drive

Hi,

I m trying to drive motor using DA14580 ble module,

can you help with tutorial to drive motor

Device:
PM_Dialog
Offline
Last seen:1 day 15 hours ago
Staff
Joined:2018-02-08 11:03
Hi MADHUSF,

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

MADHUSF
Offline
Last seen:1 month 3 weeks ago
Joined:2018-01-15 09:22
你能解释一下这个项目吗

你能解释一下这个项目吗clearly i need description of timer0 project ,,I want to know where port details,etc

MADHUSF
Offline
Last seen:1 month 3 weeks ago
Joined:2018-01-15 09:22
你能解释一下这个项目吗

你能解释一下这个项目吗clearly i need description of timer0 project ,,I want to know where port details,etc

PM_Dialog
Offline
Last seen:1 day 15 hours ago
Staff
Joined:2018-02-08 11:03
Hi MADHUSF,

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

PM_Dialog
Offline
Last seen:1 day 15 hours ago
Staff
Joined:2018-02-08 11:03
Hi MADHUSF

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