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

Another processor with NRF52

I have created a program on Arduino which does audio/video output and takes input from accelerometer and camera module. I was able to move accelerometer code to NRF52 with @martinbl e.g.

On other posts it was mentioned with softdevice running we might get problem with audio output. Also i was not able to create any e.g. with audio/video on NF52.

Now i was thinking of having another chip like avr or arm processor which can take commands from NRF52 via rx/tx and run audio/video etc. By this Nrf52 will only be responsible for BLE connection and other chip for processing commands.

Am i completely wrong or is this right way? If i am right can you please recommend any chip which is used commonly with NRF52 and is rx/tx best way to communicate with primary nrf52 chip?

Thanks

Parents
  • In addition to all the points @endnode has made I just want to point you towards some solutions and documentation. To do audio stuff you might be interested in the I2S feature of the nRF52. The I2S implements what we call EasyDMA that allows you to access internal Data RAM without CPU intervention. This in turn allows you to stream continuous data from RAM without worrying about the Softdevice. You can also use EasyDMA with the PDM to, to record audio, store it in RAM, and then stream it with I2S almost completely without CPU intervention (you will need software interrupts to update pointers to bufferes in RAM from time to time, but this can be done whenever the Softdivice isn't using the CPU).

    Finally, here you can find some tables showing how much of the time the Softdevice uses the CPU in various scenarios: Bluetooth low energy processor usage patterns.

Reply
  • In addition to all the points @endnode has made I just want to point you towards some solutions and documentation. To do audio stuff you might be interested in the I2S feature of the nRF52. The I2S implements what we call EasyDMA that allows you to access internal Data RAM without CPU intervention. This in turn allows you to stream continuous data from RAM without worrying about the Softdevice. You can also use EasyDMA with the PDM to, to record audio, store it in RAM, and then stream it with I2S almost completely without CPU intervention (you will need software interrupts to update pointers to bufferes in RAM from time to time, but this can be done whenever the Softdivice isn't using the CPU).

    Finally, here you can find some tables showing how much of the time the Softdevice uses the CPU in various scenarios: Bluetooth low energy processor usage patterns.

Children
Related