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

nRF52 direct access to EasyDMA

Hello,

Is it possible to use EasyDMA directly with nRF52 SDK without using one of the higher level libraries that use it, i.e SPI / UART? I am interested in implementing something similar to Octows2811.

I also looked at the PWM module for this but it seems like it has a max frequency of 200 kHz which is too slow for what I am trying to do.

Thanks!

Parents
  • Of course you can - it's all documented in the manual - you just set up the registers and let it roll.

    Note that EasyDMA has quite a few anomalies on the preview chips, so ensure you're using hardware resources which are actually working.

  • No the PWM LIBRARY which you reference has nothing to do with the PWM PERIPHERAL on the nRF52. The library uses timers and PPIs, the peripheral is a standalone hardware peripheral. That's why I couldn't find the limitation in the manual, there isn't one listed. There's a few vague mentions of PWM minimum period but it's not specified. I think it may be quite possible to run at the speed you like and generate the kind of waveform you're looking for ... IF the PWM peripheral works on whatever version of the chip you have.

Reply
  • No the PWM LIBRARY which you reference has nothing to do with the PWM PERIPHERAL on the nRF52. The library uses timers and PPIs, the peripheral is a standalone hardware peripheral. That's why I couldn't find the limitation in the manual, there isn't one listed. There's a few vague mentions of PWM minimum period but it's not specified. I think it may be quite possible to run at the speed you like and generate the kind of waveform you're looking for ... IF the PWM peripheral works on whatever version of the chip you have.

Children
No Data
Related