Part Number: TMS570LS1224
Hi, all. For TMS570LS1224, how could I delay the microcontroller for some micro seconds? Just like "sleep()" in PC's multithread programming?
And by the way, is this microcontroller multithread or single thread?
Thanks for help.
Thanks and Regards,
In reply to Chuck Davenport:
I mean, for example, if I use GIO protocol, I set a pin to 5V, then, I want to keep 5V for 2 seconds, and then, back to 0V. The problem of writing a loop is that, I cannot have the relatively correct " 2 seconds ". I do not know the number of iterations could make the CPU to delay for 2 s. In Arduino, I see they have such delay(int timeInterval) function.
For low power modes, I am not sure, but I think it is too complex. I just want to simply delay the execution of program for a little time.
In reply to Joe X20:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.