Ah - according to the datasheet, the ADS1118 wants CPHA=1. SPI1 and SPI2 can handle CPOL=0 and CPOL=1, but only CPHA=0 (the driver sets the mode_bits field to (SPI_CPOL | SPI_CS_HIGH | SPI_NO_CS), i.e. no SPI_CPHA.
Statistics: Posted by PhilE — Wed Nov 20, 2024 10:13 am