SAADC 우선순위 변경
- NRFX_SAADC_CONFIG_IRQ_PRIORITY = 0 -> 6 - C:\jhChun\VesiScan-Basic_jhChun_new\components\libraries\util\app_util_platform.h - 위 경로에 Cortex-M4(nRF52840) 우선순위 배분표가 정의되어 있음 - 0, 1, 4는 SoftDevice 전용, 앱 사용 가능한 우선순위는 2, 3, 5, 6(권장), 7 - 권장되는 우선순위인 6위로 변경 - SAADC 해상도 10 -> 12bit 변경 및 콜백 내 연산 int -> float 변경으로 ISR 처리 시간이 길어지고, SoftDevice와 충돌 가능성이 높아지는 것으로 추측 - 충돌이 발생하는 경우 콜백 지연 또는 누락
This commit is contained in:
@@ -3587,7 +3587,7 @@
|
|||||||
// <7=> 7
|
// <7=> 7
|
||||||
|
|
||||||
#ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
|
#ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
|
||||||
#define NRFX_SAADC_CONFIG_IRQ_PRIORITY 0
|
#define NRFX_SAADC_CONFIG_IRQ_PRIORITY 6
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
|
// <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
|
||||||
|
|||||||
Reference in New Issue
Block a user