Have an application where need to read several thermocouples and also another sensor.
Looked around a bit and decided this ADS1248 chip is perfect.
This is a highly integrated 24-bit ADC with a PGA and input MUX with SPI interface.
It has taken me several days of part time effort to make code that works.
This is another one of those chips where you really need to actually read the whole datasheet to figure it out.
There are several nuances regarding the SPI interface and device behavior.
Anyway, in case anybody else wants to try this in the future, I'm posting this test code here.