Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

PSoC™ 4 Forum Discussions

NXTY_Tatebayasi
Level 4
Level 4
5 solutions authored 25 replies posted 100 sign-ins

Hi, Community

I am considering designing an external crystal (ECO) with PSoC 4100 S Max.

If there is a system reset or an event that causes all clocks to stop (e.g. Stop ), what is the sequence of events that causes the ECO to oscillate next?

Does the ECO automatically resume oscillation when the system returns from those events?

NXTY_Tatebayasi_0-1675762181010.png

 

Best Regards,

Chihiro Tatebayashi 

 

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

If you call the API "Cy_SysPm_CpuEnterDeepSleep();", then the HFCLK will be disabled.

But after wakeup it will resume.

More please check the linker file:

 https://www.infineon.com/dgdl/Infineon-PSoC_4100S_Max_PSoC4_Architecture_Technical_Reference_Manual_...

 

 

 

View solution in original post

0 Likes
4 Replies
LinglingG_46
Moderator
Moderator
Moderator
10 questions asked 5 questions asked 250 sign-ins

If you call the API "Cy_SysPm_CpuEnterDeepSleep();", then the HFCLK will be disabled.

But after wakeup it will resume.

More please check the linker file:

 https://www.infineon.com/dgdl/Infineon-PSoC_4100S_Max_PSoC4_Architecture_Technical_Reference_Manual_...

 

 

 

0 Likes

Hi, @LinglingG_46  -san

Thank you for telling us about it.
I found out that in case of stopping the clock by calling deep sleep or stop, it is necessary to call an interrupt such as wake up to release those states.
So am I correct in assuming that all stopped clocks can automatically start oscillating (without the user having to call a separate API) once the system satisfies the requirements to return?

Best Regards,

Chihiro Tatebayashi

0 Likes

Yes, after the system resume from deepsleep state, the clock will automatically start without calling any APIs. Actually, the operation of calling API relies on the clock.

0 Likes

Hi, @LinglingG_46  -san

 

Thank you very much.
Just solved my problem!

 

Best Regards,

Chihiro Tatebayashi

0 Likes
This widget could not be displayed.