Skip to main content

Embedded Systems · Memory, energy, and reliability budgets

Standard-mode I²C requires t_LOW ≥ 4.70 μs and t_HIGH ≥ 4.00 μs on SCL, t_r ≤ 1.00 μs…

Problem

Embedded Systems practice problem

Standard-mode I2^2C requires tLOW≥4.70 μst_{\mathrm{LOW}}\ge 4.70\,\mu\mathrm{s} and tHIGH≥4.00 μst_{\mathrm{HIGH}}\ge 4.00\,\mu\mathrm{s} on SCL, tr≤1.00 μst_r\le 1.00\,\mu\mathrm{s}, and fSCL≤100.0 kHzf_{\mathrm{SCL}}\le 100.0\,\mathrm{kHz}. A master is programmed with the following four candidate (tLOW,tHIGH)(t_{\mathrm{LOW}},t_{\mathrm{HIGH}}) pairs, in microseconds, not including rise and fall times. Rise time tr=400 nst_r=400\,\mathrm{ns} and fall time tf=200 nst_f=200\,\mathrm{ns} add to the period as T=tLOW+tHIGH+tr+tfT=t_{\mathrm{LOW}}+t_{\mathrm{HIGH}}+t_r+t_f.

Pair P1P_1: (4.70,4.00)(4.70,4.00).

Pair P2P_2: (4.00,4.70)(4.00,4.70).

Pair P3P_3: (5.00,5.00)(5.00,5.00).

Pair P4P_4: (4.70,4.00)(4.70,4.00) but with tr=1.20 μst_r=1.20\,\mu\mathrm{s} and tf=200 nst_f=200\,\mathrm{ns}.

(a) For each pair compute TT and fSCLf_{\mathrm{SCL}}.

(b) For each pair, decide whether Standard-mode is satisfied, listing every violated constraint by name.

(c) For the pairs that fail, compute the smallest increase in tHIGHt_{\mathrm{HIGH}} (leaving tLOWt_{\mathrm{LOW}}, trt_r, and tft_f unchanged) that would make every Standard-mode constraint hold, or state that increasing tHIGHt_{\mathrm{HIGH}} alone cannot fix the failure.

(d) Fast-mode requires tLOW≥1.30 μst_{\mathrm{LOW}}\ge 1.30\,\mu\mathrm{s}, tHIGH≥0.600 μst_{\mathrm{HIGH}}\ge 0.600\,\mu\mathrm{s}, fSCL≤400.0 kHzf_{\mathrm{SCL}}\le 400.0\,\mathrm{kHz}. Decide whether P2P_2 as given (with the original tr=400 nst_r=400\,\mathrm{ns}, tf=200 nst_f=200\,\mathrm{ns}) is a legal Fast-mode clock, even though it failed Standard-mode.

Hint

Hint

The SCL period includes rise and fall; meeting tLOWt_{\mathrm{LOW}} and tHIGHt_{\mathrm{HIGH}} does not automatically meet fSCLf_{\mathrm{SCL}}.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Embedded Systems sample problem: Try the free sample problem.

More Embedded Systems practice problems

Back to Embedded Systems

An original ProofAnvil practice problem, written for this course. ProofAnvil is a practice course, not a homework-answer service.