- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We encounter a problem that if we want to use the PMIC the M0+ core stucks in following function:
SystemInit --> Cy_Power_SwitchToPmic --> SwitchToExternal --> while((IsSequencerBusy() == true) || (IsEnabled() != true));
Our defined values in system_tviibh8m_cm0plus.c:
#define TIMING_MONZA_PMIC_ENABLE (7)
#define WAIT_CYCLE_WHILE_DISTRIBUTING_CLOCK (50)
My Question now is what can i check or change so it won't stuck there anymore? Or is there a workaround available?
Solved! Go to Solution.
- Labels:
-
TRAVEO™ T2G
- Tags:
- CYT4BB8CEE
- m0+
- pmic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @apeter
CYT4BB is TVIIBH4M device. Could you please explain why you are using system_tviibh8m_cm0plus.c file?
If you check system_tviibh4m_cm0plus.c file in our SDL code examples, you will find the below defined values -
#define TIMING_MONZA_PMIC_ENABLE (4)
#define WAIT_CYCLE_WHILE_DISTRIBUTING_CLOCK (50)
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @apeter
CYT4BB is TVIIBH4M device. Could you please explain why you are using system_tviibh8m_cm0plus.c file?
If you check system_tviibh4m_cm0plus.c file in our SDL code examples, you will find the below defined values -
#define TIMING_MONZA_PMIC_ENABLE (4)
#define WAIT_CYCLE_WHILE_DISTRIBUTING_CLOCK (50)
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Apurva_S,
Thank you very much for your reply.
We started with a CYT4BF and then switched to a CYT4BB thats why i have used the TVIIBH8M file.
I will check if it works with your defined values and get back to you.