The ARM University Program (AUP) organized a two-day faculty workshop on “Teaching Digital Signal Processing (DSP) Hands-on” on May 20 and 21, 2015, at the Indian Institute of Technology (IIT) Hyderabad, India. Dr. Donald Reay of Heriot-Watt University, Edinburgh, UK, delivered the workshop. As challenging as DSP can be with regard to grasping its concepts, Donald Reay's hands-on approach had the participants absorbed for a full two days trying out the various lab experiments. The material used in the workshop was only a snapshot of the full suite of teaching materials contained in AUP's Lab-in-a-Box (LiB) on DSP. The hardware used was the ARM Cortex-M4 based STM32F4-Discovery kit (serving as the DSP processor) and the Wolfson WM5102 codec, similar to the codecs in some versions of the Galaxy S4 and AQUOS smart phones. The ARM Cortex-M4 based STM32F4-Discovery kit is available for about 15 USD, well within the reach of students. Equally noteworthy is that there are a couple more Labs-in-a-Box (LiBs) from AUP that use the very same ARM Cortex-M4 based STM32F4-Discovery kit, one on Efficient Embedded Systems Design (memory-mapped I/O programming methodology) and the other on Real-time Operating System Design (RTOS), consequently enabling a university to cover a stream of three courses and associated labs efficiently with the same Discovery kit.
Many features of the ARM Cortex-M4 processor, starting with the DSP instructions it implements, make it the choice for DSP. The fast Multiply-Accumulate (MAC) feature, SIMD capability, saturating arithmetic instructions as well as hardware floating point unit, all pack the ARM Cortex-M4 with the computational power required for DSP applications. In particular, the combination of its Harvard architecture and single-cycle MAC feature enable efficient computation of the sums of products involved in Finite Impulse Response (FIR) filters and Fast Fourier Transforms (FFTs). Finally, its energy-efficient operation makes it suitable for mobile applications, which intrinsically have a lot to do with DSP.
Each workshop day began with an explanation of DSP concepts interspersed with demos. Spurred on by the demos, the participants would follow suit, trying out the experiments themselves. Audio signals were used for demonstrating the DSP concepts for two reasons: The easy availability of laboratory equipment capable of handling audio signals in universities across the globe and the human capacity to relate to audio signals. The first lab was about talking through the codec and getting the human voice out unchanged. The second about adding an echo to the human voice (talk-through with buffered voice). In the third, a sinewave was generated using 8 sample signal values from a look-up table in the user code, showing the possibility of generating audio signals with any desired frequency whenever required. The sinewave output of the codec in turn was very smooth, indicating the high-quality low-pass filtering capability of the Digital-to-Analog Converter (DAC) in the Wolfson codec. Later experiments gave a good feel for how FFTs could be effectively employed in making adaptive filters for performing noise cancellations on an audio signal such as the voice of an airline pilot amidst the aircraft engine noise in the background.
The pedagogy built into the experiments was aimed at bringing clarity to the understanding of DSP concepts. The software required to program the hardware too was in-keeping with the pedagogy and involved only two functions – One to initialize the codec using the I2C interface and the other, an interrupt handler, to initiate the sampling of audio signals and any required processing of the sampled signal values. Any code changes or additions required from one lab experiment to the next were thus only incremental in nature and completely resident within the interrupt handler.
Well, Happy to be a part of AUP.
nice to hear about the workshop being held at IIT,Hyderabad.
I agree that teaching DSP is really a challenging task.The workshop gives good information and complete hands-on approach on DSP LiB.
I also request ARM university program to organize one such workshop in Bangalore, India.