[riot-commits] [RIOT-OS/RIOT] ac1d1f: cpu/stm32_common: enable/disable uart peripheral

Alexandre Abadie noreply at github.com
Tue Sep 10 10:25:47 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ac1d1ffda2f67c42fd0621bc8236f7e6083933e8
      https://github.com/RIOT-OS/RIOT/commit/ac1d1ffda2f67c42fd0621bc8236f7e6083933e8
  Author: Toon Stegen <tstegen at nalys-group.com>
  Date:   2019-08-27 (Tue, 27 Aug 2019)

  Changed paths:
    M cpu/stm32_common/periph/uart.c

  Log Message:
  -----------
  cpu/stm32_common: enable/disable uart peripheral

in uart_poweroff the peripheral should be disabled through the register
instead of just disabling the peripheral clock. In uart_poweron the
peripheral should be enabled after enabling the clock.

Not explicitely disabling the peripheral causes some bad signals on the
uart line sometimes.


  Commit: 3f74a8a7b4457fa0978f6b0ca7e9481aa302545c
      https://github.com/RIOT-OS/RIOT/commit/3f74a8a7b4457fa0978f6b0ca7e9481aa302545c
  Author: Toon Stegen <tstegen at nalys-group.com>
  Date:   2019-08-27 (Tue, 27 Aug 2019)

  Changed paths:
    M cpu/stm32_common/periph/uart.c

  Log Message:
  -----------
  cpu/stm32_common/uart: init rts at right time

once hardware flow control is enabled, rts should only be initialized
after the uart is enabled by setting the UE flag. This is stated in the
stm32f4 errata.


  Commit: 95b61a1970a671b451ce85fff8bb31a0ea12910f
      https://github.com/RIOT-OS/RIOT/commit/95b61a1970a671b451ce85fff8bb31a0ea12910f
  Author: Toon Stegen <tstegen at nalys-group.com>
  Date:   2019-08-30 (Fri, 30 Aug 2019)

  Changed paths:
    M cpu/stm32_common/periph/uart.c

  Log Message:
  -----------
  cpu/stm32_common/uart: fix typos in rts/cts pins


  Commit: 3d8c4d52d10803a4c1fa05eab62bc94a44da2ba6
      https://github.com/RIOT-OS/RIOT/commit/3d8c4d52d10803a4c1fa05eab62bc94a44da2ba6
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-09-10 (Tue, 10 Sep 2019)

  Changed paths:
    M cpu/stm32_common/periph/uart.c

  Log Message:
  -----------
  Merge pull request #12100 from OTAkeys/pr/fix_uart_poweroff

cpu/stm32_common/uart: fix rare uart failure


Compare: https://github.com/RIOT-OS/RIOT/compare/abd1cd51b716...3d8c4d52d108


More information about the commits mailing list