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

Enable speed/temperature multiplexing on same wire #14

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Nov 7, 2022

  1. Reduce ST-Link SWD frequency to 480kHz

    Allows for longer connecting wires
    devicelocksmith committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    a074b54 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Configuration menu
    Copy the full SHA
    f803340 View commit details
    Browse the repository at this point in the history
  2. Fix overflow

    devicelocksmith authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    e36df66 View commit details
    Browse the repository at this point in the history
  3. Add high-pass filter for NTC/Speed Hall multiplex

    When Speed Sensor is Multiplexed with NTC 10k thermistor like
    on motors with Z910 connector, we need to ignore low ADC values
    when the hall crosses the magnet and speed sensor digital pin
    is pulled down by hall sensor. With 220k pull-up resistor a good
    starting point is to set SP_TEMP_MULTIPLEX to 150.
    
    For this setup to work, connect the SS1 pin on controller to
    MOTOR_TEMP pin.
    
    If real NTC 10k resistance is close to 150, your motor is on fire
    devicelocksmith committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    396775f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

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