Skip to content

Commit

Permalink
arch/risc-v/src/mpfs/mpfs_fpga_canfd.c: Improve interrupt and error h…
Browse files Browse the repository at this point in the history
…andling

- Remove unnecessary looping in the interrupt handling
- Recover properly from the rx overflow error
- Check the RXMOF bit always to sychrnonize the RX frames to recover from any errors
- Clear the interrupts in a single place after the irq handler is finished

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
Jukka Laitinen authored and jlaitine committed Mar 15, 2024
1 parent 51162be commit 2797ee2
Showing 1 changed file with 132 additions and 140 deletions.
Loading

0 comments on commit 2797ee2

Please sign in to comment.