This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I need help on Infineon's C5

I am new to this chip. Can anyone give me a sample program in C, showing how the ADC and PWM functions work?

Parents
  • Infineon's C5x5 processors are 8051-family processors, so example programs for generic 8051's will run on them fine. Special peripherals like ADC's and PWM's are often implemented differently on different chips, so code for such peripherals usually won't work for other manufacturer's chips. In many cases, it won't even work for other chips from the same manufacturer.

    I'm pretty sure Infineon has some example code somewhere on their website for the peripherals you asked about.

    Infineon has a free software package called DAvE (http://www.infineon.com/dave) that you may find useful. It can output C source code for driving all the peripherals, and it supports most of Infineon's microcontrollers.

Reply
  • Infineon's C5x5 processors are 8051-family processors, so example programs for generic 8051's will run on them fine. Special peripherals like ADC's and PWM's are often implemented differently on different chips, so code for such peripherals usually won't work for other manufacturer's chips. In many cases, it won't even work for other chips from the same manufacturer.

    I'm pretty sure Infineon has some example code somewhere on their website for the peripherals you asked about.

    Infineon has a free software package called DAvE (http://www.infineon.com/dave) that you may find useful. It can output C source code for driving all the peripherals, and it supports most of Infineon's microcontrollers.

Children