USB_CLKIN Specificatin for K27

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

USB_CLKIN Specificatin for K27

ソリューションへジャンプ
1,809件の閲覧回数
masahirokiniwa
Contributor IV

Hi,

I'm considering to use USB_CLKIN(USB0_CLKIN) for USB FS OTG of K27.

I think that its required accuracy of clock frequency is 500ppm same as USB2.0 specification.

But I couldn't found its required specification of jitter, duty, rise-time and fall-time.

Could you tell me them?

Best regards,

M.Kiniwa

ラベル(2)
0 件の賞賛
返信
1 解決策
1,642件の閲覧回数
miduo
NXP Employee
NXP Employee

Hello,

Well, according to USB 2.0 specification, USB Full Speed communication rate accepts a maximum deviation of ±2500 ppm (±0.25%). This is what you should consider when selecting OSC. We don't have requirements for the rise/fall time because our oscillator circuitry is robust enough to support different rise times. Anyway, from the experience, it is as below:

---For high speed clocks we would say ~5ns for rise-fall times
-- For above 40MHz  it would need to be ~3ns or faster
-- For frequencies below 1MHz it could be slower than 5ns

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,642件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi,

First please look at this document on the USB clock source.

Kinetis USB Clock Sources 

So if you are using the USB_CLKIN pin to inject a 48MHz clock the USB will operate correctly if the clock source itself meets the usb specificacion. Just be note that FLL cannot be used to clock the USB module because it do not meet the USB specification.

0 件の賞賛
返信
1,642件の閲覧回数
masahirokiniwa
Contributor IV

Hi Mr.Li,

Thank you for your reply.

I couldn't look you attached link. I'm unauthorized for its link.

If I check the usb specification, should I find the Table7-9 Full-speed Source Electrical Characteristics of USB specification Rev.2.0?

It's written based on 12MHz, but USB_CLKIN require higher frequency 48MHz.

Can I convert their specs for 48MHz?

ex.) Rise Time min 4ns / max 20ns based on 12MHz -> min 1ns / max 5ns base on 48MHz

Best regards,

M.Kiniwa

0 件の賞賛
返信
1,643件の閲覧回数
miduo
NXP Employee
NXP Employee

Hello,

Well, according to USB 2.0 specification, USB Full Speed communication rate accepts a maximum deviation of ±2500 ppm (±0.25%). This is what you should consider when selecting OSC. We don't have requirements for the rise/fall time because our oscillator circuitry is robust enough to support different rise times. Anyway, from the experience, it is as below:

---For high speed clocks we would say ~5ns for rise-fall times
-- For above 40MHz  it would need to be ~3ns or faster
-- For frequencies below 1MHz it could be slower than 5ns

0 件の賞賛
返信