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

HCI_UART on THINGY:91

Dear, 

I am trying to test BLE on the THINGY:91. 

Follow the Q&A for "Introduction to Nordic THINGY:91" webinar, Q12  of @Petter Myhre

I tried with Zephyr HCI UART example 

But, I couldn't find nrf52840_pca20035.overlay. From the schematic of THINGY:91, I created file: nrf52840_pca20035.overlay

/* SPDX-License-Identifier: Apache-2.0 */

/ {
	chosen {
		zephyr,bt-uart=&uart1;
	};
};

&uart1 {
	current-speed = <1000000>;
	status = "okay";
	tx-pin = <25>;
	rx-pin = <32>;
	rts-pin = <22>;
	cts-pin = <19>;
};

Then, 

use nRF91 DK to program for THINGY:91 (SW SELECT to nRF52) 

After programming, I couldn't find any serial port to connect to THINGY:91 anymore!!!

I tried to restart my computer and reset thingy:91, but the same problem. 

Did I do something wrong? How can I fix it?

Thanks so much 

Best Regards, 

Hoang Nguyen

Parents Reply Children
  • Thank you for uploading the code Didrik.

    I can get "samples/bluetooth/hci_uart" to compile if I copy the board folders from "ncs\nrf\boards\arm" to "ncs\zephyr\boards\arm". The BLE and uart still don't work, but it compiles.

    It does get 2 warnings:

    warning: BT_CTLR_DTM_HCI (defined at subsys/bluetooth/controller/Kconfig:365) was assigned the value
    'y' but got the value 'n'. You can check symbol information (including dependencies) in the
    'menuconfig' interface (see the Application Development Primer section of the manual), or in the
    Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_CTLR_DTM_HCI.html (which is updated
    regularly from the master branch). See the 'Setting configuration values' section of the Board
    Porting Guide as well.
    
    warning: BT_CTLR_ASSERT_HANDLER (defined at subsys/bluetooth/controller/Kconfig:758) was assigned
    the value 'y' but got the value 'n'. You can check symbol information (including dependencies) in
    the 'menuconfig' interface (see the Application Development Primer section of the manual), or in the
    Kconfig reference at
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_CTLR_ASSERT_HANDLER.html (which is
    updated regularly from the master branch). See the 'Setting Parsing Kconfig tree in C:/Nordic_SDK/ncs/zephyr/Kconfig

    Could we get the board info added to the git for Zephyr?

Related