Re: [libopencm3-devel] SPI1 IRQ issues .

2014-05-11 Thread Michael Smith
SPI TX complete interrupts are (nearly) worthless; at 20MHz it will take ~400ns for the buffer to empty after you write the byte into it. You will actually run slower using SPI interrupts than you would if you just sat and polled the status bit (and you will be in interrupt mode all the time so

[libopencm3-devel] SPI1 IRQ issues .

2014-05-11 Thread Marcin Jurczuk
Hi, I'm working on some SPI driver for LCD display and it seems that there is no IRQ API for SPI interrupts. I'm trying to setup interrupt when SPI TX buffer is empty and when I enable this interrupt everything hangs. I read library docs and still it should work but it doesn't Anyone care to look w