Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. 12 pts] What is the default (as it comes from the manufacturer) CPU clock frequency of the ATTiny2313A MCU? 6. [8 pts total] An

image text in transcribed

5. 12 pts] What is the default (as it comes from the manufacturer) CPU clock frequency of the ATTiny2313A MCU? 6. [8 pts total] An embedded system that uses the ATTiny2313A MCU makes use of a 5 MHz crystal oscillator (see, for instance, http://www.ecsxtal.com/storelpdflecs 100.pdf) that was already part of the system. a) [2 pts] Show the relevant FUSE bytes to use this external oscillator as the timing element. (Please draw the relevant bytes out in a fashion similar to what we did in class, analogous to what is shown in Question 4 for the Flag variable.) b) [3 pts] Draw a schematic portion showing how this timing element is connected to the MCU. Please show pin numbers of the MCU; assume we are using the DIP version of the MCU. c) [3 pts] Write the code necessary to use this timing element to clock the CPU at as close to 78 kHz as possible. What is the error between the desired frequency and the actual frequency? 5. 12 pts] What is the default (as it comes from the manufacturer) CPU clock frequency of the ATTiny2313A MCU? 6. [8 pts total] An embedded system that uses the ATTiny2313A MCU makes use of a 5 MHz crystal oscillator (see, for instance, http://www.ecsxtal.com/storelpdflecs 100.pdf) that was already part of the system. a) [2 pts] Show the relevant FUSE bytes to use this external oscillator as the timing element. (Please draw the relevant bytes out in a fashion similar to what we did in class, analogous to what is shown in Question 4 for the Flag variable.) b) [3 pts] Draw a schematic portion showing how this timing element is connected to the MCU. Please show pin numbers of the MCU; assume we are using the DIP version of the MCU. c) [3 pts] Write the code necessary to use this timing element to clock the CPU at as close to 78 kHz as possible. What is the error between the desired frequency and the actual frequency

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2018 Dublin Ireland September 10 14 2018 Proceedings Part 1 Lnai 11051

Authors: Michele Berlingerio ,Francesco Bonchi ,Thomas Gartner ,Neil Hurley ,Georgiana Ifrim

1st Edition

3030109240, 978-3030109240

More Books

Students also viewed these Databases questions

Question

Describe Balor method and give the chemical reaction.

Answered: 1 week ago

Question

How to prepare washing soda from common salt?

Answered: 1 week ago

Question

7. Understand the challenges of multilingualism.

Answered: 1 week ago

Question

5. Give examples of variations in contextual rules.

Answered: 1 week ago