Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started