aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/ldc1612.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-61/+102
|
* ldc_1612: Supports configurable external crystal frequency (#6734)XiaoK2025-03-291-5/+7
| | | | | | | You can use the 40Mhz crystal oscillator recommended by TI official manual to get the best performance. refer to: [ldc1612.pdf](https://www.ti.com/cn/lit/ds/symlink/ldc1612.pdf) 7.3.4 Signed-off-by: Xiaokui Zhao <xiaok@zxkxzk.cn>
* sensor_bulk: Change maximum data size from 52 to 51 bytesKevin O'Connor2024-06-101-1/+1
| | | | | | | | | | | | Reduce the maximum data size from 52 bytes to 51 bytes. This will enable support for 2-byte response ids. This change would alter the behavior of the ldc1612 sensor support. Force an ldc1612 command name change so that users are alerted that they must rebuild the micro-controller code upon update of the host code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_ldc1612: Halt homing if sensor reports a warningKevin O'Connor2024-05-211-4/+5
| | | | | | | Explicitly check for sensor warnings during homing and report an error code back to the host. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_ldc1612: Add support for chips with INTB line routed to mcuKevin O'Connor2024-05-211-2/+11
| | | | | | If the INTB line is available it can reduce the MCU load. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bulk_sensor: Rework ChipClockUpdater class into FixedFreqReaderKevin O'Connor2024-04-201-20/+10
| | | | | | | Move the sensor_bulk_data message queuing into the class, and then rename that class. This simplifies the users of the code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bulk_sensor: Refactor ChipClockUpdater constructorKevin O'Connor2024-04-201-9/+5
| | | | | | | Build the clock_sync and struct.Struct() in the ChipClockUpdater constructor. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ldc1612: Use extract_samples() for sample timestamp calculationKevin O'Connor2024-04-201-22/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe_eddy_current: Initial support for PROBE commandKevin O'Connor2024-04-091-0/+21
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe_eddy_current: Support calibrating Z height to sensor frequencyKevin O'Connor2024-04-091-3/+8
| | | | | | | Add a calibration tool that can be used to correlate sensor frequency to bed Z height. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration commandKevin O'Connor2024-04-091-3/+45
| | | | | | Add a command to calibrate the sensor DRIVE_CURRENT0 register. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ldc1612: Initial host support for reading ldc1612 bulk sensor dataKevin O'Connor2024-04-091-0/+154
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>