Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat pwm spi #92

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from
Open

Feat pwm spi #92

wants to merge 16 commits into from

Commits on May 21, 2021

  1. FEAT samd21 low side current sense, sync with pwm

    use of EVSYS to trigger ADC conversion at each TCC OVF
    removed DMA code as I couldn't figure out how to combine both
    
    Problem1: Currently I only get straight 1.71V +/- 0.01 no matter what happens
    with the motor /control loop. Something is off with the timing
    Problem2: all OVF signal triggers the ADC, which is configured in INPUTSCAN mode and iterate over the 3 channel at each event trigger. while events come from different channels, they all sink into the same USER channel and there is now way of correctly mapping e.g. TCC0 to ADC pinA
    maxlem committed May 21, 2021
    Configuration menu
    Copy the full SHA
    0b21e0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f03964 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2021

  1. Configuration menu
    Copy the full SHA
    f7e8a12 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    d290fa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a29fcd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae43b15 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. AdvancedSPI for samd

    maxlem committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    4afcabf View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. AdvancedSPI for samd

    maxlem committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    e3c1a4b View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Configuration menu
    Copy the full SHA
    0ca9f29 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Configuration menu
    Copy the full SHA
    115f0ba View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. SPI was still poll-based, now everythings works togheter.

    replaced a few const char* with PSTR()
    maxlem committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    e881c82 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2021

  1. New _readADCVoltagesLowSide(a,b,c) API

    new  _SAMD21_EVSYS_ define
    maxlem committed Jun 8, 2021
    Configuration menu
    Copy the full SHA
    61a6c05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu