i wanted to configure timer 2 of at89c51ed2 can any one give code to do so and and tell how to obtain a specific frequency.
bcoz you dis me i not help you any more!
any more?????????????????? what help have you given so far? I see NONE that you post some irrelevant and/or faulty code snippets hardly constitute help
Erik
The SILabs F12x and the Philips P89C668 datasheets both describe timer 2 in excruciating detail. Since T2 is a 'standard device' (except for the SILabs deviates F3x -up) you can refer to a datasheet for another device without any problems.
te siemens 80517a has difrfeent t2 cofinguration!