- Sat Jun 27, 2020 10:22 am
#216616
I am using the Arduino development environment to perform a bazillion SPI transfers to an LCD display. It takes a lot of operations to transfer a pixel image to a display one pixel at a time! A fair number of the transfers are failing with the following error:
Whenever one of these errors occurs, the drawing process freezes up for a second or so, and leaves a dark spot instead of my pixel. It makes me think that there is some sort of timeout involved. I am not sure why there would be a timeout though. It's not like SPI needs to wait for anything unless the SPI transactions are being queued up inside the driver.
Does anyone know what this error means?
Code: Select all
This message gets printed to my Arduino Serial connection. It's not from my code, so I'm thinking that it must come from somewhere inside the Arduino SPI driver.got an error on _transfer: 4
Whenever one of these errors occurs, the drawing process freezes up for a second or so, and leaves a dark spot instead of my pixel. It makes me think that there is some sort of timeout involved. I am not sure why there would be a timeout though. It's not like SPI needs to wait for anything unless the SPI transactions are being queued up inside the driver.
Does anyone know what this error means?