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

nRF9160 serial communication with UART

Hi! 

I want to send and receive data over UART from an external microcontroller, but without using the VCOM ports. The main goal is to send sensor data from an external microcontroller to the nRF9160 DK and then use the MQTT protocol to publish the data. In my project i can only connect the nRF9160 to a power supply with a flashed program, so it wont be connected to a computer. 

So far, i have only managed to route the UART port to the Arduino I/O pins, but this is trough the VCOM port. I have tried the method described in the link  https://devzone.nordicsemi.com/f/nordic-q-a/47076/nrf9160-cannot-enable-uarte2, but it dosent seem to work.

Is there a way of using UART without being connected to a VCOM port? 

Kind Regards,

Ivar

 

Parents
  • I use UART communication between 52840 DK board and 9160 DK board, and I find a problem here. I output 9 bytes of data from the 52840 development board, but the 9160 development board can only receive 8 bytes of data. When I connect to PC with UART cable, we can see that 52840 actually outputs 9 bytes. Why can my 9160 only accept 8 bytes of data at a time?

Reply
  • I use UART communication between 52840 DK board and 9160 DK board, and I find a problem here. I output 9 bytes of data from the 52840 development board, but the 9160 development board can only receive 8 bytes of data. When I connect to PC with UART cable, we can see that 52840 actually outputs 9 bytes. Why can my 9160 only accept 8 bytes of data at a time?

Children
Related