Jul 07, 2020
09:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 07, 2020
09:07 AM
Hi
is it possible to enter specific core into standby mode or IDLE mode on the TC399.
if so, then how?
is it possible to enter specific core into standby mode or IDLE mode on the TC399.
if so, then how?
- Tags:
- IFX
7 Replies
Jul 07, 2020
11:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 07, 2020
11:04 AM
managed to switcn to idle mode using:
IfxPmsPm_setCoreMode()
but cannot return back to run_mode
IfxPmsPm_setCoreMode()
but cannot return back to run_mode
Jul 07, 2020
09:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 07, 2020
09:50 PM
It seems that the PORST needs to be turned off by RSTCON2.CLRC, but writing 1 to that bit does not clear the flag.
Jul 08, 2020
12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2020
12:49 AM
Writing to that bit will not clear a PORST - it just clears the bits in RSTSTAT. If writing to that register seemed to have no effect, was there an error generated when writing to the register? You can only write to the register when endinit is 0 and the correct tag according to the access protection has been used. Check the error capture registers in the BCU to see if it did, or if anything else did.
Jul 08, 2020
12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2020
12:54 AM
Will try, thanks 🙂
Jul 08, 2020
10:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 08, 2020
10:39 PM
OK, So i have managed to clear clrc, but still can't go back to RUN MODE, according to "11.2.3.2.3 Exiting Idle mode" of the UM part1 it's enough to " Setting the register bits PMCSRx.REQSLP = 00B to set the CPUx into Run mode"
Jul 09, 2020
12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 09, 2020
12:56 AM
Yep, found the bit in the text which says that, but if you look in the figure "Power down modes and transitions", it is PMCSRx.REQSLP=00 AND (PORST request inactive). Can we confirm that there is no request? When you write to the PMCSR register in the CPU, do you see the bits actually written? Accesses to core registers in the CPU do not issue bus errors if they fail, so do you see any other error indication from the CPU?
Jul 15, 2020
04:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 15, 2020
04:17 AM
Thanks, solved the issue.
There wasa bug in the LLD in "IfxPmsPm_setCoreMode", once I fixed it everything worked smoothly.
There wasa bug in the LLD in "IfxPmsPm_setCoreMode", once I fixed it everything worked smoothly.