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

Change I2S buffer size on the fly

Hello NRF Team,

Is it possible to change the I2S buffer size on the fly while a i2s transfer is running ?  (I Am using nRf52840 with SDK15.2)

I found in the documentation that the used i2s buffer size is defined by RXTXD.MAXCNT but i did not find any documentation if it is safe to change this value while i2s is active.

The issue why i would need this, is that while fds flash deletes are running i need fairly big i2s buffers so the data does not run out while the cpu is blocked. But for all other times the big buffers cause an issue, that i can not adjust the sound dynamically enough.

kind regard,

Dominik

Parents Reply Children
No Data
Related