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

What is the minimum Timer interval for nRF52832

Hello,

      I'm using nRF5 SDK with version 15 and nRF52832 IC. I want to sample some data with 3200Hz sampling rate. I can set the timer minimum 1ms Which means 1000Hz. How can I adjust the Timer for microSecond values.

Best Regards

Parents Reply Children
  • Much better and specific!  You should repost this using the question you just gave "I want to sample some data with 3200Hz sampling rate from SPI interface. There is an accelerometer connected via SPI interface." add to it this "I am also using the softdevice."

    I have done a lot with ppi/gpiote but I haven't used SPI for anything on this device and wouldn't want to waste your time.  

    According to the devzone there is support for SPI with DMA and the data transfers can be triggered by timer events so I think you are in good shape to solve it.  Essentially the SPI/DMA transfer will happen in hardware behind the scenes and you will just use the processor on the nRF to pick up an array from memory at a much slower pace. It can handle the data in slower chunks but not at 3200Hz.

  • I just remembered that the ioT Thingy has an accelerometer on it. All the source code for it is posted on the nordic site.  It uses nRF52832. You should be able to easily repurpose the code if you don't get a quick response on your new post.

    https://www.nordicsemi.com/eng/Products/Nordic-Thingy-52

Related