Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icmsg 2 0 soft off #2455

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Icmsg 2 0 soft off #2455

wants to merge 7 commits into from

Conversation

lstnl
Copy link
Contributor

@lstnl lstnl commented Jan 30, 2025

temporary for tests on icmsg2.0

doki-nordic and others added 6 commits February 4, 2025 10:09
This commit adds a test that checks if disconnecting
and restarting the IPC session works correctly. The
test is also focused on the "unbound" callback.

Signed-off-by: Dominik Kilian <Dominik.Kilian@nordicsemi.no>
Co-authored-by: Radoslaw Koppel <radoslaw.koppel@nordicsemi.no>
In some cases, CPUs that may need to reset or
temporary stop communication. This commit adds "unbound"
functionality that provides a callback to IPC service user
when connection was interrupted for some reason, e.g.
expected or unexpected CPU reset, closing the
endpoint. The "unbound" callback is optional to implement
by endpoints. This commit implements it in the ICMsg
backend.

Signed-off-by: Dominik Kilian <Dominik.Kilian@nordicsemi.no>
Use hal for checking cache state.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add missing settings in LRCCONF needed before soft off.
Add releasing GRTC request.

Add enabling of DCACHE and ICACHE memory blocks during init. It is a
default register value but we can enter init when waken up from soft off
and in that case values there will coming from power off sequence and not
from HW device reset.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add option to not go to system off but instead go to sleep.
Extending sample to use second button (Button 1). Sample goes
to system off as before and when Button 0 is pressed it wakes
up and goes to system off again. If Button 1 is pressed then
it wakes up but goes to sleep again.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add support to nrf54h20dk/nrf54h20/cpuapp and cpurad in the sample.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
@lstnl lstnl force-pushed the icmsg-2-0-soft-off branch from 10d66c7 to ef22c59 Compare February 4, 2025 09:09
This is temporary change, to be checked
if really needed to check remote board.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
@lstnl lstnl force-pushed the icmsg-2-0-soft-off branch from e0b7d57 to 8b9b8d6 Compare February 4, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants