Now we have a working digital Notch filter, needed to eliminate the 60Hz Power line interference from an ECG signal. The filter was implemented by writing a C/C++ code and inserting it into a Code Composer Studio Project. As it has already been mentioned, Code Composer Studio is compatible with TI OMAP-L138 LCDK, so we were able to load the code to the board and run it. The video, linked below, shows that the filter attenuates the amplitude of the 60Hz input signal while keeping the amplitudes of other frequencies inputs unchanged.
The Code for the Notch filter will be posted under the “Code examples” tab on this website. =)