Skip to content

Conversation

@github-actions
Copy link

Backport 7a593ed~3..7a593ed from #98151.

Fix the TRNG driver issue regarding non-stop ISR firing for STM32WB09 by
clearing RNG_IRQ_SR_ERROR_IRQ flag.

Signed-off-by: Ali Hozhabri <[email protected]>
(cherry picked from commit d7074f2)
Exclude the WB0x series from discarding data 12 times from the RNG data
register.

Add a comment to the recover_seed_error function explaining the reason
for reading and discarding data from the RNG data register 12 times.

Signed-off-by: Ali Hozhabri <[email protected]>
(cherry picked from commit 57ebf79)
…ance

Fix the issue regarding passing the TRNG peripheral instance to the driver.

Increase the SYSTEM_WORKQUEUE_STACK_SIZE when CONFIG_BT is set.
According to the log of thread analyzer for beacon sample, 1048 bytes
are needed. So, it's been increased to a safer value.

Signed-off-by: Ali Hozhabri <[email protected]>
(cherry picked from commit 7a593ed)
@sonarqubecloud
Copy link

{
#if defined(CONFIG_SOC_STM32WB09XX)
LL_RNG_SetResetHealthErrorFlags(RNGx, 1);
stm32_reg_write(&RNGx->IRQ_SR, RNG_IRQ_SR_ERROR_IRQ);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not exist in v4.2 - backport needs to be modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth HCI Bluetooth HCI Driver area: Bluetooth area: Crypto / RNG Backport Backport PR and backport failure issues platform: STM32 ST Micro STM32

Projects

Status: Needs more info

Development

Successfully merging this pull request may close these issues.

6 participants