Need to get nRF 9151 UART <=> IOT to work

hello,

I have nRF9151 and would like to connect UART1  (Rx PO.28 & Tx PO.29) to an external IOT device.  it only supports the Tx/Rx port. There is HW control.

My goal is to send one character 'A' on the port and then receive 2 characters. i can't make it to work. I followed the instructions to configure the device but not able to make it work!

Attached provide the configuration of application with simply loop at the to do the actual Tx/Tx and would greatly appreciate any help to make this work for me.

Thanks for your help in advance.

regards

Ramizblinky-UART.zip

Parents Reply
  • I tried building the sample you uploaded and got a build error because the uart1 node is disabled. It is disabled by default since it is used by for logging by the TF-M image. If you want to use this uart instance in your application, you should first disable UART logging in TF-M by adding CONFIG_TFM_SECURE_UART=n and CONFIG_TFM_LOG_LEVEL_SILENCE=y to your project configuration (prj.conf), then create a devicetree overlay to change the status to "okay":

    &uart1 {
        status = "okay";
    };

Children
No Data
Related