i.MX93 RTC XTALI Duty Cycle

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

i.MX93 RTC XTALI Duty Cycle

98 Views
rfgemat
Contributor I

Hi,

We are planning to use the internal 32 kHz RC oscillator of the PCA9451A to drive the RTC_XTALI input of the i.MX93. We are aware that the frequency of this output is neither highly accurate nor stable; however, we do not intend to use it as a precise time reference within the i.MX93.

Our concern is related to the duty cycle specification of the i.MX93. The input clock requires a duty cycle within a tolerance of 45% to 55%, whereas the PCA9451A specifies a wider range of 30% to 70%.

Do you see any functional risk in using this clock source under these conditions?

 

Best regards,

Raphael

FRDM-i.MX93 i.MX93 

0 Kudos
Reply
1 Reply

29 Views
yipingwang
NXP TechSupport
NXP TechSupport

Yes — there is a functional risk, but it is usually low in practice if the signal quality is otherwise clean. The risk is mainly related to input buffer behavior and RTC reliability (especially startup and low‑power modes) rather than steady-state operation.

Real risk analysis

Case 1 — Normal digital clocking (most likely OK)

If:

  • Signal is CMOS-level clean (fast edges, no distortion)
  • Frequency ~32 kHz (very low)
  • No XTAL mode is enabled internally

Then:

  • RTC logic mostly triggers on edges
  • Wide duty cycle (30–70%) still gives sufficient high/low pulse width (~9–21 µs)

Conclusion:
No functional failure expected in most silicon — low risk

 

Case 2 — Borderline or worst-case conditions (risk exists)

Risk increases if:

(A) Input buffer threshold + asymmetry interaction

  • If duty cycle skews (e.g., 30/70 + slow edges)
  • One phase becomes marginal near VIH/VIL region

→ Can cause:

  • double-trigger
  • missing edges
  • internal metastability (rare but possible)

(B) Very low-power / SNVS / RTC domain

  • RTC domain may use ultra-low power clock conditioning
  • Internal filtering or stretch logic may assume near-50% duty

→ Risk:

  • clock rejection or distortion
  • unstable RTC increment

(C) If XTAL mode is accidentally used

If the pin is configured expecting a crystal:

→ The 30–70% waveform can:

  • disturb internal Pierce oscillator biasing
  • prevent startup or oscillation

This is a real failure mode

 

Case 3 — Spec compliance / production variability

This is the most important practical risk:

  • i.MX93 datasheet explicitly requires 45–55%
  • PCA9451A guarantees 30–70%

 Therefore:

  • You are operating outside the guaranteed spec
  • Behavior is not formally guaranteed across PVT (process/voltage/temp)

 

  1. Quantitative sanity check

At 32 kHz:

  • Period = 31.25 µs

Duty cycle extremes:

Case

High time

Low time

50%

15.6 µs

15.6 µs

30%

9.4 µs

21.9 µs

70%

21.9 µs

9.4 µs

Even worst-case:

  • pulses are still very long (>> internal setup times)

This is why it usually works in practice

  1. Practical recommendation

Acceptable if:

  • RTC is not used for accurate timing
  • System does not rely on precise wake-up timing
  • You accept non-guaranteed behavior
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2377432%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX93%20RTC%20XTALI%20Duty%20Cycle%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2377432%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CDIV%3E%3CP%3EWe%20are%20planning%20to%20use%20the%20internal%2032%20kHz%20RC%20oscillator%20of%20the%20PCA9451A%20to%20drive%20the%20RTC_XTALI%20input%20of%20the%20i.MX93.%20We%20are%20aware%20that%20the%20frequency%20of%20this%20output%20is%20neither%20highly%20accurate%20nor%20stable%3B%20however%2C%20we%20do%20not%20intend%20to%20use%20it%20as%20a%20precise%20time%20reference%20within%20the%20i.MX93.%3C%2FP%3E%3CP%3EOur%20concern%20is%20related%20to%20the%20duty%20cycle%20specification%20of%20the%20i.MX93.%20The%20input%20clock%20requires%20a%20duty%20cycle%20within%20a%20tolerance%20of%2045%25%20to%2055%25%2C%20whereas%20the%20PCA9451A%20specifies%20a%20wider%20range%20of%2030%25%20to%2070%25.%3C%2FP%3E%3CP%3EDo%20you%20see%20any%20functional%20risk%20in%20using%20this%20clock%20source%20under%20these%20conditions%3F%3C%2FP%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3ERaphael%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FFRDM-i.MX93%2Fpd-p%2FFRDM-iMX93%22%20class%3D%22lia-product-mention%22%20data-product%3D%223701-1%22%20target%3D%22_blank%22%3EFRDM-i.MX93%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2Fi.MX93%2Fpd-p%2Fi.MX93%22%20class%3D%22lia-product-mention%22%20data-product%3D%22509-1%22%20target%3D%22_blank%22%3Ei.MX93%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2378006%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX93%20RTC%20XTALI%20Duty%20Cycle%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2378006%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYes%20%E2%80%94%20there%20%3CSTRONG%3Eis%20a%20functional%20risk%3C%2FSTRONG%3E%2C%20but%20it%20is%20%3CSTRONG%3Eusually%20low%20in%20practice%3C%2FSTRONG%3E%20if%20the%20signal%20quality%20is%20otherwise%20clean.%20The%20risk%20is%20mainly%20related%20to%20%3CSTRONG%3Einput%20buffer%20behavior%20and%20RTC%20reliability%20(especially%20startup%20and%20low%E2%80%91power%20modes)%3C%2FSTRONG%3E%20rather%20than%20steady-state%20operation.%3C%2FP%3E%0A%3CP%3EReal%20risk%20analysis%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECase%201%20%E2%80%94%20Normal%20digital%20clocking%20(most%20likely%20OK)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIf%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESignal%20is%20CMOS-level%20clean%20(fast%20edges%2C%20no%20distortion)%3C%2FLI%3E%0A%3CLI%3EFrequency%20~32%20kHz%20(very%20low)%3C%2FLI%3E%0A%3CLI%3ENo%20XTAL%20mode%20is%20enabled%20internally%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThen%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERTC%20logic%20mostly%20triggers%20on%20edges%3C%2FLI%3E%0A%3CLI%3EWide%20duty%20cycle%20(30%E2%80%9370%25)%20still%20gives%20%3CSTRONG%3Esufficient%20high%2Flow%20pulse%20width%20(~9%E2%80%9321%20%C2%B5s)%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EConclusion%3A%3C%2FSTRONG%3E%3CBR%20%2F%3ENo%20functional%20failure%20expected%20in%20most%20silicon%20%E2%80%94%20%3CSTRONG%3Elow%20risk%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECase%202%20%E2%80%94%20Borderline%20or%20worst-case%20conditions%20(risk%20exists)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ERisk%20increases%20if%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E(A)%20Input%20buffer%20threshold%20%2B%20asymmetry%20interaction%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIf%20duty%20cycle%20skews%20(e.g.%2C%2030%2F70%20%2B%20slow%20edges)%3C%2FLI%3E%0A%3CLI%3EOne%20phase%20becomes%20marginal%20near%20VIH%2FVIL%20region%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E2%86%92%20Can%20cause%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Edouble-trigger%3C%2FLI%3E%0A%3CLI%3Emissing%20edges%3C%2FLI%3E%0A%3CLI%3Einternal%20metastability%20(rare%20but%20possible)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3E(B)%20Very%20low-power%20%2F%20SNVS%20%2F%20RTC%20domain%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERTC%20domain%20may%20use%20%3CSTRONG%3Eultra-low%20power%20clock%20conditioning%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EInternal%20filtering%20or%20stretch%20logic%20may%20assume%20near-50%25%20duty%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E2%86%92%20Risk%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Eclock%20rejection%20or%20distortion%3C%2FLI%3E%0A%3CLI%3Eunstable%20RTC%20increment%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3E(C)%20If%20XTAL%20mode%20is%20accidentally%20used%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIf%20the%20pin%20is%20configured%20expecting%20a%20crystal%3A%3C%2FP%3E%0A%3CP%3E%E2%86%92%20The%2030%E2%80%9370%25%20waveform%20can%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Edisturb%20internal%20Pierce%20oscillator%20biasing%3C%2FLI%3E%0A%3CLI%3Eprevent%20startup%20or%20oscillation%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20is%20a%20%3CSTRONG%3Ereal%20failure%20mode%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECase%203%20%E2%80%94%20Spec%20compliance%20%2F%20production%20variability%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThis%20is%20the%20%3CSTRONG%3Emost%20important%20practical%20risk%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Ei.MX93%20datasheet%20explicitly%20requires%20%3CSTRONG%3E45%E2%80%9355%25%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EPCA9451A%20guarantees%20%3CSTRONG%3E30%E2%80%9370%25%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3BTherefore%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EYou%20are%20operating%20%3CSTRONG%3Eoutside%20the%20guaranteed%20spec%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EBehavior%20is%20%3CSTRONG%3Enot%20formally%20guaranteed%20across%20PVT%20(process%2Fvoltage%2Ftemp)%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CBR%20%2F%3E%0A%3COL%20start%3D%224%22%3E%0A%3CLI%3E%3CSTRONG%3E%20Quantitative%20sanity%20check%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EAt%2032%20kHz%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EPeriod%20%3D%2031.25%20%C2%B5s%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EDuty%20cycle%20extremes%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%0A%3CP%3E%3CSTRONG%3ECase%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E%3CSTRONG%3EHigh%20time%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E%3CSTRONG%3ELow%20time%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%0A%3CP%3E50%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E15.6%20%C2%B5s%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E15.6%20%C2%B5s%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%0A%3CP%3E30%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E9.4%20%C2%B5s%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E21.9%20%C2%B5s%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%0A%3CP%3E70%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E21.9%20%C2%B5s%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%3E%0A%3CP%3E9.4%20%C2%B5s%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3EEven%20worst-case%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3Epulses%20are%20still%20very%20long%20(%26gt%3B%26gt%3B%20internal%20setup%20times)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20is%20why%20it%20%3CSTRONG%3Eusually%20works%20in%20practice%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%20start%3D%225%22%3E%0A%3CLI%3E%3CSTRONG%3E%20Practical%20recommendation%20%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EAcceptable%20if%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERTC%20is%20%3CSTRONG%3Enot%20used%20for%20accurate%20timing%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3ESystem%20does%20%3CSTRONG%3Enot%20rely%20on%20precise%20wake-up%20timing%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EYou%20accept%20%3CSTRONG%3Enon-guaranteed%20behavior%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E