I'm using an application based on the MQTT_CLIENT example. Without any change, it worked fine.
Now I tried to add UART2 as a communication channel to another controller.
Following is my added code:
and in main() function:
Any idea?
10x, Uri.
I'm using an application based on the MQTT_CLIENT example. Without any change, it worked fine.
Now I tried to add UART2 as a communication channel to another controller.
Following is my added code:
and in main() function:
Any idea?
10x, Uri.
Hi,
What are the errors/behavior you're seeing?
Try enabling "uart2" in DTS, by adding a overlay file (should be located in the "boards" folder of your application, create the folder if not already present):
&uart2 {
status = "okay";
};
For the DK, the filename and path should be:
boards/nrf9160dk_nrf9160_ns.overlay
Kind regards,
Håkon
Hi,
What are the errors/behavior you're seeing?
Try enabling "uart2" in DTS, by adding a overlay file (should be located in the "boards" folder of your application, create the folder if not already present):
&uart2 {
status = "okay";
};
For the DK, the filename and path should be:
boards/nrf9160dk_nrf9160_ns.overlay
Kind regards,
Håkon