I did a bit more testing and I am currently not sure, whether SPI communication on that board works correct or not. All motor drivers tmc5160 and the ADS1118 use the same SPI, just different CS pins. That motherboard only has one Thermocouple connecte to AN0 and AN1. Regardless of what I connect, the result always seems to be constand. However I just tested reading pin_1 instead of pin_0 and that delivers completely different results. Nothing is connected to those pins. Here the output from the klippy log file:
sensor_pin: ads1118:pin_0
Receive: 89 26085.008320 26085.008105 11: seq: 1f, clock clock=397481608
Receive: 90 26085.685095 26085.008105 15: seq: 1f, analog_in_state oid=19 next_clock=467280000 value=13670
Receive: 91 26085.739826 26085.008105 10: seq: 1f, buttons_state oid=25 ack_count=0 state=b’\x01’
Receive: 92 26085.985017 26085.740129 15: seq: 10, analog_in_state oid=19 next_clock=488880000 value=13655
Receive: 93 26085.993371 26085.993108 11: seq: 11, clock clock=468404806
Receive: 94 26086.127821 26085.993108 18: seq: 11, ads1118_result oid=17 next_clock=499680000 adc_mv=32767 cj_temp=788 fault=0
Receive: 95 26086.284953 26085.993108 15: seq: 11, analog_in_state oid=19 next_clock=510480000 value=13662
Receive: 96 26086.427799 26085.993108 18: seq: 11, ads1118_result oid=17 next_clock=521280000 adc_mv=32767 cj_temp=788 fault=0
Receive: 97 26086.585113 26085.993108 15: seq: 11, analog_in_state oid=19 next_clock=532080000 value=13666
Receive: 98 26086.728021 26085.993108 18: seq: 11, ads1118_result oid=17 next_clock=542880000 adc_mv=32767 cj_temp=788 fault=0
Receive: 99 26086.728041 26085.993108 12: seq: 11, shutdown clock=521283118 static_string_id=Thermocouple reader fault
Transition to shutdown state: MCU ‘mcu’ shutdown: Thermocouple reader fault
sensor_pin: ads1118:pin_1
Receive: 89 31319.592822 31319.592615 11: seq: 13, clock clock=396918636
Receive: 90 31320.237472 31319.592615 15: seq: 13, analog_in_state oid=15 next_clock=464400000 value=13663
Receive: 91 31320.292154 31319.592615 10: seq: 13, buttons_state oid=21 ack_count=0 state=b’\x01’
Receive: 92 31320.537285 31320.292653 15: seq: 14, analog_in_state oid=15 next_clock=486000000 value=13666
Receive: 93 31320.577815 31320.577526 11: seq: 15, clock clock=467835132
Receive: 94 31320.690161 31320.577526 17: seq: 15, ads1118_result oid=13 next_clock=497520000 adc_mv=-1698 cj_temp=-942 fault=0
Receive: 95 31320.837340 31320.577526 15: seq: 15, analog_in_state oid=15 next_clock=507600000 value=13674
Receive: 96 31320.990130 31320.577526 17: seq: 15, ads1118_result oid=0 next_clock=519120000 adc_mv=-3770 cj_temp=-942 fault=0
Receive: 97 31321.137423 31320.577526 15: seq: 15, analog_in_state oid=15 next_clock=529200000 value=13664
Receive: 98 31321.290397 31320.577526 17: seq: 15, ads1118_result oid=13 next_clock=540720000 adc_mv=-3746 cj_temp=-942 fault=0
Receive: 99 31321.290427 31320.577526 12: seq: 15, shutdown clock=519123024 static_string_id=Thermocouple reader fault
Transition to shutdown state: MCU ‘mcu’ shutdown: Thermocouple reader fault