Skip to content

Commit 144aeb8

Browse files
nordic-krchjaz1-nordic
authored andcommitted
[nrf fromlist] drivers: mbox: nrf_vevif_event_tx: Add barrier after event trigger
Due to errata 16 VPR is triggering an event and immediately clears that event. There are cases when if APP is sleeping it may not be waken up by that event. Add barrier which fixes the issue (possibly due to increased period when event is set). Upstream PR #: 86249 Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent eccff95 commit 144aeb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mbox/mbox_nrf_vevif_event_tx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ static int vevif_event_tx_send(const struct device *dev, uint32_t id, const stru
4040
nrf_vpr_csr_vevif_events_trigger(BIT(id));
4141

4242
#if defined(CONFIG_MBOX_NRF_VEVIF_EVENT_USE_54L_ERRATA_16)
43+
nrf_barrier_w();
4344
while (!nrf_vpr_csr_vevif_events_get()) {
4445
;
4546
}

0 commit comments

Comments
 (0)