I'm using a microzed with Linux, and I have a chip connected to an SPI port. Now I want to send bytes to that chip. How do I do so?
I thought there might be something in /dev. Not that I see.
Perhaps I need to do my own mknod: But what are the major and minor numbers? /proc/devices isn't any help.
dmesg seems to indicate there is something there:
0.577885] xspips e0006000.ps7-spi: master is unqueued, this is deprecated
[ 0.583543] xspips e0006000.ps7-spi: at 0xE0006000 mapped to 0xE0868000, irq=58
[ 0.589810] xspips e0007000.ps7-spi: master is unqueued, this is deprecated
[ 0.595801] xspips e0007000.ps7-spi: at 0xE0007000 mapped to 0xE086A000, irq=81
Perhaps I need to access the SPI hardware registers directly (mmap etc.)