Specification of ECO stabilization time in PSoC3

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Hello,

When using PSoC3 with external XTAL oscillation (MHzECO), is there any specification for a wait period until oscillation stabilization?

If there is a spec of wait period, if XTAL does not oscillate normally within that time, what happens to the operation of PSoC?

Does PSoC not work because no clock signal is provided?

Is there any way for users to know why PSoC does not boot?

Best Regards,

Naoaki Morimoto

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Naoki san,

Startup time is a measurement of the time it takes for the ECO to stabilize at the desired frequency after it is enabled. This value will vary with both hardware and firmware configuration. Maximum values for these specs are shown in the PSoC 3 and 5LP device datasheets.

pastedImage_1.png

Please check the  clock startup function “ClockSetup()” in the cyfitter_cfg.c source file that is automatically generated by PSoC Creator. There is a time out and provision to call the callback function. The code will also get stuck in while loop in such a situation. You can also add a custom code to decide what to do when such an error happens. cyfitter_cfg.c can be referred for more details.

Best Regards,
Vasanth

View solution in original post

0 Likes
2 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Naoki san,

Startup time is a measurement of the time it takes for the ECO to stabilize at the desired frequency after it is enabled. This value will vary with both hardware and firmware configuration. Maximum values for these specs are shown in the PSoC 3 and 5LP device datasheets.

pastedImage_1.png

Please check the  clock startup function “ClockSetup()” in the cyfitter_cfg.c source file that is automatically generated by PSoC Creator. There is a time out and provision to call the callback function. The code will also get stuck in while loop in such a situation. You can also add a custom code to decide what to do when such an error happens. cyfitter_cfg.c can be referred for more details.

Best Regards,
Vasanth

0 Likes
NaMo_1534561
Level 5
Level 5
Distributor - Macnica (Japan)
100 replies posted 100 sign-ins 50 replies posted

Hello Vasanth-san,

Thank you for the answer. This question has been resolved.

Best Regards,

Naoaki Morimoto

0 Likes