nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160: LTE Sensor Gateway on Thingy:91

I am trying to fun the LTE Sensor Gateway on the Thingy:91.

The boards are missing from zephyr so I copied nrf52840_pca20035 and nrf9160_pca20035 from ncs\nrf\boards\arm.

When running samples/bluetooth/hci_uart.

The BLE and UART don't seem to be configured correctly. I get "warning: BT_CTLR_DTM_HCI" and "warning: BT_CTLR_ASSERT_HANDLER".

I created ncs\zephyr\samples\bluetooth\hci_uart\nrf52840_pca20035.overlay based on https://devzone.nordicsemi.com/f/nordic-q-a/51693/hci_uart-on-thingy-91

This still doesn't work.

Adding the lines below to nfr52840_pca20035\Kconfig.defconfig seem to fix the BLE issues? UART is not working so, I don't know if it is working.

config BT_CTLR
default BT

When running samples/nrf9160/lte_ble_gateway I get errors "warning: UART_2_NRF_UARTE" and "warning: UART_2_NRF_FLOW_CONTROL"

I see that nrf9160_pca20035ns.overlay is missing from the folder but I am not sure how to modify it. There is no status light configured. 

Help?

Parents Reply Children
  • Awesome!

    hci_uart seemed to take. I did still get a warning.

    warning: BT_UART_ON_DEV_NAME (defined at drivers/bluetooth/hci/Kconfig:74) was assigned the value
    'UART_1' but got the value ''.

    lte_ble_gateway is failing. 

    warning: BSD_LIBRARY (defined at C:/Nordic_SDK/ncs/nrf\lib\bsdlib/Kconfig:8) was assigned the value
    'y' but got the value 'n'.

    warning: AT_CMD (defined at C:/Nordic_SDK/ncs/nrf\drivers\at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols:
     - AT_HOST_LIBRARY (defined at C:/Nordic_SDK/ncs/nrf\lib\at_host/Kconfig:9), with value y, direct dependencies y (value: y)
     - LTE_LINK_CONTROL (defined at C:/Nordic_SDK/ncs/nrf\drivers\lte_link_control/Kconfig:7), with value y, direct dependencies y (value: y)

    C:/Nordic_SDK/ncs/nrf/subsys/net/lib/nrf_cloud/src/nrf_cloud_transport.c:272:3: error: #error Missing NRF_CLOUD_CLIENT_ID
      #error Missing NRF_CLOUD_CLIENT_ID
       ^~~~~
    C:/Nordic_SDK/ncs/nrf/drivers/at_cmd/at_cmd.c:12:10: fatal error: bsd_limits.h: No such file or directory
     #include <bsd_limits.h>
              ^~~~~~~~~~~~~~
    compilation terminated.
    [93/187] Building C object zephyr/modules/nordic/CMakeFile..._modules__hal__nordic.dir/nrfx/drivers/src/nrfx_twim.c.obj
    ninja: build stopped: subcommand failed.
    ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\Nordic_SDK\ncs\nrf\build'

  • Are you on v1.0.0 tag, or latest master branch ?

  • lte_ble_gateway is failing because I was not compiling as ns. 

Related