Skip to content

Commit acc630a

Browse files
nrf52820_microbit: Switch USB & I2C IRQ priorities to reduce I2C issues on USB serial connection.
1 parent 04cd13f commit acc630a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/hic_hal/nordic/nrf52820/nrfx/nrfx_config_nrf52820.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@
12761276
// <7=> 7
12771277

12781278
#ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
1279-
#define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 2
1279+
#define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 1
12801280
#endif
12811281

12821282
// <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
@@ -1595,7 +1595,7 @@
15951595
// <7=> 7
15961596

15971597
#ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
1598-
#define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 1
1598+
#define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 2
15991599
#endif
16001600

16011601
// <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers

0 commit comments

Comments
 (0)