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

Thingy:91 nrf9160 to CDC UARTE0_NS comms setup

I've got a Thingy:91 plugged into my computer and can see its USB terminals (/dev/tty.usbmodem143101 and /dev/tty.usbmodem143104). I can also see the "ZEPHYR USB" volume and its contents. This indicates to me that the connectivity bridge running on the Thingy:91's nRF52840 is operational.

I'm attempting to write out to UARTE0_NS which has been configured as per the following Zephyr config:

&uart0 {
  compatible = "nordic,nrf-uarte";
  current-speed = <115200>;
  status = "okay";
  tx-pin = <18>;
  rx-pin = <19>;
  rts-pin = <20>;
  cts-pin = <21>;
};

I'm also flashing the SPM sample, which I *think* permits the use of UARTE0_NS.

My program loops on waiting for the transmission to end. Am I missing anything so far?

Thanks.

Parents Reply
  • Hi again, Christopher!

    I just tried with the same Serial LTE Modem image and it worked fine. When you say that you cannot connect via the LTE Link Monitor app, is it because you can't see the device or is there no data/messages being transmitted? 

    I also successfully connected to the Thingy using "screen" on the Mac. Did you connect to the correct tty.usbmodem device? The Thingy:91 exposes two virtual com ports and only one is for UART logging.

    Best regards,
    Carl Richard

Children
No Data
Related