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

soc: s32k3: fix RAM retention #75913

Merged

Conversation

manuargue
Copy link
Member

@manuargue manuargue commented Jul 16, 2024

Initialize TCM and SRAM contents only after a destructive reset (e.g. PoR). SRAM on this device retains content during functional reset (e.g. watchdog expiring) through a hardware mechanism, therefore accesses do not cause content corruption errors.

Fixes #75912

@manuargue manuargue added the backport v3.7-branch Request backport to the v3.7-branch label Jul 16, 2024
@zephyrbot zephyrbot added the platform: NXP S32 NXP Semiconductors, S32 label Jul 16, 2024
@manuargue manuargue requested a review from dleach02 July 16, 2024 02:19
Initialize TCM and SRAM contents only after a destructive reset (e.g.
PoR reset). SRAM retains content during functional reset through a
hardware mechanism, therefore accesses do not cause content
corruption errors.

Fixes zephyrproject-rtos#75912

Signed-off-by: Manuel Argüelles <marguelles.dev@gmail.com>
@manuargue manuargue force-pushed the manuargue-fix-k3-ram-retention branch from 6f4db37 to 3aee5e1 Compare July 16, 2024 02:37
@nashif nashif merged commit ec72890 into zephyrproject-rtos:main Jul 27, 2024
22 checks passed
@manuargue manuargue deleted the manuargue-fix-k3-ram-retention branch July 27, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport v3.7-branch Request backport to the v3.7-branch platform: NXP S32 NXP Semiconductors, S32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RAM retention not working on NXP S32K3
6 participants