Hello all. I am trying, unsuccessfully, to enable an IIO driver, AD7298 ADC on an imx6ul using Yocto. To do this I am using a pattern that has been successful for activating and deactivating other kernel features:
For SPI interface up to 20MHz speed. Timing t4 (Data access time after SCLK falling edge) can be up to 35ns, appears to fall short with an half clock period of 25ns. This renders impossible the usage of the rising edge to sample the incoming…
Please find attached code interfacing ADSP-BF527 with ADC AD7298. You can modify the config registers in the SPORT code according to the DAC datasheet you wish to interface. Please use this as a reference and modify as per your requirement.
Please find attached DMA based SPORT and SPI based codes which were used to interface BF527 with ADC AD7298. You can use the SPORT code as a reference and modify the config registers according to the DAC datasheet you wish to interface.