← Back To Notes↑ Back To Top

Embedded Systems Practice

GitHub Changelog -

  • 1

0 of 8 completed

Create worksheet

Selected problems

No problems selected.

    Direct

    1.1Compute an ADC Step

    Exam I | Problem 1.1 |

    What is the ideal voltage step of a 10-bit ADC with a $5\ \mathrm V$ reference?

    1.2Choose a Sampling Rate

    Exam I | Problem 1.2 |

    A sensor contains useful content up to $100\ \mathrm{Hz}$. What is the minimum ideal sampling-rate condition to avoid aliasing?

    1.3Calculate PWM Average

    Exam I | Problem 1.3 |

    An ideal $0$-to-$12\ \mathrm V$ PWM signal has duty cycle $25\%$ and drives a sufficiently slow resistive load. What is its average voltage?

    1.4Find a Timer Period

    Exam I | Problem 1.4 |

    A timer clock is $1\ \mathrm{MHz}$, the prescaler is $10$, and $ARR=999$. Find the timer period.

    1.5Estimate Task Utilization

    Exam I | Problem 1.5 |

    A task executes for $0.5\ \mathrm{ms}$ every $5\ \mathrm{ms}$. What is its utilization?

    1.6Distinguish Volatile from Atomic

    Exam I | Problem 1.6 |

    Why is declaring a shared variable volatile not enough to make an increment safe between an ISR and foreground code?

    1.7Select a Protocol Property

    Exam I | Problem 1.7 |

    Does UART by itself define message boundaries and guarantee that a received message is valid?

    1.8Identify a Useful Test

    Exam I | Problem 1.8 |

    Give one fault-injection test for a temperature controller and state the expected safe response.