imx287 SAIF1_MCLK as general purpose clock

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

imx287 SAIF1_MCLK as general purpose clock

733 Views
francescoluccon
Contributor I

I would know if it's possible with imx287 custom board to drive SAIF1_MCLK gpio (pin GPMI_CE3N) as general purpose clock with frequency about 4-5 KHz.

What's the configuration I need to deploy during kernel startup? Working with kernel 2.6.35.3 I've applied a similar initialitiation that I found into audio_clk_init() function (source file mach-mx28/device.c) but it didn't work.

Labels (1)
0 Kudos
Reply
1 Reply

595 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Francesco,

    It is well known that GPIO can be used to simulate I2C and SPI interface, so it is also no problem for you to create 4-5KHz clock, but this is a kind of clock generated by software, and any GPIO can be used for your purpose, you need to write corresponding code, but not modify audio clock function.

  

Regards,

Weidong

0 Kudos
Reply