We are planning to interface the AD4134 ADC with the i.MX8MP processor. The ADC operates with its own clock, which can go up to a maximum of 48 MHz, and the digital data is output in sync with this clock.
We intend to use a general-purpose GPIO pin on the i.MX8MP to capture the digital data, but it is critical that the GPIO operations are synchronized with the clock signal provided by the ADC.
In this context, we have the following queries:
We would appreciate any guidance or suggestions regarding the best approach to achieve this synchronization.
Hello @pratham_malaviya
As a suggestion, you can use the Cortex M core inside of the i.MX8MP to Sync the external clock of your ADC module with an IRQ and read the data in the same IRQ.
If you need to get the values obtained by the ADC to the Linux OS, you can share the obtained values thorough RPMSG.
Best regards,
Salas.