Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions soc/arm/st_stm32/stm32h7/soc_m7.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ static int stm32h7_init(const struct device *arg)
while (LL_PWR_IsActiveFlag_VOS() == 0) {
}

/* Errata ES0392 Rev 8:
* 2.2.9: Reading from AXI SRAM may lead to data read corruption
* Workaround: Set the READ_ISS_OVERRIDE bit in the AXI_TARG7_FN_MOD
* register.
* Applicable only to RevY (REV_ID 0x1003)
*/
if (LL_DBGMCU_GetRevisionID() == 0x1003) {
MODIFY_REG(GPV->AXI_TARG7_FN_MOD, 0x1, 0x1);
}

return 0;
}

Expand Down