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

XC161CF

Hi

As part of my job, I have been thrown into deep working on XC161F (Infineon chip). I am terribly frightened of working witht this chip because it is my first time to use 16 microcontroller chip because I have been using a basic 8051 chip. Now I have to learn how to generate Pulse Width Modulation so I tried to google more information and sample code. Unfortunately it didn't help me very much. Help me to develop the simple code for PWM.

Thank you guys

Saraah Ghafoor

Parents
  • Hi Fiona,

    Here is a link to a nice tutorial from the University of Adelaide that includes the CAPCOM1/2.

    http://www.mecheng.adelaide.edu.au/robotics_novell/WWW_Devs/Dragon12/LNotes/MP6/MP6.ppt

    I don't know what problem you are having (or need more explanation with)? The user's manual is very good at explaining the modes and capabilities of the CAPCOM1/2 unit.

    Some other hints:

    The CAPCOM1/2 unit does not have shadow registers so you need to be careful when working with high frequency PWM that are close to 0 or 100% DC. If you need this then you should consider using the CAPCOM6 unit. Additionally, the CAPCOM1/2 on the XC16x devices has an additional non-staggered mode that allows the channels to run in parallel.

    If this does not help you then perhaps you could detail a very specific question. The effort you spend on the question will be reflected in the answer given (at least by me).

    -Chris

Reply
  • Hi Fiona,

    Here is a link to a nice tutorial from the University of Adelaide that includes the CAPCOM1/2.

    http://www.mecheng.adelaide.edu.au/robotics_novell/WWW_Devs/Dragon12/LNotes/MP6/MP6.ppt

    I don't know what problem you are having (or need more explanation with)? The user's manual is very good at explaining the modes and capabilities of the CAPCOM1/2 unit.

    Some other hints:

    The CAPCOM1/2 unit does not have shadow registers so you need to be careful when working with high frequency PWM that are close to 0 or 100% DC. If you need this then you should consider using the CAPCOM6 unit. Additionally, the CAPCOM1/2 on the XC16x devices has an additional non-staggered mode that allows the channels to run in parallel.

    If this does not help you then perhaps you could detail a very specific question. The effort you spend on the question will be reflected in the answer given (at least by me).

    -Chris

Children