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

How to always run the CPU at full speed?

Hi,

I am developing a product using nRF52833. (S113, SDK 16, IAR8)

I am developing based on the usbd_ble_uart sample.

I use ble, spi, twi, ppi, saadc.

and, I use external 32Mhz crystal and external 32.758kHz crystal

I don't care about power consumption.
Operating as fast as possible is a top priority.
So I want to always run the CPU at 64Mhz without going into sleep mode.

How is it?

Parents
  • Thanks..

    I did another test with respect to cpu speed.
    I tried running the code below using the saadc sample code.

    ---------------------------------------------

    while (1)
    {
       nrf_gpio_pin_clear(25);
       nrf_gpio_pin_set(25);

    }

    ------------------------------------------------

    Looking at the gpio output with an oscilloscope, a signal of about 1.3Mhz comes out.
    Is this correct?
    If the CPU is running at 64Mhz, isn't it supposed to output gpio faster?

Reply
  • Thanks..

    I did another test with respect to cpu speed.
    I tried running the code below using the saadc sample code.

    ---------------------------------------------

    while (1)
    {
       nrf_gpio_pin_clear(25);
       nrf_gpio_pin_set(25);

    }

    ------------------------------------------------

    Looking at the gpio output with an oscilloscope, a signal of about 1.3Mhz comes out.
    Is this correct?
    If the CPU is running at 64Mhz, isn't it supposed to output gpio faster?

Children
Related