@@ -559,11 +559,7 @@ static int spi_stm32_configure(const struct device *dev,
559559
560560#if !defined(CONFIG_SOC_SERIES_STM32F1X ) \
561561 && (!defined(CONFIG_SOC_SERIES_STM32L1X ) || defined(SPI_CR2_FRF ))
562- if (cfg -> ti_mode ) {
563- LL_SPI_SetStandard (spi , LL_SPI_PROTOCOL_TI );
564- } else {
565- LL_SPI_SetStandard (spi , LL_SPI_PROTOCOL_MOTOROLA );
566- }
562+ LL_SPI_SetStandard (spi , LL_SPI_PROTOCOL_MOTOROLA );
567563#endif
568564
569565 /* At this point, it's mandatory to set this on the context! */
@@ -928,14 +924,6 @@ static void spi_stm32_irq_config_func_##id(const struct device *dev) \
928924#define SPI_DMA_STATUS_SEM (id )
929925#endif
930926
931- #if !defined(CONFIG_SOC_SERIES_STM32F1X ) \
932- && (!defined(CONFIG_SOC_SERIES_STM32L1X ) || defined(SPI_CR2_FRF ))
933- #define STM32_SPI_TI_MODE_CONFIG (id ) \
934- .ti_mode = DT_INST_PROP(id, frame_format),
935- #else
936- #define STM32_SPI_TI_MODE_CONFIG (id )
937- #endif
938-
939927#if DT_HAS_COMPAT_STATUS_OKAY (st_stm32_spi_subghz )
940928#define STM32_SPI_USE_SUBGHZSPI_NSS_CONFIG (id ) \
941929 .use_subghzspi_nss = DT_INST_PROP_OR( \
@@ -960,7 +948,6 @@ static const struct spi_stm32_config spi_stm32_cfg_##id = { \
960948 .pinctrl_list_size = ARRAY_SIZE(spi_pins_##id), \
961949 STM32_SPI_IRQ_HANDLER_FUNC(id) \
962950 STM32_SPI_USE_SUBGHZSPI_NSS_CONFIG(id) \
963- STM32_SPI_TI_MODE_CONFIG(id) \
964951}; \
965952 \
966953static struct spi_stm32_data spi_stm32_dev_data_##id = { \
0 commit comments