GPIO synchrization with an external clock signal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPIO synchrization with an external clock signal

241 Views
pratham_malaviya
Contributor II
Dear All,
 

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:

  1. Is it possible to synchronize a GPIO pin with an external clock?
  2. How can we interface the ADC clock with the i.MX8MP processor, and what configurations are necessary to ensure proper synchronization between the clock and the GPIO?

We would appreciate any guidance or suggestions regarding the best approach to achieve this synchronization.

0 Kudos
Reply
1 Reply

223 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply