[riot-commits] [RIOT-OS/RIOT] 13e578: cpu/lpc2387: implement periph/adc

benpicco noreply at github.com
Mon Feb 10 16:13:09 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 13e578bc844e5b6ef67ea301d766894cdaa1ceb9
      https://github.com/RIOT-OS/RIOT/commit/13e578bc844e5b6ef67ea301d766894cdaa1ceb9
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M cpu/lpc2387/include/periph_cpu.h
    A cpu/lpc2387/periph/adc.c

  Log Message:
  -----------
  cpu/lpc2387: implement periph/adc

lpc23xx has a 10 bit ADC with up to 8 channels.

The ADC should be clocked at 4.5 MHz or less, so it uses
(72MHz CCLK / 8) / 2.


  Commit: 9c0dfaada976bf5c0cc7d0ccfc7cf8a128dc2a69
      https://github.com/RIOT-OS/RIOT/commit/9c0dfaada976bf5c0cc7d0ccfc7cf8a128dc2a69
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M boards/msba2/Makefile.features
    M boards/msba2/include/periph_conf.h

  Log Message:
  -----------
  boards/msba2: add ADC configuration

ADC pins are on the AD/DA pins (JP8).
Configure AD0.0 - AD0.2 as laid out on the board schematics.


  Commit: 4342d81220d0aa8cc950d7a5d7dd211a97fc9e8f
      https://github.com/RIOT-OS/RIOT/commit/4342d81220d0aa8cc950d7a5d7dd211a97fc9e8f
  Author: Benjamin Valentin <benpicco at beuth-hochschule.de>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M boards/mcb2388/Makefile.features
    M boards/mcb2388/include/periph_conf.h

  Log Message:
  -----------
  boards/mcb2388: add ADC configuration

The MCB2388 has a potentiometer connected to an ADC input.


  Commit: 0b04f61d3b0c0fdba6b3d6fd1219698a454d05c2
      https://github.com/RIOT-OS/RIOT/commit/0b04f61d3b0c0fdba6b3d6fd1219698a454d05c2
  Author: benpicco <benpicco at beuth-hochschule.de>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M boards/mcb2388/Makefile.features
    M boards/mcb2388/include/periph_conf.h
    M boards/msba2/Makefile.features
    M boards/msba2/include/periph_conf.h
    M cpu/lpc2387/include/periph_cpu.h
    A cpu/lpc2387/periph/adc.c

  Log Message:
  -----------
  Merge pull request #12911 from benpicco/lpc2387-adc

cpu/lpc2387: implement periph/adc


Compare: https://github.com/RIOT-OS/RIOT/compare/f997f42ade82...0b04f61d3b0c


More information about the commits mailing list