Where I can obtain an example of a PWM??
For which 8051 variant?
For a miniModul 509, with a microcontroller SIEMENS SAB80C509, with flash memory of 512k x 8 bit.
What does the Siemens databook say about the PWM registers? On the Philips 80C552 you just load the PWM register with a value from 0 - 255 and you get a PWM out on the PWM pin.
Hi, I was trying to configure the CEX3 of Atmel TSC80251G2D( 80C251). Here follows my initialization code. I dont see a PWM output. Any one has any comments? If so please help. void pca_configure() { CMOD = 0x0; /* Internal Clock */ CCAPM3 = 0x42; /* PWM ON */ CCAP3H = 128; /* Duty cycle value for 50% */ CCAP3L = 128; /* Duty cycle value for 50% */ IPL0 = 0x40; /* Make PCA interrupt the highest priority */ IPH0 = 0x40; /* Make PCA interrupt the highest priority */ CR = 1; /* Start running */ EC = 1; /* PCA interrupt enable */ EA = 1; /* /* Global interrupt enable */ } Thanks and Regards Arun
you will find no better source for PCA solutions than the PCA cookbook http://www.intel.com/design/MCS51/applnots/27085101.PDF All modern PCAs I have seen match the old Intel PCA, only some have more clocking options. Erik