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

UART implementation in light_switch_client code

I want to interface Client Sensor over UART in light_switch_client code. Can you please give me the idea,how to do it.

I am using Mesh_V4.0 and SDK 16.0

Parents Reply
  • Hi just to check UART part I am using UART code from examples\peripheral folder.To check the loopback I short default UART pins 6 to 8 and 7 to 9 and it worked.

    Now in the same code in uart_init() function I changed RX,TX,RTS,CTS to 31,30,29,28 and short RX toTX and RTS to CTS but I am not  getting any loopback data now.

     I can not use 28,29,30,31 (P0) for uart functionality ? I also tried with 18,19,20,21 but it did not happen.

    Please help 

Children
Related