Keil™, An ARM® Company

Application Notes

Application Note 178

DSP Algorithms with Infineon XC16x

This Application Note demonstrates analog signal processing with the MAC unit of the Infineon XC16x. This sample shows several features of the Keil C166 toolchain and introduces you to the MAC unit of the XC16x device family. It implements:

  • A sine wave tone generator that uses a PWM output.
  • A tone detection filter using a Goertzel algorithm.

The analog input signal is connected to the A/D converter input AN0.

The complete implementation can be tested based on the µVision simulator. The µVision Debugger that contains complete CPU and Peripheral simulation. Using the Logic Analyzer and signal functions (debug scripts) allows you to test all aspects of the implementation without real hardware.

Application Note

APNT_178.ZIP (80K)
Monday, October 10, 2005

Estimated File Download Time:
< 21 Seconds: 56Kb Modem
< 10 Seconds: 128Kb ISDN
< 10 Seconds: T1/Broadband

Example Code

APNTEX_178.ZIP (117K)
Wednesday, November 19, 2003

Estimated File Download Time:
< 30 Seconds: 56Kb Modem
< 13 Seconds: 128Kb ISDN
< 10 Seconds: T1/Broadband