This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PWM is not accurate with SoftDevice(nRF51822)

Hi.

We need to ring the Buzzer with 4.2kHZ PWM.

However, in the event of 4.2kHZ in nRF51822 PWM is inaccurate about 2us.

Please tell us how to fix it.

※link Very Simple Code(SDK v6.1.0)

main.c

※ test environment

  1. Nordic chip

    2nd revision H/W

  2. SD (SoftDevice) / SDK version

    SD v6.0.0 / SDK v5.2.0

   SD v7.0.0 / SDK v6.1.0

   SD v8.0.0 / SDK v8.0.0

※Capture

image description

image description

Related