Can iMX6 PWM support 24MHz output?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can iMX6 PWM support 24MHz output?

ソリューションへジャンプ
2,262件の閲覧回数
raymondwang
Senior Contributor I

my board design has a usb hub which require 24MHz crystal to drive. Can MX6 PWN support such high frequency output?

ラベル(2)
0 件の賞賛
返信
1 解決策
1,655件の閲覧回数
pavelkrejsa
Contributor II

Thanks for the reply. In the meantime, I managed to find sollution.

External oscillator is impossible now (maybe next revision of our HW).

Easiest solution is to set CCM_CCOSR register and pin configuration for CCM_CKO1 / 2 in bootloader.

In device tree, there is necessary to keep iomux option for CCM_CKO1 / 2 also as shown in examples for sabre platform or for wandboard.

There is also possible to do it in kernel, but requires more effort.

Hope this can help someone :smileyhappy:

Best Regards

Pavel

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,655件の閲覧回数
pavelkrejsa
Contributor II

Dear Raymond,

have you found solution ? I am facing the same problem, but cannot find proper answer with kernel 3.10.17.

Is there any guide, how to generate 24MHz output from the i.MX6?

Thanks for answer

Pavel

0 件の賞賛
返信
1,655件の閲覧回数
raymondwang
Senior Contributor I

By default,we add an extra crystal for usb hub and also left an option to use MX6 OSC 24MHz output (cut in standby mode,it does not matter since usb hub also not required in standby mode).

0 件の賞賛
返信
1,656件の閲覧回数
pavelkrejsa
Contributor II

Thanks for the reply. In the meantime, I managed to find sollution.

External oscillator is impossible now (maybe next revision of our HW).

Easiest solution is to set CCM_CCOSR register and pin configuration for CCM_CKO1 / 2 in bootloader.

In device tree, there is necessary to keep iomux option for CCM_CKO1 / 2 also as shown in examples for sabre platform or for wandboard.

There is also possible to do it in kernel, but requires more effort.

Hope this can help someone :smileyhappy:

Best Regards

Pavel

0 件の賞賛
返信