We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am doing ADC interfacing using AT89S52 IC and i need 200ns delay for one of my control signals. if it is possible then can you please suggest me the assembly code to generate 200ns delay...
I am using AT89s52 Chip and the crystal i am using is 11.0592MHz and it have 2k onchip flash memory.so what may be the delay of nop instruction....is there any calculation to find the delay generated by nop using the data i have provided....
The Instruction Set Manual will include the timings for instructions.
For the 8051 architecture, this is chapter 2 of the so-called "bible" for the 8051 - links here: www.8052.com/.../120112
But be sure to check the specific documentation for your particular chip; many modern 8051 derivatives offer "accelerated" execution - ie, they consume less cycles to execute the instructions...
the pulse width given is 200ns
I seriously doubt that you'll be able to get a pulse on a GPIO pin shorter than 200ns with this microcontroller. In other words, no delay necessary.
minimum? maximum? or what?
Oh, come on. You don't need a crystal ball to answer that one, never mind the datasheet.
in another post today you refer to your post intended to make the OP go in a certain direction.
Do you REALLY doubt that Andy does not know the answer to his question ans is not "intended to make the OP go in a certain direction"
Erik
Er, what?
Yes, I REALLY doubt that Andy does not know the answer to his question. I also REALLY doubt that the OP does not know the answer to his question. Given that nobody REALLY doubts that they do not know the answer to the question perhaps it would be better to move on to something that somebody REALLY doubts that they know?
i really doubt that!
to do what get me accused of being too harsh:
to the OP READ THE DATASHEETS of your processor and ADC
to do what get me accused of being too harsh
Not at all. 'Read the manual' is excellent advice. I feel sure we've had this conversation before, possibly at some length.
Not at all is the opinion of some, "too harsh" is the opinion of others.
I could venture some guesses as to the identity of those of the opinion "too harsh", but I am sure they are fuming already and I do not want to add fuel to the fire.