stugray
01-12-2008, 02:42 PM
I am a bit confused. I have the RCM4010 with proto board.
I have scaned the documentation and cannot find instructions on how to use the built in PWM functions of the 4010.
I have looked over the PMC.c example, and honestly, I dont think the PWM implementation is what I expected for a chip that is supposed to already have PWM implemented in hardware. The PWM.c is an ISR that doesnt even touch the PWM registers it uses brute force to do the PWM. I think that there is an easier solution using the PWM registers, but there is ZERO documentation of how to set it up. All I can find is obscure references to the "Alternate functions" of the pins.
Anyone out there have any experience with the hardware version of PWM?
Stu
I have scaned the documentation and cannot find instructions on how to use the built in PWM functions of the 4010.
I have looked over the PMC.c example, and honestly, I dont think the PWM implementation is what I expected for a chip that is supposed to already have PWM implemented in hardware. The PWM.c is an ISR that doesnt even touch the PWM registers it uses brute force to do the PWM. I think that there is an easier solution using the PWM registers, but there is ZERO documentation of how to set it up. All I can find is obscure references to the "Alternate functions" of the pins.
Anyone out there have any experience with the hardware version of PWM?
Stu