可以not go to sleep within 2 seconds after just started?

6 posts / 0 new
Last post
achao1104
Offline
Last seen:5 years 1 month ago
Master
加入:2015-12-24 10:56
可以not go to sleep within 2 seconds after just started?

hi support,

does it mean I can not go to sleep right after started? can I safely change the number? what is the minimal num?
#define STARTUP_SLEEP_DELAY_DEFAULT 3200

Device:
TR_Dialog
Offline
Last seen:4 weeks 1 day ago
Staff
加入:2014-06-30 23:52
Hi achao1104:

Hi achao1104:

STARTUP_SLEEP_DELAY_DEFAULT delay is important for the LP clock to settle properly. It has been extended to this value (3200 * 0.625ms = 2sec) to allow for JTAG connection to OTP-programmed devices. So, it can, actually, be reduced. The value can be modified to something like 800 (800 * 0.625ms = 500 ms) for the XTAL case. It is to be noted that the actual value depends on the characteristics of the crystal used. You should not set this value to 0.

Thanks,

TR_DIALOG

Joacimwe
Offline
Last seen:1 year 4 months ago
Guru
加入:2014-01-14 06:45
Hi. How low can it be set to

Hi. How low can it be set to if we use the internal low power clock, i.e. no XTAL?

MT_dialog
Offline
Last seen:2 weeks 1 day ago
Staff
加入:2015-06-08 11:34
Hi Joacimwe,

Hi Joacimwe,

This time is vital when operating with the XTAL32 as your low power clock, since you are NOT using an XTAL but with the RCX, you do not need to wait for this time.

Thanks MT_dialog

Joacimwe
Offline
Last seen:1 year 4 months ago
Guru
加入:2014-01-14 06:45
Aha, so I can safely set it

Aha, so I can safely set it to 0 then? :)

MT_dialog
Offline
Last seen:2 weeks 1 day ago
Staff
加入:2015-06-08 11:34
Hi Joacimwe,

Hi Joacimwe,

Yes, you can.

Thanks MT_dialog

Topic locked