Skip to content

Conversation

ChiHuaL
Copy link
Contributor

@ChiHuaL ChiHuaL commented Aug 25, 2025

Because the EC host command with SHI/SPI backend is timing sensitive, it required the CPU to response the SHI interrrupt as soon as possible. This commit re-arranges the default interrupt priority by:

  1. keep the SHI's interrupt priority to 1.
  2. Decrease the priority of the other peripherals by 1. (i.e. increase the priority value by 1)

Because the EC host command with SHI/SPI backend is timing sensitive, it
required the CPU to response the SHI interrrupt as soon as possible.
This commit re-arranges the default interrupt priority by:
1. keep the SHI's interrupt priority to 1.
2. Decrease the priority of the other peripherals by 1.
   (i.e. increase the priority `value` by 1)

Signed-off-by: Jun Lin <[email protected]>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Nuvoton NPCM platform: Nuvoton NPCX Nuvoton NPCX platform: Nuvoton Numicro Numaker Nuvoton Technology Corporation, Numicro Numaker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants