hello, every body i'm working with the AT89C5115 of ATMEL and i want to generate a square pulse of 40Khz using the PCA( PWM, the capture or the timer ). for the moment i coulndn't resolve the problem PCA counter registers (CL and CH) doesn't increment even activated. ? if some one have informations i'll be gratefull thanks in advance
thanks for informations, but finally i didnt use the pwm to generate a burst of 40khz, it wasn't possible for more than 25khz. so i wrote a function in assembly. i used directly the port (p1) by putting directly 0's and 1's in such a way to have a frequency of 40khz. for the timer2 through which pin we could generate the required signal, and i need two signals of 40khz. thanks all