(S points) Your startup is developing a system to monitor threatened and endange
ID: 3587375 • Letter: #
Question
(S points) Your startup is developing a system to monitor threatened and endangered wildife by part, listening for the sounds they make. Another engineer in your company has dev microphone, preamplifier, and CODEC. A CODEC is short for coder and decoder a nd it is responsible oiverting the analog signal from the microphone into a digital signal and compressing it using a coding alg to headphones or speakers, but you are not using that functionality in this product. The analog engineer has chosen the Wolfson WM8731 chip for the CODEC function. Your job is to develop the System on Chip design using the NIOS-Il processor from Altera running on a Cyclone IVE FPGA. You need to develop the NIOS-ll peripheral function to interface with this chip. It is mostly sending digital samples one after another at a constant rate. You need to capture these in memory eventually store them on an SD card. The WM8731 does have some configurable parameters that you want to be able to control via software. Because the system is battery operated, you only w to actually record when there is a loud enough sound, but you want to start capturing right away when you hear one. The audio engineer has also developed a threshold circuit which is also configurable in amplitude level. It is designed to provide a digital signal with a rising edge when the threshold is exceeded. When the threshold is exceeded, you want to record for 20 seconds orithm. It also decodes a digital signal and converts it back to an analog signal to be sent Since you are using the Altera platform for your SoC design, you will use the Avalon Interface to implement your peripheral. The interfaces include Avalon Memory Mapped (master and slave), Streaming. Clock, Reset, Interrupt, Conduit, and Tri-State Conduit. This peripheral will be a custom Qsys component that when implemented in the NIOS-Il system on the FPGA will interface between the NIOS-Il processor core and the separate WM8731 chip. Describe in general terms how and why you will implement each of the Avalon interfaces in this peripheral. L.e.the functionality of each interface in this context. Note that you probably will not use the Memory Mapped-master or the Tri-State Conduit. (Bonus credit of 0.5 point if you explain why not.) a) b) What other peripheral is crucial in implementing this functionality? c) How will you use this other component? d) Which interrupts will you catch and why? e) Without worrying about syntax or exact commands, sketch your code to setup your embedded system and capture the data. You may use pseudo code, a blurring of English and C statements. I am more interested in description than correct system function names. Include your interrupt service routines. Briefly describe your system, including rationale for significant design decisions. You may use a drawing/flow chart if you want. I am emphasizing that I am looking for your understanding of the way your program should flow rather than specific statementsExplanation / Answer
A.The Avalon Interface in peripheral includes the functionality of Memory Mapped (Master and Slave), streaming, clock, reset, interrupt, conduit and Tri-stae Conduit, this peripheral will be a custom Qsys component that when implemented in the NIOS-11 system on the FPGA will interface between the NIOS-1 processor and the seperate WM8731 chip. we implement Avalon Interface in peripheral since we are using Altera platform for Soc Design.
To develope a threshold circuit which is also configurable in amplitude level, It is designed to provide a digital signal with a raising edge when threshold is exceeded and we want to record for 20 seconds and since we use Altera platform for SoC design, will implement Avalon interface in the peripheral.
B. The other peripherals is crucial in implemetation because they need to develop NIOS-|| peripheral function to interface with the chip, it is mostly sending digital samples one after another at a constant rate. we need to capture these in memory and eventuall storer in SD card, the WM8731 does have some configuration parameters that we can control via software we only want to actually record when there is a loud sound enough but we start caputing right away when we hear one.
C. The other componenets are Qsys component that when implemented in NIOS-|| system on the FPGA will interface between NIOS-|| processor core and the sperate WM8731 chip
D. We only want to actually record when there is a loud sound enough but we start caputing right away when we hear one. when the threshold is executed we want to record for 20 Seconds. we catch for conversion of digital to analog and analog to digital conversions using different implementations.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.