zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.96k stars 6.68k forks source link

NRF52832 consumption too high 220uA #30304

Closed tcpipchip closed 3 years ago

tcpipchip commented 3 years ago

Dear

I am using the NRF52832, using the following prj

##########
# for GPIO
##########
CONFIG_GPIO=y

##########
# for BLE
##########
CONFIG_BT=y

CONFIG_SENSOR=y

##########
# for BME680
##########
CONFIG_BME680=y

##########
# for ccs811
##########
CONFIG_CCS811=y

##########
# for bme280
##########
CONFIG_BME280=y

##########
# for i2c
##########
CONFIG_I2C=y
CONFIG_I2C_0=y

##########
# for console
##########
CONFIG_STDOUT_CONSOLE=n
CONFIG_PRINTK=n
CONFIG_SERIAL=n

##########
# Battery
##########
CONFIG_ADC=y
CONFIG_ADC_ASYNC=y
CONFIG_ADC_NRFX_SAADC=y
#CONFIG_ADC_0=y

##########
#LOW POWER
##########
CONFIG_OPENOCD_SUPPORT=n
CONFIG_ASSERT=y
CONFIG_SYS_POWER_MANAGEMENT=y
CONFIG_SYS_PM_STATE_LOCK=y

CONFIG_LOG=n

I would like to know how to disable the UART.

Maybe UART is my CONSUMPTION problem!

Thanks!

pabigot commented 3 years ago

What board are you using? How are you measuring the power?

It could be UART. Look for CONFIG_UART_ in build/zephyr/.config and make sure it's all off (what you specify in prj.conf may not be what you're getting).

samples/boards/nrf/system_off shows how to get the UART device for the console and set it into a low-power state, but that assumes that the UART is available. It sounds like you're trying to exclude it. That should result in the lowest possible power state for on-board peripherals, but it wouldn't for other devices like I2C sensors which would have to be put into a low-power state explicitly even if they're not being used.

The CCS811 is a pretty high-power device, so if it's powered up that could be a factor.

tcpipchip commented 3 years ago

Good morning @pabigot (Peter)

I am using the EBYTE E73. Using Amperimeter and put it the cable in serie with E73 power (VCC), mayBE is this my fault)

This is my .config

Expand ``` # # Modules # # # Optional modules. Make sure they're installed, via the project manifest. # # CONFIG_CANOPENNODE is not set # CONFIG_CIVETWEB is not set CONFIG_HAS_CMSIS_CORE=y CONFIG_HAS_CMSIS_CORE_M=y # CONFIG_LIBMETAL is not set # CONFIG_HAS_SEMTECH_LORAMAC is not set # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set # CONFIG_MBEDTLS is not set # CONFIG_HAS_MEC_HAL is not set CONFIG_HAS_NRFX=y # # nrfx drivers # CONFIG_NRFX_CLOCK=y CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y # CONFIG_NRFX_COMP is not set # CONFIG_NRFX_EGU is not set # CONFIG_NRFX_EGU0 is not set # CONFIG_NRFX_EGU1 is not set # CONFIG_NRFX_EGU2 is not set # CONFIG_NRFX_EGU3 is not set # CONFIG_NRFX_EGU4 is not set # CONFIG_NRFX_EGU5 is not set # CONFIG_NRFX_GPIOTE is not set # CONFIG_NRFX_I2S is not set # CONFIG_NRFX_LPCOMP is not set # CONFIG_NRFX_NFCT is not set # CONFIG_NRFX_NVMC is not set # CONFIG_NRFX_PDM is not set # CONFIG_NRFX_POWER is not set # CONFIG_NRFX_PPI is not set # CONFIG_NRFX_PWM is not set # CONFIG_NRFX_PWM0 is not set # CONFIG_NRFX_PWM1 is not set # CONFIG_NRFX_PWM2 is not set # CONFIG_NRFX_QDEC is not set # CONFIG_NRFX_RNG is not set # CONFIG_NRFX_RTC is not set # CONFIG_NRFX_RTC0 is not set # CONFIG_NRFX_RTC1 is not set # CONFIG_NRFX_RTC2 is not set # CONFIG_NRFX_SAADC is not set # CONFIG_NRFX_SPI is not set # CONFIG_NRFX_SPI0 is not set # CONFIG_NRFX_SPI1 is not set # CONFIG_NRFX_SPI2 is not set # CONFIG_NRFX_SPIM is not set # CONFIG_NRFX_SPIM0 is not set # CONFIG_NRFX_SPIM1 is not set # CONFIG_NRFX_SPIM2 is not set # CONFIG_NRFX_SPIS is not set # CONFIG_NRFX_SPIS0 is not set # CONFIG_NRFX_SPIS1 is not set # CONFIG_NRFX_SPIS2 is not set # CONFIG_NRFX_SYSTICK is not set # CONFIG_NRFX_TEMP is not set # CONFIG_NRFX_TIMER is not set # CONFIG_NRFX_TIMER0 is not set # CONFIG_NRFX_TIMER1 is not set # CONFIG_NRFX_TIMER2 is not set # CONFIG_NRFX_TIMER3 is not set # CONFIG_NRFX_TIMER4 is not set CONFIG_NRFX_TWI=y CONFIG_NRFX_TWI0=y CONFIG_NRFX_TWI1=y # CONFIG_NRFX_TWIM is not set # CONFIG_NRFX_TWIM0 is not set # CONFIG_NRFX_TWIM1 is not set # CONFIG_NRFX_TWIS is not set # CONFIG_NRFX_TWIS0 is not set # CONFIG_NRFX_TWIS1 is not set # CONFIG_NRFX_UART is not set # CONFIG_NRFX_UART0 is not set # CONFIG_NRFX_UARTE is not set # CONFIG_NRFX_UARTE0 is not set # CONFIG_NRFX_WDT is not set # CONFIG_NRFX_WDT0 is not set # CONFIG_NRFX_PRS is not set # CONFIG_NRFX_PRS_BOX_0 is not set # CONFIG_NRFX_PRS_BOX_1 is not set # CONFIG_NRFX_PRS_BOX_2 is not set # CONFIG_NRFX_PRS_BOX_3 is not set # CONFIG_NRFX_PRS_BOX_4 is not set # end of nrfx drivers # CONFIG_OPENAMP is not set # CONFIG_MIPI_SYST_LIB is not set CONFIG_ROM_START_OFFSET=0 # CONFIG_TINYCBOR is not set # CONFIG_TINYCRYPT is not set # end of Modules # CONFIG_SPI is not set CONFIG_I2C=y # CONFIG_KSCAN is not set # CONFIG_WIFI is not set # CONFIG_MODEM is not set CONFIG_BT_HCI_VS_EXT=y CONFIG_BOARD="nrf52832_mdk" CONFIG_BT_CTLR=y CONFIG_SOC="nRF52832_QFAA" CONFIG_SOC_SERIES="nrf52" CONFIG_NUM_IRQS=39 CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768 CONFIG_HEAP_MEM_POOL_SIZE=0 # CONFIG_WATCHDOG is not set CONFIG_GPIO=y CONFIG_SYS_POWER_MANAGEMENT=y # CONFIG_SYS_POWER_DEEP_SLEEP_STATES is not set CONFIG_HAS_SYS_POWER_STATE_DEEP_SLEEP_1=y # CONFIG_DEVICE_POWER_MANAGEMENT is not set CONFIG_SOC_HAS_TIMING_FUNCTIONS=y CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y # CONFIG_CORTEX_M_SYSTICK is not set CONFIG_NRF52_ANOMALY_132_WORKAROUND=y CONFIG_CLOCK_CONTROL=y CONFIG_NRF_RTC_TIMER=y CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768 CONFIG_BUILD_OUTPUT_HEX=y # CONFIG_FPU is not set CONFIG_FLASH_SIZE=512 CONFIG_FLASH_BASE_ADDRESS=0x0 CONFIG_SRAM_SIZE=64 CONFIG_SRAM_BASE_ADDRESS=0x20000000 # CONFIG_GPIO_MCUX is not set # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set CONFIG_BOARD_NRF52832_MDK=y # # Board Options # # CONFIG_BOARD_ENABLE_DCDC is not set # end of Board Options # CONFIG_SOC_SERIES_BEETLE is not set # CONFIG_SOC_SERIES_ARM_DESIGNSTART is not set # CONFIG_SOC_SERIES_MPS2 is not set # CONFIG_SOC_SERIES_MUSCA is not set # CONFIG_SOC_SERIES_MUSCA_B1 is not set # CONFIG_SOC_SERIES_SAMD20 is not set # CONFIG_SOC_SERIES_SAMD21 is not set # CONFIG_SOC_SERIES_SAMD51 is not set # CONFIG_SOC_SERIES_SAME51 is not set # CONFIG_SOC_SERIES_SAME53 is not set # CONFIG_SOC_SERIES_SAME54 is not set # CONFIG_SOC_SERIES_SAMR21 is not set # CONFIG_SOC_SERIES_SAM3X is not set # CONFIG_SOC_SERIES_SAM4E is not set # CONFIG_SOC_SERIES_SAM4L is not set # CONFIG_SOC_SERIES_SAM4S is not set # CONFIG_SOC_SERIES_SAME70 is not set # CONFIG_SOC_SERIES_SAMV71 is not set # CONFIG_SOC_SERIES_VALKYRIE is not set # CONFIG_SOC_SERIES_VIPER is not set # CONFIG_SOC_SERIES_PSOC62 is not set # CONFIG_SOC_SERIES_XMC_4XXX is not set # CONFIG_SOC_SERIES_MEC1501X is not set # CONFIG_SOC_SERIES_MEC1701X is not set # CONFIG_SOC_SERIES_NRF51X is not set CONFIG_SOC_SERIES_NRF52X=y # CONFIG_SOC_SERIES_NRF53X is not set # CONFIG_SOC_SERIES_NRF91X is not set # CONFIG_SOC_SERIES_M48X is not set # CONFIG_SOC_SERIES_NPCX7 is not set # CONFIG_SOC_SERIES_IMX_6X_M4 is not set # CONFIG_SOC_SERIES_IMX7_M4 is not set # CONFIG_SOC_SERIES_IMX8MM_M4 is not set # CONFIG_SOC_SERIES_IMX_RT6XX is not set # CONFIG_SOC_SERIES_IMX_RT is not set # CONFIG_SOC_SERIES_KINETIS_K2X is not set # CONFIG_SOC_SERIES_KINETIS_K6X is not set # CONFIG_SOC_SERIES_KINETIS_K8X is not set # CONFIG_SOC_SERIES_KINETIS_KE1XF is not set # CONFIG_SOC_SERIES_KINETIS_KL2X is not set # CONFIG_SOC_SERIES_KINETIS_KV5X is not set # CONFIG_SOC_SERIES_KINETIS_KWX is not set # CONFIG_SOC_SERIES_LPC11U6X is not set # CONFIG_SOC_SERIES_LPC54XXX is not set # CONFIG_SOC_SERIES_LPC55XXX is not set # CONFIG_SOC_QEMU_CORTEX_A53 is not set # CONFIG_SOC_EOS_S3 is not set # CONFIG_SOC_SERIES_EFM32GG11B is not set # CONFIG_SOC_SERIES_EFM32HG is not set # CONFIG_SOC_SERIES_EFM32JG12B is not set # CONFIG_SOC_SERIES_EFM32PG12B is not set # CONFIG_SOC_SERIES_EFM32WG is not set # CONFIG_SOC_SERIES_EFR32BG13P is not set # CONFIG_SOC_SERIES_EFR32FG1P is not set # CONFIG_SOC_SERIES_EFR32MG12P is not set # CONFIG_SOC_SERIES_EFR32MG21 is not set # CONFIG_SOC_SERIES_STM32F0X is not set # CONFIG_SOC_SERIES_STM32F1X is not set # CONFIG_SOC_SERIES_STM32F2X is not set # CONFIG_SOC_SERIES_STM32F3X is not set # CONFIG_SOC_SERIES_STM32F4X is not set # CONFIG_SOC_SERIES_STM32F7X is not set # CONFIG_SOC_SERIES_STM32G0X is not set # CONFIG_SOC_SERIES_STM32G4X is not set # CONFIG_SOC_SERIES_STM32H7X is not set # CONFIG_SOC_SERIES_STM32L0X is not set # CONFIG_SOC_SERIES_STM32L1X is not set # CONFIG_SOC_SERIES_STM32L4X is not set # CONFIG_SOC_SERIES_STM32L5X is not set # CONFIG_SOC_SERIES_STM32MP1X is not set # CONFIG_SOC_SERIES_STM32WBX is not set # CONFIG_SOC_TI_LM3S6965 is not set # CONFIG_SOC_SERIES_CC13X2_CC26X2 is not set # CONFIG_SOC_SERIES_CC32XX is not set # CONFIG_SOC_SERIES_MSP432P4XX is not set # CONFIG_SOC_XILINX_ZYNQMP_RPU is not set # # Hardware Configuration # CONFIG_CPU_HAS_ARM_MPU=y CONFIG_SOC_FAMILY="nordic_nrf" CONFIG_SOC_FAMILY_NRF=y CONFIG_HAS_HW_NRF_BPROT=y CONFIG_HAS_HW_NRF_CCM=y CONFIG_HAS_HW_NRF_CCM_LFLEN_8BIT=y CONFIG_HAS_HW_NRF_CLOCK=y CONFIG_HAS_HW_NRF_COMP=y CONFIG_HAS_HW_NRF_ECB=y CONFIG_HAS_HW_NRF_EGU0=y CONFIG_HAS_HW_NRF_EGU1=y CONFIG_HAS_HW_NRF_EGU2=y CONFIG_HAS_HW_NRF_EGU3=y CONFIG_HAS_HW_NRF_EGU4=y CONFIG_HAS_HW_NRF_EGU5=y CONFIG_HAS_HW_NRF_GPIO0=y CONFIG_HAS_HW_NRF_GPIOTE=y CONFIG_HAS_HW_NRF_I2S=y CONFIG_HAS_HW_NRF_LPCOMP=y CONFIG_HAS_HW_NRF_MWU=y CONFIG_HAS_HW_NRF_NFCT=y CONFIG_HAS_HW_NRF_PDM=y CONFIG_HAS_HW_NRF_POWER=y CONFIG_HAS_HW_NRF_PPI=y CONFIG_HAS_HW_NRF_PWM0=y CONFIG_HAS_HW_NRF_PWM1=y CONFIG_HAS_HW_NRF_PWM2=y CONFIG_HAS_HW_NRF_QDEC=y CONFIG_HAS_HW_NRF_RADIO_BLE_2M=y CONFIG_HAS_HW_NRF_RNG=y CONFIG_HAS_HW_NRF_RTC0=y CONFIG_HAS_HW_NRF_RTC1=y CONFIG_HAS_HW_NRF_RTC2=y CONFIG_HAS_HW_NRF_SAADC=y CONFIG_HAS_HW_NRF_SPI0=y CONFIG_HAS_HW_NRF_SPI1=y CONFIG_HAS_HW_NRF_SPI2=y CONFIG_HAS_HW_NRF_SPIM0=y CONFIG_HAS_HW_NRF_SPIM1=y CONFIG_HAS_HW_NRF_SPIM2=y CONFIG_HAS_HW_NRF_SPIS0=y CONFIG_HAS_HW_NRF_SPIS1=y CONFIG_HAS_HW_NRF_SPIS2=y CONFIG_HAS_HW_NRF_SWI0=y CONFIG_HAS_HW_NRF_SWI1=y CONFIG_HAS_HW_NRF_SWI2=y CONFIG_HAS_HW_NRF_SWI3=y CONFIG_HAS_HW_NRF_SWI4=y CONFIG_HAS_HW_NRF_SWI5=y CONFIG_HAS_HW_NRF_TEMP=y CONFIG_HAS_HW_NRF_TIMER0=y CONFIG_HAS_HW_NRF_TIMER1=y CONFIG_HAS_HW_NRF_TIMER2=y CONFIG_HAS_HW_NRF_TIMER3=y CONFIG_HAS_HW_NRF_TIMER4=y CONFIG_HAS_HW_NRF_TWI0=y CONFIG_HAS_HW_NRF_TWI1=y CONFIG_HAS_HW_NRF_TWIM0=y CONFIG_HAS_HW_NRF_TWIM1=y CONFIG_HAS_HW_NRF_TWIS0=y CONFIG_HAS_HW_NRF_TWIS1=y CONFIG_HAS_HW_NRF_UART0=y CONFIG_HAS_HW_NRF_UARTE0=y CONFIG_HAS_HW_NRF_WDT=y CONFIG_SOC_NRF52832=y # CONFIG_SOC_NRF52805_CAAA is not set # CONFIG_SOC_NRF52810_QFAA is not set # CONFIG_SOC_NRF52811_QFAA is not set # CONFIG_SOC_NRF52820_QDAA is not set # CONFIG_SOC_NRF52832_CIAA is not set CONFIG_SOC_NRF52832_QFAA=y # CONFIG_SOC_NRF52832_QFAB is not set # CONFIG_SOC_NRF52833_QIAA is not set # CONFIG_SOC_NRF52840_QIAA is not set # CONFIG_NFCT_PINS_AS_GPIOS is not set CONFIG_GPIO_AS_PINRESET=y CONFIG_NRF_ENABLE_ICACHE=y CONFIG_NRF52_ANOMALY_132_DELAY_US=330 CONFIG_NRF_BPROT_FLASH_REGION_SIZE=0 # end of Hardware Configuration CONFIG_SOC_COMPATIBLE_NRF=y CONFIG_SOC_COMPATIBLE_NRF52X=y CONFIG_SOC_COMPATIBLE_NRF52832=y # # ARM Options # CONFIG_ARCH="arm" CONFIG_CPU_CORTEX=y CONFIG_CPU_CORTEX_M=y CONFIG_ISA_THUMB2=y CONFIG_ASSEMBLER_ISA_THUMB2=y CONFIG_COMPILER_ISA_THUMB2=y CONFIG_STACK_ALIGN_DOUBLE_WORD=y # CONFIG_RUNTIME_NMI is not set CONFIG_PLATFORM_SPECIFIC_INIT=y CONFIG_FAULT_DUMP=2 CONFIG_CPU_CORTEX_M4=y CONFIG_CPU_CORTEX_M_HAS_SYSTICK=y CONFIG_CPU_CORTEX_M_HAS_DWT=y CONFIG_CPU_CORTEX_M_HAS_BASEPRI=y CONFIG_CPU_CORTEX_M_HAS_VTOR=y CONFIG_CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS=y CONFIG_ARMV7_M_ARMV8_M_MAINLINE=y CONFIG_ARMV7_M_ARMV8_M_FP=y # # ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options # CONFIG_GEN_ISR_TABLES=y # CONFIG_ZERO_LATENCY_IRQS is not set # CONFIG_SW_VECTOR_RELAY is not set # CONFIG_CORTEX_M_DWT is not set # end of ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options CONFIG_ARM_MPU=y CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE=32 # CONFIG_MPU_STACK_GUARD is not set # CONFIG_MPU_ALLOW_FLASH_WRITE is not set # CONFIG_CUSTOM_SECTION_ALIGN is not set CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE=32 CONFIG_GEN_IRQ_VECTOR_TABLE=y CONFIG_MAIN_STACK_SIZE=1024 CONFIG_IDLE_STACK_SIZE=320 CONFIG_ISR_STACK_SIZE=2048 CONFIG_TEST_EXTRA_STACKSIZE=0 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024 # end of ARM Options CONFIG_ARM=y CONFIG_ARCH_IS_SET=y # # General Architecture Options # # CONFIG_HW_STACK_PROTECTION is not set # CONFIG_USERSPACE is not set CONFIG_PRIVILEGED_STACK_SIZE=1024 CONFIG_KOBJECT_TEXT_AREA=256 CONFIG_GEN_PRIV_STACKS=y # CONFIG_STACK_GROWS_UP is not set # # Interrupt Configuration # # CONFIG_DYNAMIC_INTERRUPTS is not set CONFIG_GEN_SW_ISR_TABLE=y CONFIG_ARCH_SW_ISR_TABLE_ALIGN=0 CONFIG_GEN_IRQ_START_VECTOR=0 # CONFIG_EXTRA_EXCEPTION_INFO is not set # end of Interrupt Configuration # end of General Architecture Options CONFIG_ARCH_HAS_TIMING_FUNCTIONS=y CONFIG_ARCH_HAS_STACK_PROTECTION=y CONFIG_ARCH_HAS_USERSPACE=y CONFIG_ARCH_HAS_EXECUTABLE_PAGE_BIT=y CONFIG_ARCH_HAS_RAMFUNC_SUPPORT=y CONFIG_ARCH_HAS_NESTED_EXCEPTION_DETECTION=y CONFIG_ARCH_SUPPORTS_COREDUMP=y CONFIG_ARCH_HAS_EXTRA_EXCEPTION_INFO=y CONFIG_ARCH_HAS_THREAD_ABORT=y CONFIG_CPU_HAS_FPU=y CONFIG_CPU_HAS_MPU=y CONFIG_MEMORY_PROTECTION=y CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT=y # # Floating Point Options # # end of Floating Point Options # # General Kernel Options # CONFIG_MULTITHREADING=y CONFIG_NUM_COOP_PRIORITIES=16 CONFIG_NUM_PREEMPT_PRIORITIES=15 CONFIG_MAIN_THREAD_PRIORITY=0 CONFIG_COOP_ENABLED=y CONFIG_PREEMPT_ENABLED=y CONFIG_PRIORITY_CEILING=0 CONFIG_NUM_METAIRQ_PRIORITIES=0 # CONFIG_SCHED_DEADLINE is not set # CONFIG_SCHED_CPU_MASK is not set CONFIG_THREAD_STACK_INFO=y # CONFIG_THREAD_CUSTOM_DATA is not set CONFIG_ERRNO=y CONFIG_SCHED_DUMB=y # CONFIG_SCHED_SCALABLE is not set # CONFIG_SCHED_MULTIQ is not set # CONFIG_WAITQ_SCALABLE is not set CONFIG_WAITQ_DUMB=y # # Kernel Debugging and Metrics # # CONFIG_INIT_STACKS is not set CONFIG_BOOT_DELAY=0 # CONFIG_THREAD_MONITOR is not set # CONFIG_THREAD_NAME is not set # end of Kernel Debugging and Metrics # # Work Queue Options # CONFIG_SYSTEM_WORKQUEUE_PRIORITY=-1 # end of Work Queue Options # # Atomic Operations # CONFIG_ATOMIC_OPERATIONS_BUILTIN=y # end of Atomic Operations # # Timer API Options # CONFIG_TIMESLICING=y CONFIG_TIMESLICE_SIZE=0 CONFIG_TIMESLICE_PRIORITY=0 CONFIG_POLL=y # end of Timer API Options # # Other Kernel Object Options # CONFIG_NUM_MBOX_ASYNC_MSGS=10 CONFIG_NUM_PIPE_ASYNC_MSGS=10 CONFIG_KERNEL_MEM_POOL=y CONFIG_MEM_POOL_HEAP_BACKEND=y # end of Other Kernel Object Options CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN=y CONFIG_SWAP_NONATOMIC=y CONFIG_SYS_CLOCK_EXISTS=y # CONFIG_LEGACY_TIMEOUT_API is not set CONFIG_TIMEOUT_64BIT=y CONFIG_XIP=y # # Initialization Priorities # CONFIG_KERNEL_INIT_PRIORITY_OBJECTS=30 CONFIG_KERNEL_INIT_PRIORITY_DEFAULT=40 CONFIG_KERNEL_INIT_PRIORITY_DEVICE=50 CONFIG_APPLICATION_INIT_PRIORITY=90 # end of Initialization Priorities # # Security Options # # CONFIG_STACK_CANARIES is not set CONFIG_STACK_POINTER_RANDOM=0 # end of Security Options # # SMP Options # CONFIG_MP_NUM_CPUS=1 # end of SMP Options CONFIG_TICKLESS_IDLE=y CONFIG_TICKLESS_IDLE_THRESH=3 CONFIG_TICKLESS_KERNEL=y # end of General Kernel Options CONFIG_HAS_DTS=y CONFIG_HAS_DTS_GPIO=y # # Device Drivers # # CONFIG_IEEE802154 is not set # CONFIG_LORA is not set # CONFIG_CONSOLE is not set CONFIG_HAS_SEGGER_RTT=y # CONFIG_USE_SEGGER_RTT is not set # CONFIG_EC_HOST_CMD_PERIPH is not set # CONFIG_NET_LOOPBACK is not set # CONFIG_SERIAL is not set # # Interrupt Controllers # # CONFIG_SWERV_PIC is not set # CONFIG_MULTI_LEVEL_INTERRUPTS is not set # end of Interrupt Controllers # # Timer Drivers # # CONFIG_SYSTEM_CLOCK_NO_WAIT is not set # CONFIG_SYSTEM_CLOCK_WAIT_FOR_AVAILABILITY is not set CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y # CONFIG_SYSTEM_CLOCK_DISABLE is not set # CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME is not set # CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE is not set CONFIG_SYSTEM_CLOCK_INIT_PRIORITY=0 CONFIG_TICKLESS_CAPABLE=y # end of Timer Drivers CONFIG_ENTROPY_GENERATOR=y CONFIG_ENTROPY_NRF5_RNG=y CONFIG_ENTROPY_NRF5_BIAS_CORRECTION=y CONFIG_ENTROPY_NRF5_THR_POOL_SIZE=8 CONFIG_ENTROPY_NRF5_THR_THRESHOLD=4 CONFIG_ENTROPY_NRF5_ISR_POOL_SIZE=16 CONFIG_ENTROPY_NRF5_ISR_THRESHOLD=12 CONFIG_ENTROPY_HAS_DRIVER=y # CONFIG_PCIE is not set # CONFIG_PCIE_ENDPOINT is not set # CONFIG_GPIO_SHELL is not set # CONFIG_GPIO_DW is not set # CONFIG_GPIO_PCA95XX is not set CONFIG_GPIO_NRFX=y CONFIG_GPIO_NRF_INIT_PRIORITY=40 CONFIG_GPIO_NRF_P0=y # CONFIG_GPIO_SX1509B is not set # CONFIG_GPIO_INTEL_APL is not set # CONFIG_GPIO_XLNX_AXI is not set # CONFIG_SHARED_IRQ is not set # CONFIG_I2C_SLAVE is not set # CONFIG_I2C_GPIO is not set CONFIG_I2C_NRFX=y CONFIG_I2C_0_NRF_TWI=y CONFIG_I2C_1_NRF_TWI=y # CONFIG_I2C_EMUL is not set # CONFIG_I2C_SBCON is not set # CONFIG_I2C_STM32 is not set CONFIG_I2C_INIT_PRIORITY=60 CONFIG_I2C_0=y # CONFIG_I2C_1 is not set # CONFIG_I2C_2 is not set # CONFIG_I2C_3 is not set # CONFIG_I2C_4 is not set # CONFIG_I2C_5 is not set # CONFIG_I2C_6 is not set # CONFIG_I2C_7 is not set # CONFIG_I2S is not set # CONFIG_PWM is not set # CONFIG_PINMUX is not set CONFIG_ADC=y CONFIG_ADC_CONFIGURABLE_INPUTS=y CONFIG_ADC_ASYNC=y CONFIG_ADC_NRFX_SAADC=y # CONFIG_DAC is not set CONFIG_CLOCK_CONTROL_NRF=y # CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC is not set CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y # CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_LOW_SWING is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_FULL_SWING is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_150PPM is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_100PPM is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_75PPM is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_50PPM is not set # CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM is not set CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM=y # CONFIG_PTP_CLOCK is not set # CONFIG_IPM is not set # CONFIG_FLASH is not set CONFIG_SENSOR=y CONFIG_SENSOR_INIT_PRIORITY=90 # # Device Drivers # # CONFIG_ADT7420 is not set # CONFIG_ADXL345 is not set # CONFIG_ADXL372 is not set # CONFIG_AK8975 is not set # CONFIG_AMG88XX is not set # CONFIG_AMS_IAQ_CORE is not set # CONFIG_APDS9960 is not set # CONFIG_BMA280 is not set # CONFIG_BMC150_MAGN is not set CONFIG_BME280=y # CONFIG_BME280_MODE_NORMAL is not set CONFIG_BME280_MODE_FORCED=y CONFIG_BME280_TEMP_OVER_1X=y # CONFIG_BME280_TEMP_OVER_2X is not set # CONFIG_BME280_TEMP_OVER_4X is not set # CONFIG_BME280_TEMP_OVER_8X is not set # CONFIG_BME280_TEMP_OVER_16X is not set CONFIG_BME280_PRESS_OVER_1X=y # CONFIG_BME280_PRESS_OVER_2X is not set # CONFIG_BME280_PRESS_OVER_4X is not set # CONFIG_BME280_PRESS_OVER_8X is not set # CONFIG_BME280_PRESS_OVER_16X is not set CONFIG_BME280_HUMIDITY_OVER_1X=y # CONFIG_BME280_HUMIDITY_OVER_2X is not set # CONFIG_BME280_HUMIDITY_OVER_4X is not set # CONFIG_BME280_HUMIDITY_OVER_8X is not set # CONFIG_BME280_HUMIDITY_OVER_16X is not set # CONFIG_BME280_STANDBY_05MS is not set # CONFIG_BME280_STANDBY_62MS is not set # CONFIG_BME280_STANDBY_125MS is not set # CONFIG_BME280_STANDBY_250MS is not set # CONFIG_BME280_STANDBY_500MS is not set # CONFIG_BME280_STANDBY_1000MS is not set # CONFIG_BME280_STANDBY_2000MS is not set CONFIG_BME280_STANDBY_4000MS=y CONFIG_BME280_FILTER_OFF=y # CONFIG_BME280_FILTER_2 is not set # CONFIG_BME280_FILTER_4 is not set # CONFIG_BME280_FILTER_8 is not set # CONFIG_BME280_FILTER_16 is not set CONFIG_BME680=y CONFIG_BME680_TEMP_OVER_1X=y # CONFIG_BME680_TEMP_OVER_2X is not set # CONFIG_BME680_TEMP_OVER_4X is not set # CONFIG_BME680_TEMP_OVER_8X is not set # CONFIG_BME680_TEMP_OVER_16X is not set CONFIG_BME680_PRESS_OVER_1X=y # CONFIG_BME680_PRESS_OVER_2X is not set # CONFIG_BME680_PRESS_OVER_4X is not set # CONFIG_BME680_PRESS_OVER_8X is not set # CONFIG_BME680_PRESS_OVER_16X is not set CONFIG_BME680_HUMIDITY_OVER_1X=y # CONFIG_BME680_HUMIDITY_OVER_2X is not set # CONFIG_BME680_HUMIDITY_OVER_4X is not set # CONFIG_BME680_HUMIDITY_OVER_8X is not set # CONFIG_BME680_HUMIDITY_OVER_16X is not set CONFIG_BME680_FILTER_OFF=y # CONFIG_BME680_FILTER_2 is not set # CONFIG_BME680_FILTER_4 is not set # CONFIG_BME680_FILTER_8 is not set # CONFIG_BME680_FILTER_16 is not set # CONFIG_BME680_FILTER_32 is not set # CONFIG_BME680_FILTER_64 is not set # CONFIG_BME680_FILTER_128 is not set CONFIG_BME680_HEATR_TEMP_LP=y # CONFIG_BME680_HEATR_TEMP_ULP is not set CONFIG_BME680_HEATR_DUR_LP=y # CONFIG_BME680_HEATR_DUR_ULP is not set # CONFIG_BMG160 is not set # CONFIG_BMM150 is not set # CONFIG_BQ274XX is not set CONFIG_CCS811=y # CONFIG_CCS811_DRIVE_MODE_0 is not set CONFIG_CCS811_DRIVE_MODE_1=y # CONFIG_CCS811_DRIVE_MODE_2 is not set # CONFIG_CCS811_DRIVE_MODE_3 is not set # CONFIG_CCS811_DRIVE_MODE_4 is not set CONFIG_CCS811_TRIGGER_NONE=y # CONFIG_CCS811_TRIGGER_GLOBAL_THREAD is not set # CONFIG_CCS811_TRIGGER_OWN_THREAD is not set # CONFIG_DHT is not set # CONFIG_DPS310 is not set # CONFIG_ENS210 is not set # CONFIG_FXAS21002 is not set # CONFIG_FXOS8700 is not set # CONFIG_TI_HDC is not set # CONFIG_HMC5883L is not set # CONFIG_HP206C is not set # CONFIG_HTS221 is not set # CONFIG_IIS2DH is not set # CONFIG_IIS2DLPC is not set # CONFIG_IIS2MDC is not set # CONFIG_ISL29035 is not set # CONFIG_ISM330DHCX is not set # CONFIG_LIS2DH is not set # CONFIG_LIS2DS12 is not set # CONFIG_LIS2DW12 is not set # CONFIG_LIS2MDL is not set # CONFIG_LIS3MDL is not set # CONFIG_LPS22HB is not set # CONFIG_LPS22HH is not set # CONFIG_LPS25HB is not set # CONFIG_LSM303DLHC_MAGN is not set # CONFIG_LSM6DS0 is not set # CONFIG_LSM6DSL is not set # CONFIG_LSM6DSO is not set # CONFIG_LSM9DS0_GYRO is not set # CONFIG_LSM9DS0_MFD is not set # CONFIG_MAX17055 is not set # CONFIG_MAX30101 is not set # CONFIG_MAX44009 is not set # CONFIG_MCP9808 is not set # CONFIG_MPR is not set # CONFIG_MPU6050 is not set # CONFIG_MS5837 is not set # CONFIG_TEMP_NRF5 is not set # CONFIG_OPT3001 is not set # CONFIG_QDEC_NRFX is not set # CONFIG_SHT3XD is not set # CONFIG_SI7006 is not set # CONFIG_SI7055 is not set # CONFIG_SI7060 is not set # CONFIG_SM351LT is not set # CONFIG_STTS751 is not set # CONFIG_SX9500 is not set # CONFIG_TH02 is not set # CONFIG_TMP007 is not set # CONFIG_TMP112 is not set # CONFIG_TMP116 is not set # CONFIG_VCNL4040 is not set # CONFIG_VL53L0X is not set # CONFIG_ITDS is not set # CONFIG_COUNTER is not set # CONFIG_DMA is not set # CONFIG_USB is not set # CONFIG_CRYPTO is not set # CONFIG_DISPLAY is not set # CONFIG_LED_STRIP is not set # CONFIG_LED is not set # CONFIG_CAN is not set # CONFIG_AUDIO is not set # CONFIG_NEURAL_NET_ACCEL is not set # CONFIG_HWINFO is not set # CONFIG_ESPI is not set # CONFIG_PS2 is not set # CONFIG_VIDEO is not set # CONFIG_EEPROM is not set # CONFIG_PECI is not set # CONFIG_PECI_INTERRUPT_DRIVEN is not set # end of Device Drivers # # C Library # CONFIG_MINIMAL_LIBC=y # CONFIG_NEWLIB_LIBC is not set # CONFIG_EXTERNAL_LIBC is not set CONFIG_HAS_NEWLIB_LIBC_NANO=y CONFIG_MINIMAL_LIBC_MALLOC=y CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=0 CONFIG_MINIMAL_LIBC_CALLOC=y CONFIG_MINIMAL_LIBC_REALLOCARRAY=y # CONFIG_MINIMAL_LIBC_LL_PRINTF is not set # end of C Library # # Additional libraries # # CONFIG_FNMATCH is not set # CONFIG_LVGL is not set # # OS Support Library # # CONFIG_JSON_LIBRARY is not set # CONFIG_RING_BUFFER is not set # CONFIG_BASE64 is not set # CONFIG_SYS_HEAP_VALIDATE is not set CONFIG_SYS_HEAP_ALLOC_LOOPS=3 CONFIG_PRINTK64=y # CONFIG_PRINTK_SYNC is not set # end of OS Support Library CONFIG_POSIX_MAX_FDS=4 # CONFIG_POSIX_API is not set # CONFIG_PTHREAD_IPC is not set # CONFIG_POSIX_CLOCK is not set CONFIG_MAX_TIMER_COUNT=5 # CONFIG_POSIX_MQUEUE is not set # CONFIG_EVENTFD is not set # CONFIG_OPENAMP_RSC_TABLE is not set # end of Additional libraries # # Sub Systems and OS Services # CONFIG_BT=y CONFIG_BT_HCI=y # CONFIG_BT_CUSTOM is not set # CONFIG_BT_HCI_RAW is not set # CONFIG_BT_HCI_RAW_H4 is not set # CONFIG_BT_HCI_RAW_CMD_EXT is not set # CONFIG_BT_PERIPHERAL is not set # CONFIG_BT_CENTRAL is not set # # Broadcaster # CONFIG_BT_BROADCASTER=y # end of Broadcaster # CONFIG_BT_EXT_ADV is not set # # Observer # # CONFIG_BT_OBSERVER is not set # end of Observer CONFIG_BT_HAS_HCI_VS=y CONFIG_BT_HCI_VS=y # CONFIG_BT_WAIT_NOP is not set CONFIG_BT_ASSERT=y CONFIG_BT_ASSERT_VERBOSE=y # CONFIG_BT_ASSERT_PANIC is not set CONFIG_BT_DEBUG_NONE=y # CONFIG_BT_DEBUG_LOG is not set # CONFIG_BT_DEBUG_MONITOR is not set # # Host Stack Configuration # CONFIG_BT_HCI_HOST=y CONFIG_BT_HCI_CMD_COUNT=2 CONFIG_BT_RX_BUF_COUNT=3 CONFIG_BT_RX_BUF_LEN=76 CONFIG_BT_DISCARDABLE_BUF_COUNT=3 CONFIG_BT_DISCARDABLE_BUF_SIZE=45 CONFIG_BT_HCI_TX_STACK_SIZE=640 # CONFIG_BT_HCI_TX_STACK_SIZE_WITH_PROMPT is not set CONFIG_BT_HCI_ECC_STACK_SIZE=1100 CONFIG_BT_HCI_TX_PRIO=7 CONFIG_BT_HCI_RESERVE=0 CONFIG_BT_RECV_IS_RX_THREAD=y CONFIG_BT_RX_STACK_SIZE=1024 CONFIG_BT_RX_PRIO=8 CONFIG_BT_DRIVER_RX_HIGH_PRIO=6 # CONFIG_BT_AUDIO is not set # CONFIG_BT_WHITELIST is not set # CONFIG_BT_DEVICE_NAME_DYNAMIC is not set CONFIG_BT_DEVICE_NAME="Zephyr" CONFIG_BT_DEVICE_APPEARANCE=0 CONFIG_BT_ID_MAX=1 # CONFIG_BT_ECC is not set # CONFIG_BT_HOST_CCM is not set # CONFIG_BT_TESTING is not set # CONFIG_BT_BREDR is not set # CONFIG_BT_HCI_VS_EVT_USER is not set # # BLE Controller support # CONFIG_BT_CTLR_LE_ENC_SUPPORT=y CONFIG_BT_CTLR_CONN_PARAM_REQ_SUPPORT=y CONFIG_BT_CTLR_EXT_REJ_IND_SUPPORT=y CONFIG_BT_CTLR_SLAVE_FEAT_REQ_SUPPORT=y CONFIG_BT_CTLR_DATA_LEN_UPDATE_SUPPORT=y CONFIG_BT_CTLR_PRIVACY_SUPPORT=y CONFIG_BT_CTLR_EXT_SCAN_FP_SUPPORT=y CONFIG_BT_CTLR_PHY_UPDATE_SUPPORT=y CONFIG_BT_CTLR_PHY_2M_SUPPORT=y CONFIG_BT_CTLR_ADV_EXT_SUPPORT=y CONFIG_BT_CTLR_ADV_PERIODIC_SUPPORT=y CONFIG_BT_CTLR_CHAN_SEL_2_SUPPORT=y CONFIG_BT_CTLR_MIN_USED_CHAN_SUPPORT=y CONFIG_BT_CTLR_DTM_HCI_SUPPORT=y CONFIG_BT_CTLR_CONN_RSSI_SUPPORT=y CONFIG_BT_LL_SW_SPLIT=y # # BLE Controller configuration # CONFIG_BT_CTLR_CRYPTO=y CONFIG_BT_CTLR_HCI_VS_BUILD_INFO="" CONFIG_BT_CTLR_RX_BUFFERS=1 CONFIG_BT_CTLR_TX_BUFFERS=3 CONFIG_BT_CTLR_TX_BUFFER_SIZE=27 # CONFIG_BT_CTLR_TX_PWR_PLUS_4 is not set # CONFIG_BT_CTLR_TX_PWR_PLUS_3 is not set CONFIG_BT_CTLR_TX_PWR_0=y # CONFIG_BT_CTLR_TX_PWR_MINUS_4 is not set # CONFIG_BT_CTLR_TX_PWR_MINUS_8 is not set # CONFIG_BT_CTLR_TX_PWR_MINUS_12 is not set # CONFIG_BT_CTLR_TX_PWR_MINUS_16 is not set # CONFIG_BT_CTLR_TX_PWR_MINUS_20 is not set # CONFIG_BT_CTLR_TX_PWR_MINUS_40 is not set # CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL is not set # # BLE Controller features # # CONFIG_BT_CTLR_ADV_EXT is not set # CONFIG_BT_CTLR_DTM_HCI is not set CONFIG_BT_LLL_VENDOR_NORDIC=y CONFIG_BT_CTLR_XTAL_ADVANCED_SUPPORT=y CONFIG_BT_CTLR_SCHED_ADVANCED_SUPPORT=y CONFIG_BT_CTLR_TIFS_HW_SUPPORT=y CONFIG_BT_CTLR_RX_PRIO_STACK_SIZE=448 CONFIG_BT_CTLR_COMPANY_ID=0x05F1 CONFIG_BT_CTLR_SUBVERSION_NUMBER=0xFFFF # CONFIG_BT_CTLR_ADVANCED_FEATURES is not set CONFIG_BT_CTLR_FILTER=y CONFIG_BT_CTLR_XTAL_ADVANCED=y CONFIG_BT_CTLR_XTAL_THRESHOLD=1500 CONFIG_BT_CTLR_SCHED_ADVANCED=y CONFIG_BT_CTLR_LLL_PRIO=0 CONFIG_BT_CTLR_ULL_HIGH_PRIO=0 CONFIG_BT_CTLR_ULL_LOW_PRIO=0 CONFIG_BT_CTLR_RADIO_ENABLE_FAST=y CONFIG_BT_MAYFLY_YIELD_AFTER_CALL=y CONFIG_BT_TICKER_EXT=y # # BLE Controller hardware configuration # # CONFIG_BT_CTLR_GPIO_PA is not set # CONFIG_BT_CTLR_GPIO_LNA is not set # # BLE Controller debug configuration # # CONFIG_BT_CTLR_PROFILE_ISR is not set # CONFIG_BT_CTLR_ASSERT_HANDLER is not set # CONFIG_BT_SHELL is not set CONFIG_BT_COMPANY_ID=0x05F1 # # Controller Area Network (CAN) bus subsystem # # CONFIG_ISOTP is not set # end of Controller Area Network (CAN) bus subsystem # CONFIG_CONSOLE_SUBSYS is not set # CONFIG_CPLUSPLUS is not set # # System Monitoring Options # # CONFIG_BOOT_TIME_MEASUREMENT is not set # CONFIG_THREAD_ANALYZER is not set # end of System Monitoring Options # # Debugging Options # # CONFIG_DEBUG is not set # CONFIG_STACK_USAGE is not set # CONFIG_STACK_SENTINEL is not set # CONFIG_PRINTK is not set # CONFIG_EARLY_CONSOLE is not set CONFIG_ASSERT=y CONFIG_ASSERT_LEVEL=2 CONFIG_SPIN_VALIDATE=y # CONFIG_FORCE_NO_ASSERT is not set CONFIG_ASSERT_VERBOSE=y # CONFIG_ASSERT_NO_FILE_INFO is not set # CONFIG_ASSERT_NO_COND_INFO is not set # CONFIG_ASSERT_NO_MSG_INFO is not set # CONFIG_OBJECT_TRACING is not set # CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT is not set # CONFIG_DEBUG_INFO is not set # CONFIG_OPENOCD_SUPPORT is not set # CONFIG_DEBUG_COREDUMP is not set # end of Debugging Options # CONFIG_DISK_ACCESS is not set # CONFIG_EMUL is not set # CONFIG_CHARACTER_FRAMEBUFFER is not set # # File Systems # # CONFIG_FILE_SYSTEM is not set # CONFIG_NVS is not set # end of File Systems # CONFIG_JWT is not set # CONFIG_LOG is not set # # Device Management # # # Host command handler subsystem # # CONFIG_EC_HOST_CMD is not set # end of Host command handler subsystem # CONFIG_MCUMGR is not set # CONFIG_HAWKBIT is not set # CONFIG_UPDATEHUB is not set # CONFIG_OSDP is not set # end of Device Management # # Networking # CONFIG_NET_BUF=y CONFIG_NET_BUF_USER_DATA_SIZE=4 # CONFIG_NET_BUF_LOG is not set # CONFIG_NET_BUF_POOL_USAGE is not set # CONFIG_NETWORKING is not set # end of Networking # # Power Management # CONFIG_SYS_PM_STATE_LOCK=y # CONFIG_SYS_PM_DIRECT_FORCE_MODE is not set # CONFIG_SYS_PM_DEBUG is not set CONFIG_SYS_PM_POLICY_RESIDENCY=y # CONFIG_SYS_PM_POLICY_DUMMY is not set # CONFIG_SYS_PM_POLICY_APP is not set CONFIG_SYS_PM_POLICY_RESIDENCY_DEFAULT=y CONFIG_SYS_PM_MIN_RESIDENCY_DEEP_SLEEP_1=60000 # end of Power Management # CONFIG_SHELL is not set # CONFIG_STATS is not set # CONFIG_IMG_MANAGER is not set # # Random Number Generators # CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR=y # CONFIG_XOROSHIRO_RANDOM_GENERATOR is not set CONFIG_CSPRING_ENABLED=y CONFIG_HARDWARE_DEVICE_CS_GENERATOR=y # end of Random Number Generators # # Storage # # CONFIG_STREAM_FLASH is not set # end of Storage # CONFIG_SETTINGS is not set # # Testing # # CONFIG_ZTEST is not set # CONFIG_ZTEST_MOCKING is not set # CONFIG_TEST is not set # CONFIG_TEST_USERSPACE is not set CONFIG_TEST_ARM_CORTEX_M=y # end of Testing # CONFIG_TIMING_FUNCTIONS is not set # CONFIG_TRACING is not set # end of Sub Systems and OS Services CONFIG_TOOLCHAIN_GNUARMEMB=y # # Build and Link Features # # # Linker Options # # CONFIG_LINKER_ORPHAN_SECTION_PLACE is not set CONFIG_LINKER_ORPHAN_SECTION_WARN=y # CONFIG_LINKER_ORPHAN_SECTION_ERROR is not set # CONFIG_CODE_DATA_RELOCATION is not set CONFIG_HAS_FLASH_LOAD_OFFSET=y # CONFIG_USE_DT_CODE_PARTITION is not set CONFIG_FLASH_LOAD_OFFSET=0 CONFIG_FLASH_LOAD_SIZE=0 # CONFIG_HAVE_CUSTOM_LINKER_SCRIPT is not set CONFIG_KERNEL_ENTRY="__start" CONFIG_LINKER_SORT_BY_ALIGNMENT=y # end of Linker Options # # Compiler Options # # CONFIG_CODING_GUIDELINE_CHECK is not set # CONFIG_NATIVE_APPLICATION is not set CONFIG_SIZE_OPTIMIZATIONS=y # CONFIG_SPEED_OPTIMIZATIONS is not set # CONFIG_DEBUG_OPTIMIZATIONS is not set # CONFIG_NO_OPTIMIZATIONS is not set CONFIG_COMPILER_OPT="" # end of Compiler Options # CONFIG_ASSERT_ON_ERRORS is not set # CONFIG_NO_RUNTIME_CHECKS is not set CONFIG_RUNTIME_ERROR_CHECKS=y # # Build Options # CONFIG_KERNEL_BIN_NAME="zephyr" CONFIG_OUTPUT_STAT=y CONFIG_OUTPUT_DISASSEMBLY=y # CONFIG_OUTPUT_DISASSEMBLE_ALL is not set CONFIG_OUTPUT_PRINT_MEMORY_USAGE=y # CONFIG_BUILD_NO_GAP_FILL is not set CONFIG_BUILD_OUTPUT_BIN=y # CONFIG_BUILD_OUTPUT_EXE is not set # CONFIG_BUILD_OUTPUT_S19 is not set # CONFIG_BUILD_OUTPUT_STRIPPED is not set # CONFIG_APPLICATION_DEFINED_SYSCALL is not set # CONFIG_MAKEFILE_EXPORTS is not set # CONFIG_LEGACY_DEVICETREE_MACROS is not set # CONFIG_DEPRECATED_ZEPHYR_INT_TYPES is not set # end of Build Options # end of Build and Link Features # # Boot Options # # CONFIG_IS_BOOTLOADER is not set # CONFIG_BOOTLOADER_MCUBOOT is not set # CONFIG_REBOOT is not set # CONFIG_MISRA_SANE is not set # end of Boot Options # # Compatibility # CONFIG_COMPAT_INCLUDES=y # end of Compatibility ```

I am using BME680

pabigot commented 3 years ago

Based on the config UART is disabled. It sounds like you're measuring the power consumption of the entire board, which would include any circuitry on the E73 module plus whatever it's connected to (BME680, LEDs, any other current drains). I don't have any other advice.

tcpipchip commented 3 years ago

@pabigot

The e73 is not connected to nothing now! And i am getting 100uA! Just running BLE Advertising...

The only very strange stuff was that i had to disable the DC-DC to make the e73 runs my app. Is that a problem ?

I am using a CR coin battery connected to e73 vcc

No problem to me send for now my project for you see inconsistences!

https://github.com/tcpipchip/bmezephyrforced

tcpipchip commented 3 years ago

Please Send me a low energy example that really compiles! Thank you!

nordic-krch commented 3 years ago

I think that you need to disable uart in device tree, too. Add overlay like this:


&uart0 {
    status = "disabled"
};
pabigot commented 3 years ago

I wouldn't expect devicetree to have any effect since the uploaded config shows all UART drivers are disabled.

@tcpipchip Please test energy use with the Nordic system-off demo. You should be able to measure multiple power levels, including one where everything associated with the MCU is disabled except the ability to restart on a button press. If in that mode you still see current draw over, say, 10 uA, then it's your board, or failure to configure certain pins to avoid current drain.

Please follow up with measurements of power consumption in each of the two active levels, the long sleep, and the deep sleep.

tcpipchip commented 3 years ago

Hi team

Thanks for all support that i got here!

you are the best

Well, something is Wrong on E73 that i dont know! DCC,DCC1, DC-DC

i aborted

I will use the SDK 16 (NORDIC) on a CHINESE beacon that i got!

Thanks again!

I lost 80 hrs without success!

tcpipchip commented 3 years ago

I back to the ZEPHYR, now with U-BLOX NINA B112.

Now is working nice :)