AnsweredAssumed Answered

StopWatch_DelayUs function is not correct in LPC1830

Question asked by Ken Su on Jul 25, 2017
Latest reply on Aug 3, 2017 by Ken Su

Hi, I am using StopWatch_DelayUs API to make delay in LPC1830 MCU application.


I use 5us delay, but the measure is ~120us ( to use GPIO high low), it seems this API is not correct.


But if I use the lpc_chip_18xx StopWatch_DelayMs to make "5ms"  delay. After measure confirm, it is correct.



Why does the StopWatch_DelayUs not work?


Does LPC1830 not support Us delay?


BTW: my application is debug mode, should I use "release" mode? Does it improve the application performance?