Advanced Users can post their questions and comments here for the not so Newbie crowd.

Moderator: eriksl

User avatar
By ckrusch
#92563 Is there a place we can download or view your working code? I've been struggling to get the I2S TX interrupt operational.

I have a project where I'd like to multiplex the i2s output but need to use the FIFO and I2S interrupts in order to enable different output buffers at the correct time
User avatar
By eriksl
#92590 This may help ;)

https://github.com/eriksl/esp8266-unive ... i2s.c#L154

Problem with I2S interrupts is that they're shared with the SPI interface (not HSPI, so it's the SPI interface that's used for flash access). Luckily it's only the SPI "slave" interrupts and they're normally not used, although they appear to fire once, when you enable them, so make sure you have set up a proper handler before enabling them.