This application note describes how to realize an Electrical Echo Canceller using the LMS instruction of the TMS320LC54x series DSP. Thanks to this compact instruction it is possible to perform the Prediction Filter (FIR) and the weight updating at the same time. The software described is based on the Leaky Normalized Least Mean Square adaptive (LNLMS) filter with single precision (16 bit) coeff