Save this video free

CE351 lec43 Final exam overview

Yiyan Li · 38:57 · Watch on YouTube

Part of Fort Lewis College CE351. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Yiyan Li reviews CE351 final-exam topics covering ADC timing and register setup, timer CTC configuration, sampled-signal analysis, threshold-triggered acquisition, and SD-card buffering. Key calculations include a maximum usable ADC prescaler of 32, a 799 timer compare value for a 50-microsecond period at 16 MHz, and 25.6 milliseconds to fill a 512-byte buffer at one byte per 50-microsecond sample.

Key takeaways

Chapters

0:00 ADC Conversion Deadline and Maximum Prescaler
5:48 AVCC ADC Setup and Conversion Slack
12:30 CTC Timer Setup and OCR Compare Values
19:30 Waveform Periods and Threshold-Triggered Sampling
29:25 Double Buffering for Continuous Signal Acquisition
35:10 512-Byte Buffer Timing and SD-Card Writes
38:18 SD Level Shifting and PWM Mode 14

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:10 Yeah, because the thing is um when you divide by four you are you are extracting this this these two digits. Right? So you're considering that these two digits are decimal numbers or the fraction numbers are the fractional part of it. Yeah, think about this a little bit. That's what we think we'll revisit we'll come back. Let's go through everything first. I hope we'll revisit if we still have time, okay? Um so what is the largest ADC prescaler you can use so a certain cycle conversion finishes within one sample period. Does still remember how this is

0:58 done? Remember we have a well two two ISRs. Okay, so the so the conversion ISR is 25 microseconds for each each time and then it starts the conversion. When the conversion is done it starts reading it. So um when when when so the conversion takes certain cycles and certain cycles means 13 clock rising edges, okay? That's needed for the ADC. So there's a prescaler for the ADC is being set up by the by the register. Eventually um you have to know that frequency first so

1:46 you know how long this takes. So originally you have a 60 megahertz. So what is the largest ADC prescaler you can use so certain cycle conversion within one sample period. So we assume that this is one sample period just finishes within 50 microseconds. Right? So when you do 16 megahertz divided by the prescaler times 13. So 60 megahertz is the fastest signal you have from the chip and divided by the prescaler give you the the frequency used for the for cycling for for for sampling, right? Not for sampling, for the conversion.

2:35 And it takes 13 cycles. So you divide by 13 again, so eventually you are getting

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Yiyan Li.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.