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
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
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
Hi will you please respond for my 2nd query
Sachin said: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.
You should be able to use these pins for UART. I also noticed another case which is the same as one, I suggest you have a look at that thread.
Also regarding the pins, sorry to confuse you but you should be able to use the pins 5,6,7,8 also.