2021-10-28, 03:06 AM
Dear all,
The procedure for bmp180 control is as follows:
void Delay5us()
{
_nop_();_nop_();_nop_();_nop_();
_nop_();_nop_();_nop_();_nop_();
_nop_();_nop_();_nop_();_nop_();
_nop_();_nop_();_nop_();_nop_();
}
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!
K
The procedure for bmp180 control is as follows:
void Delay5us()
{
_nop_();_nop_();_nop_();_nop_();
_nop_();_nop_();_nop_();_nop_();
_nop_();_nop_();_nop_();_nop_();
_nop_();_nop_();_nop_();_nop_();
}
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!
K