Please sign in to comment.
drivers: spi: spi_ll_stm32: set NSS before mode
This commit solves an issue where the NSS must be set before the mode on the stm32mp157c_dk2, else LL_SPI_SetMode won't affect the mode registry. stm32mp1x (and stm32h7) LL function SPI_Init seems to also define first the NSS then the mode, unlike other STM32 boards where this is not specified. Changing the order shouldn't have bad repercussions on other boards, ZephyrnSPI driver test has been passed successfully on disco_l475_iot1 board. Signed-off-by: Yaël Boutreux <firstname.lastname@example.org> Signed-off-by: Arnaud Pouliquen <email@example.com> Signed-off-by: Alexandre Torgue <firstname.lastname@example.org>
- Loading branch information...