Hello Everyone
I am really new to everything here, i just got nRF 52832 board,
Can anyone please tell me the step-by- step method on how to make a program in keil uVision.
Any help will be greatly appreciated.
thanks in advance
Hello Everyone
I am really new to everything here, i just got nRF 52832 board,
Can anyone please tell me the step-by- step method on how to make a program in keil uVision.
Any help will be greatly appreciated.
thanks in advance
Hi,
There is a blinky example in the SDK. Its located in the folder:
<SDK_InstallFolder>\examples\peripheral\blinky
You can download the SDK 12.2 here.
For beginners I would recommend using the pwm library, since it’s not as complicated as the pwm driver.
There is a good example in SDK_folder\examples\peripheral\pwm_library
. The period will depend on the frequency(frequency = 1 /period). If you look at the example, the period is configured using APP_PWM_DEFAULT_CONFIG_2CH()
/ APP_PWM_DEFAULT_CONFIG_1CH()
. The duty cycle is set using the function app_pwm_channel_duty_set()
.
For beginners I would recommend using the pwm library, since it’s not as complicated as the pwm driver.
There is a good example in SDK_folder\examples\peripheral\pwm_library
. The period will depend on the frequency(frequency = 1 /period). If you look at the example, the period is configured using APP_PWM_DEFAULT_CONFIG_2CH()
/ APP_PWM_DEFAULT_CONFIG_1CH()
. The duty cycle is set using the function app_pwm_channel_duty_set()
.