1. 12 Aug, 2016 4 commits
  2. 11 Aug, 2016 2 commits
    • Tobias Badertscher's avatar
      stmhal/adc.c: Get ADC working on STM32L4 MCUs. · af9889f9
      Tobias Badertscher authored
      Fixing Issue #2243. Main problems were:
      
      - HAL_ADC_GetState(adcHandle) may return other bits set (not only
        HAL_ADC_STATE_EOC_REG) when called - so I AND-ed it out as proposed by
        mattbrejza in Issue #2243.
      - ADC Pin has to be configured as GPIO_MODE_ANALOG_ADC_CONTROL not only
        GPIO_MODE_ANALOG.
      - Resolved ADC resolution L4 specific (Use L4 define ADC_RESOLUTION_12B).
      - Changed setting of Init.EOCSelection toADC_EOC_SINGLE_CONV for L4.
      - Added call to ADC_MultiModeTypeDef as this is done on a STM32Cube
        generated project too.
      - Clean up: Configuration of ADC is done only in ONE function not the same
        is done in two functions.
      
      Test is done on PA5 pin of STM32L4Discovery-Kit which is connected to the
      DOWN button.
      
      Thanks to mattbrejza for discovering the bug.
      af9889f9
    • Damien George's avatar
      stmhal/boards: Update STM32L476 pin defs to include ADC channels. · dfb81440
      Damien George authored
      This patch introduces proper ADC Pin definitions in stm32l476_af.csv.
      Originally provided by @tobbad.
      dfb81440
  3. 10 Aug, 2016 5 commits
  4. 09 Aug, 2016 4 commits
  5. 08 Aug, 2016 2 commits
  6. 07 Aug, 2016 14 commits
  7. 06 Aug, 2016 9 commits