bigtreetech / BIGTREETECH-OCTOPUS-Pro

This is OCTOPUS Pro open source material
272 stars 58 forks source link

Cant use MAX31865/PT1000 while using EXP1 and/or EXP2 #44

Open Urminme opened 9 months ago

Urminme commented 9 months ago

I have tried every combination possible to use the onboard MAX31865 chip so i can run a PT1000 on the Octopus Pro with klipper, no matter the settings the error says EXP_1 or EXP_2 in use as they also use the SPI bus 1, I know many others have had this problem, There has to be a way to use this sensor which is one of the main reasons I purchased this board, is there some work around or a specific config I can use to allow me t use both the display and the PT1000?

infowolfe commented 2 months ago

I have tried every combination possible to use the onboard MAX31865 chip so i can run a PT1000 on the Octopus Pro with klipper, no matter the settings the error says EXP_1 or EXP_2 in use as they also use the SPI bus 1, I know many others have had this problem, There has to be a way to use this sensor which is one of the main reasons I purchased this board, is there some work around or a specific config I can use to allow me t use both the display and the PT1000?

[temperature_sensor bed_rear]
sensor_type: MAX31865
sensor_pin: PF8
spi_speed: 4000000
spi_bus: spi1
rtd_use_50Hz_filter: False
rtd_nominal_r: 1000
rtd_reference_r: 4300
rtd_num_of_wires: 2

[tmc2240 stepper_z]
cs_pin: PC6
spi_bus: spi1
run_current: 0.9
driver_tpfd: 0
interpolate: False

Use the spi_bus instead of trying to use it from a pin-based configuration. If you re-define the spi bus everywhere it's used it'll conflict. In fact, I don't believe I have the spi1 bus pins explicitly defined anywhere.