I need to control an AD5380 from an embedded Linux platform, such as the Nvidia Jetson TX2, which has an SPI interface. I also need to control it from a standard PC for R&D purposes. I understand AD has Linux device drivers for this DAC, as well as an EVAL-SDP-CB1Z USB interface board.
Can you help me get started in the right direction? I have not used SPI from a standard PC or Linux system previously, only via a microcontroller.
- Should I be able to compile and use this IIO driver directly on an embedded Linux computer that has SPI, like the NVidia Jetson TX2?
- For R&D purposes, can you recommend a USB to SPI interface adapter that will allow me to use this IIO driver on a standard Linux PC to control the AD5380?
- Alternatively, will the EVAL-SDP-CB1Z give me a straightforward way to communicate with the EVAL-AD5380SDZ via USB in Linux? Would I use the IIO driver with the EVAL-SDP, or does the EVAL-SDP provide some higher level interface, like a virtual serial port?
- Ideally, I would like to "directly" interface to the AD5380 via a USB to SPI adapter and use the IIO driver--not communicate through a virtual serial port. This would be the most similar to directly controlling the AD5380 via an embedded computer like the Jetson TX2 or a DSP.
[edited by: email@example.com at 5:04 PM (GMT 0) on 25 May 2020]