Im trying to build 1 wire communication through UART 2.
Protocol should have two modes as seen below.
1- Receiving Mode
2- Transmitting Mode
943362WCD4 will be opened in receiving mode so UART 2 is initilizated and tx pin is switched to input as seen below.
wiced_uart_init( WICED_UART_2, &uart_config, &rx_buffer );
wiced_gpio_init( WICED_GPIO_3, INPUT_HIGH_IMPEDANCE );
It works properly, all data is received smoothly. For transmitting mode WICED_GPIO_3 pin should be reconfigured to UART2.tx, is UART2 initilization necessary ? Do you have any suggestion that switches WICED_GPIO_3 from INPUT_HIGH_IMPEDANCE to WICED_UART_2.tx ?
Solved! Go to Solution.