[00:06:49.411,024] <inf> i2s_nrfx: I2S MCK frequency: 256000, actual PCM rate: 8000
Hi,
Error code 11 is -EAGAIN, which simply means the I2S TX queue was full and i2s_write() timed out waiting for a free slot. This is expected if audio buffers are queued faster than the I2S hardware can transmit them. When this happens, one of the way could be to wait for some micro seconds and retry i2s_write().
Also note that as previously recommended increasing NUM_BLOCKS only adds more application buffers; it doesn’t change the driver’s internal TX queue size. To check that part, could you please share the relevant section of your prj.conf, especially any I2S or nrfx-related options?
Regarding MCK, you don’t need to generate it separately in code when I2S is set up as master.
Best Regards,
Syed Maysum
sure
The issue is not solved yet.
I am configure i2s as Slave - so I need to configure external clock ?? my i2c is also fail atfer configuration i2s is working - i2c is working properly first then i check again it would lead to error
I2s has same issue geting -11 error
I2s has same issue geting -11 error
I need i2s as slave - so how can i configure external clock for mck due to this now my i2c is failed ??