Talk:BeagleBone Black Enable SPIDEV
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Clock pins direction | 0 | 11:24, 25 April 2018 |
Bad File Descriptor using SPIDEV on Beaglebone | 0 | 11:07, 1 March 2016 |
Hi! So I'm noticing that when I change the length of the buffer in my spi_ioc_transfer struct that something is causing my file to close and I'm getting a "bad file descriptor" error when I try to send additional packets through using SPIDEV.
Anyone else having this issue? It appears to me that the "bad file descriptor" is caused when the file is closed from the outside.. I'm guessing that it's being closed when the length of the buffer is changed. I'm not sure what I need to do to fix this problem. Any thoughts would be much appreciated!
Thank you!