[riot-commits] [RIOT-OS/RIOT] 00a074: kinetis: Add support for LPUART module in parallel...

Martine Lenders authmillenon at gmail.com
Wed Nov 8 01:07:00 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 00a0740fcc1f3394f0525be40c2639af3b717808
      https://github.com/RIOT-OS/RIOT/commit/00a0740fcc1f3394f0525be40c2639af3b717808
  Author: Joakim NohlgÄrd <joakim.nohlgard at eistec.se>
  Date:   2017-11-07 (Tue, 07 Nov 2017)

  Changed paths:
    M boards/frdm-k22f/include/periph_conf.h
    M boards/frdm-k64f/include/periph_conf.h
    M boards/mulle/include/periph_conf.h
    M boards/pba-d-01-kw2x/include/periph_conf.h
    M cpu/kinetis_common/include/periph_cpu.h
    M cpu/kinetis_common/periph/uart.c

  Log Message:
  -----------
  kinetis: Add support for LPUART module in parallel with UART module

A dispatcher function is implemented for directing writes to the correct
function. The dispatcher is bypassed completely if the CPU only contain
one kind of UART module.

There are at least two different UART hardware modules deployed in
different Kinetis CPU families (or possibly three or more when counting
variations of the UART module). The UART module is an older 8 bit module
with advanced functionality, while the LPUART is a 32 bit module with
focus on low power consumption.

 - The older families in the K series all have UART modules.
 - The K22F family have both UART and LPUART modules in the same CPU.
 - Older L series (e.g. KL25Z) have two variations of the UART module
 - Newer L series (e.g. KL43Z) have LPUART modules, and sometimes
   UART as well.
 - Newer W series (KW41Z) have only LPUART


  Commit: 5ce13b3562207387ee8cd14b70a09205a0cabddc
      https://github.com/RIOT-OS/RIOT/commit/5ce13b3562207387ee8cd14b70a09205a0cabddc
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2017-11-08 (Wed, 08 Nov 2017)

  Changed paths:
    M boards/frdm-k22f/include/periph_conf.h
    M boards/frdm-k64f/include/periph_conf.h
    M boards/mulle/include/periph_conf.h
    M boards/pba-d-01-kw2x/include/periph_conf.h
    M cpu/kinetis_common/include/periph_cpu.h
    M cpu/kinetis_common/periph/uart.c

  Log Message:
  -----------
  Merge pull request #7362 from gebart/pr/kinetis-lpuart

kinetis: Add support for LPUART module in parallel with UART module


Compare: https://github.com/RIOT-OS/RIOT/compare/43217b92f06a...5ce13b356220


More information about the commits mailing list