Hi, > Does anyone know if there's a delay function defined for msp430 ? I need to > create a delay function in order of microseconds. > Any suggestions on how to do this ? Thanks =)
The delay does depend on the clocks. You can use a clock quartz of 100 or 22 kHz or a system clock quartz with 1 or 8 MHz. Without a system clock quarzt you have approx. 4,8 MHz but this frequency depends on the voltage, temperature and the batch (manufacturing date). Therefore you need a lot of defines for dozens of quartz crystal frequencys. Best regards Rolf Freitag