[riot-notifications] [RIOT-OS/RIOT] cpu/esp32: add the new API function uart_mode to periph/uart (#11231)

MrKevinWeiss notifications at github.com
Thu Mar 28 14:29:32 CET 2019


> What exactly is the issue? It worked for me.

No difference between 1 stop bit and 2 stop bits, it appears that the second stop bit is not being sent (always just one stop bit).  Also in the code it appears you are assigning the same thing if you set stop bits to 1 or 2.
```c
case UART_STOP_BITS_1:
    _uarts[uart].regs->conf0.stop_bit_num = 1;
    _uarts[uart].regs->rs485_conf.dl1_en = 1;
    break;
case UART_STOP_BITS_2:
    _uarts[uart].regs->conf0.stop_bit_num = 1;
    _uarts[uart].regs->rs485_conf.dl1_en = 1;
    break;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11231#issuecomment-477594968
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190328/8ccc4192/attachment-0001.html>


More information about the notifications mailing list