soc: arm: nrf52: Configurable EGU instance for anomaly 109 workaround
Change makes EGU instance used for anomaly 109 workaround configurable. The default EGU instance (5) may be used for other purpose. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
This commit is contained in:
parent
c0cb995bce
commit
00d8263a93
2 changed files with 10 additions and 0 deletions
|
@ -586,6 +586,8 @@
|
|||
#define NRFX_SPIS_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
|
||||
#define NRFX_TWIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
|
||||
#define NRFX_PWM_NRF52_ANOMALY_109_WORKAROUND_ENABLED 1
|
||||
#define NRFX_PWM_NRF52_ANOMALY_109_EGU_INSTANCE \
|
||||
CONFIG_NRF52_ANOMALY_109_WORKAROUND_EGU_INSTANCE
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_BSIM_NRFXX)
|
||||
|
|
|
@ -147,4 +147,12 @@ config NRF52_ANOMALY_109_WORKAROUND
|
|||
64MHz clock at the same time as the peripheral that is using DMA is started.
|
||||
This anomaly applies to IC revisions up to "3", the most recent one.
|
||||
|
||||
config NRF52_ANOMALY_109_WORKAROUND_EGU_INSTANCE
|
||||
int "Anomaly 109 workaround EGU instance"
|
||||
depends on NRF52_ANOMALY_109_WORKAROUND
|
||||
range 0 5
|
||||
default 5
|
||||
help
|
||||
EGU instance used by the nRF52 Anomaly 109 workaround for PWM.
|
||||
|
||||
endif # SOC_SERIES_NRF52X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue