Question: I need quick answer ( embedded system exam ) | i will give thumbs up [15 points] Problem 6. ADC, Interrupts, and Sampling A microphone

I need quick answer ( embedded system exam ) | i will give thumbs up  I need quick answer ( embedded system exam ) | i
will give thumbs up [15 points] Problem 6. ADC, Interrupts, and Sampling

[15 points] Problem 6. ADC, Interrupts, and Sampling A microphone circuit has been hooked up to a stethoscope to form an electronic stethoscope that is used to measure fetal heart sounds, shown in Fig. 4. 1) Fetal heart sounds have a frequency range of 50 to 200Hz 2) The analog microphone circuit behaves linearly and has a full-scale range of 20 Pascals ( Pa ). When the sound level is 0Pa, the microphone circuit outputs 0V. When the sound level is 20Pa, the circuit outputs 3.3V. When the sound level is 10Pa, the circuit outputs 1.65V. The output of the circuit is connected to the ADC on the microcontroller. One audible sound occurs with each heartbeat. The figure shows a typical sound: The sound level will be stored in the computer as an 8-bit decimal fixed point number with resolution 0.1Pa. The integer portion of the sound level should be stored in the following global uint8_t Isound; // 0.1 Pa Part a) (2 pts) What is the minimum sampling rate that should be used to properly capture all signal content from a fetal heart? Part b) (2 pts) According to Valvano's postulate, what sampling rate should be used if you want to accurately recreate a graphical plot of the heart sounds being measured? Part c) (3 pts) What device would you use to communicate data to a PC, labeled as ???? in figure Part d) (8 pts ) Write the SysTick ISR in C that will perform the operations identified in comments below. The ADC has been initialized in 12-bit mode using sequencer 3 , with software start. SysTick has been initialized to interrupt at the proper rate. The communication device you defined in question \#3 has also been initialized. Do not call any function (use the relative registers), show all code needed. Comments to the right give you what needs to be done, you write the code to do

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!