This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Internal driver Error related to the BME280 on NRF5340

Hello,
i hope you're doing well 

i'm using NRF5340 kit and trying to display ( H,T,P) values with the BME280 sensor 
but i'm getting this error 

i'm recently having an issue with the display of the values of the BME280
well it's displaying this error when the sensor is connected to the Kit

and it's displaying this error with the other address when it's not connected

Knowing that : 

0x0BAD0001 means "Internal Error" in the I2C driver.

0x0BAE0001 means "Address not acknowledged" in the I2C driver.
and doubting that the issue may be with how the sensor is wired to the board, or setup in some way, causing an error in the driver.


for me i did the wiring like this 

P1.02 to SDI
P1.03 to SCK
GND to SDO
GND to GND
Vin 3-5v to VIN

is there a pre-config to do or some settings to fix before running the sensor ?

can you please help me with the wiring 
if you already tried the sensor, how did it go with you please ?
can you help me please 
i would be very grateful

thank you in advance

Parents
  • i managed to get out of the driver internal error that i had
    but for now i'm getting this output .it's looking for the device but every time it says that there's no device found
    i put you the output below

    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    Flash regionsDomainPermissions
    00 03 0x00000 0x10000 Securerwxl
    04 63 0x10000 0x100000 Non-Securerwxl
    
    Non-secure callable region 0 placed in flash region 2 with size 32.
    
    SRAM regionDomainPermissions
    00 03 0x00000 0x08000 Securerwxl
    04 63 0x08000 0x80000 Non-Securerwxl
    
    PeripheralDomainStatus
    00 NRF_P0               Non-SecureOK
    01 NRF_CLOCK            Non-SecureOK
    02 NRF_RTC0             Non-SecureOK
    03 NRF_RTC1             Non-SecureOK
    04 NRF_NFCT             Non-SecureOK
    05 NRF_NVMC             Non-SecureOK
    06 NRF_UARTE1           Non-SecureOK
    07 NRF_UARTE2           SecureSKIP
    08 NRF_TWIM2            Non-SecureOK
    09 NRF_SPIM3            Non-SecureOK
    10 NRF_TIMER0           Non-SecureOK
    11 NRF_TIMER1           Non-SecureOK
    12 NRF_TIMER2           Non-SecureOK
    13 NRF_SAADC            Non-SecureOK
    14 NRF_PWM0             Non-SecureOK
    15 NRF_PWM1             Non-SecureOK
    16 NRF_PWM2             Non-SecureOK
    17 NRF_PWM3             Non-SecureOK
    18 NRF_IPC              Non-SecureOK
    19 NRF_VMC              Non-SecureOK
    20 NRF_FPU              Non-SecureOK
    21 NRF_EGU1             Non-SecureOK
    22 NRF_EGU2             Non-SecureOK
    23 NRF_DPPIC            Non-SecureOK
    24 NRF_REGULATORS       Non-SecureOK
    25 NRF_DCNF             SecureSKIP
    26 NRF_CTRLAP           SecureSKIP
    27 NRF_SPIM4            Non-SecureOK
    28 NRF_WDT0             Non-SecureOK
    29 NRF_WDT1             Non-SecureOK
    30 NRF_COMP             Non-SecureOK
    31 NRF_LPCOMP           Non-SecureOK
    32 NRF_PDM0             Non-SecureOK
    33 NRF_I2S0             Non-SecureOK
    34 NRF_QSPI             Non-SecureOK
    35 NRF_NFCT             Non-SecureOK
    36 NRF_MUTEX            Non-SecureOK
    37 NRF_QDEC0            Non-SecureOK
    38 NRF_QDEC1            Non-SecureOK
    39 NRF_USBD             Non-SecureOK
    40 NRF_USBREGULATOR     Non-SecureOK
    41 NRF_P1               Non-SecureOK
    42 NRF_OSCILLATORS      Non-SecureOK
    43 NRF_RESET            Non-SecureOK
    44 NRF_GPIOTE1          Non-SecureOK
    
    SPM: NS image at 0x10000
    SPM: NS MSP at 0x20008d00
    SPM: NS reset vector at 0x12295
    SPM: prepare to jump to Non-Secure image.
    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    Error: no device found.

    do you can help me with this please
    do you know how to make the device visible please
    i really need your help

Reply
  • i managed to get out of the driver internal error that i had
    but for now i'm getting this output .it's looking for the device but every time it says that there's no device found
    i put you the output below

    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    Flash regionsDomainPermissions
    00 03 0x00000 0x10000 Securerwxl
    04 63 0x10000 0x100000 Non-Securerwxl
    
    Non-secure callable region 0 placed in flash region 2 with size 32.
    
    SRAM regionDomainPermissions
    00 03 0x00000 0x08000 Securerwxl
    04 63 0x08000 0x80000 Non-Securerwxl
    
    PeripheralDomainStatus
    00 NRF_P0               Non-SecureOK
    01 NRF_CLOCK            Non-SecureOK
    02 NRF_RTC0             Non-SecureOK
    03 NRF_RTC1             Non-SecureOK
    04 NRF_NFCT             Non-SecureOK
    05 NRF_NVMC             Non-SecureOK
    06 NRF_UARTE1           Non-SecureOK
    07 NRF_UARTE2           SecureSKIP
    08 NRF_TWIM2            Non-SecureOK
    09 NRF_SPIM3            Non-SecureOK
    10 NRF_TIMER0           Non-SecureOK
    11 NRF_TIMER1           Non-SecureOK
    12 NRF_TIMER2           Non-SecureOK
    13 NRF_SAADC            Non-SecureOK
    14 NRF_PWM0             Non-SecureOK
    15 NRF_PWM1             Non-SecureOK
    16 NRF_PWM2             Non-SecureOK
    17 NRF_PWM3             Non-SecureOK
    18 NRF_IPC              Non-SecureOK
    19 NRF_VMC              Non-SecureOK
    20 NRF_FPU              Non-SecureOK
    21 NRF_EGU1             Non-SecureOK
    22 NRF_EGU2             Non-SecureOK
    23 NRF_DPPIC            Non-SecureOK
    24 NRF_REGULATORS       Non-SecureOK
    25 NRF_DCNF             SecureSKIP
    26 NRF_CTRLAP           SecureSKIP
    27 NRF_SPIM4            Non-SecureOK
    28 NRF_WDT0             Non-SecureOK
    29 NRF_WDT1             Non-SecureOK
    30 NRF_COMP             Non-SecureOK
    31 NRF_LPCOMP           Non-SecureOK
    32 NRF_PDM0             Non-SecureOK
    33 NRF_I2S0             Non-SecureOK
    34 NRF_QSPI             Non-SecureOK
    35 NRF_NFCT             Non-SecureOK
    36 NRF_MUTEX            Non-SecureOK
    37 NRF_QDEC0            Non-SecureOK
    38 NRF_QDEC1            Non-SecureOK
    39 NRF_USBD             Non-SecureOK
    40 NRF_USBREGULATOR     Non-SecureOK
    41 NRF_P1               Non-SecureOK
    42 NRF_OSCILLATORS      Non-SecureOK
    43 NRF_RESET            Non-SecureOK
    44 NRF_GPIOTE1          Non-SecureOK
    
    SPM: NS image at 0x10000
    SPM: NS MSP at 0x20008d00
    SPM: NS reset vector at 0x12295
    SPM: prepare to jump to Non-Secure image.
    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    Error: no device found.

    do you can help me with this please
    do you know how to make the device visible please
    i really need your help

Children
Related