Post Go back to editing

How to control SPI registers without using IIO related tools

Category: Software


I'm using your reference design to test an ad9695 eval board with a zcu102. I know that with iio-oscilloscope, iio_reg or direct reg access we can control SPI registers easily.

However, I'm wondering if there's any other ways to control the SPI only through the SPI interface. In that way, I can debug the SPI under the condition that the iio device is unrecognizable because of some unknown reasons.

By doing some searching, I think probably using /spidev/ is a solution. But I can't find such directory after I boot the design and search in the /dev folder.

Could you provide any recommended ways to control the SPI without iio? Thanks.