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.

Related