sweep is in MICROsecond.

1000us by default is too high. Put it to 999999us. Don't exceed
999999us.