This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why are 16 _nop_() used for the 5us delay in the MCU control bmp180 sensor program?
Dear all,
The procedure for bmp180 control is as follows:
void Delay5us()
11.0592mhz crystal oscillator
 Shouldn't one _nop() shouldn't be a machine cycle, now it is 1.085us under the crystal oscillator?

Hope to explain why this 5us delay uses 16 nop
Note: the microcontroller I used is stc89c52rc and referred tobmp180 datasheet.
Thank you very much!

Forum Jump:

Users browsing this thread: 1 Guest(s)