my IRQ calls when a driver sends data via SPI
Posted: Sun Jan 05, 2020 5:20 am
Hello. I have a too strange problem.
I have ILI9341 LCD. It works via SPI. ( library name is TFT_eSPI by Bodmer )
I use that pins TFT_MISO ( 5 ), TFT_MOSI( 19 ), TFT_SCLK ( 18 ), TFT_CS ( 23 ), TFT_DC ( 21 ), TFT_RST ( 22 )
it works perfectly and draws without problems.
Also, I have five IRQ functions. They using pins: GPIO32, GPIO33, GPIO25, GPIO26, GPIO27, GPIO14, GPIO13, GPIO15.
The problem is: If SPI driver sends data to display for drawing then my interrupts calls.
If I disable IRQ during drawing then all is ok.
usually calls IQR of GPIO15 and GPIO26 ( GPIO15 most often ), but other calls too, but more rarely.
I have ILI9341 LCD. It works via SPI. ( library name is TFT_eSPI by Bodmer )
I use that pins TFT_MISO ( 5 ), TFT_MOSI( 19 ), TFT_SCLK ( 18 ), TFT_CS ( 23 ), TFT_DC ( 21 ), TFT_RST ( 22 )
it works perfectly and draws without problems.
Also, I have five IRQ functions. They using pins: GPIO32, GPIO33, GPIO25, GPIO26, GPIO27, GPIO14, GPIO13, GPIO15.
The problem is: If SPI driver sends data to display for drawing then my interrupts calls.
If I disable IRQ during drawing then all is ok.
usually calls IQR of GPIO15 and GPIO26 ( GPIO15 most often ), but other calls too, but more rarely.