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

nRF5340 - Communicating with Android app at 2 mbps

I need to transfer large amount of data from Android app at 2 mbps (it seems that bitrates about something like 1300 kbps are achievable) to nRF5340 device.

Data is audio, it will be capture using Sound Capture API, encoded with something like LC3plus, transferred over BLE 2M PHY to network core, when to application core, decoded and to I2S device.

Does some examples what can help me with my goal available (i.e. 2M phy transfer to/from Android (with Android app sources if possible), data transfer between cores, PCM output etc).

Can I also have some configuration packets transferred over BLE and DFU (not at the same time)?

Does I2S of nRF5340 support transferring 24/32 bit samples?

Parents Reply Children
  • It looks like all received packets go to 'bt_receive_cb' and I should process them there, right? And if I'll send 247 bytes from nRF Toolbox UART then all of them will be in 'const uint8_t *const data', right?

    What is the maximum throughput I could expect from this setup (assuming I'll modify Toolbox to send data that was read from file)?

    Is 2M PHY enabled by default or I will have to do it manually (in both Toolbox and UART example)? How if so?

    Do I2S examples (for PCM5102A) exist?

Related