Skip to content

Commit c44eae8

Browse files
FRASTMcfriedt
authored andcommitted
tests: drivers: spi loopback running on stm32u585 disco kit
Configure the target board to PASS the test case. The PCLK2 clock feeding the SPI1 is reduced by 2 (apb2 prescaler) to accept the slow freq config. The SPI1 MISO and MOSI pins are linked on the HW board (on arduino CN13, D11 & D12) Signed-off-by: Francois Ramu <[email protected]>
1 parent eb5f992 commit c44eae8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_SPI_LOOPBACK_DRV_NAME="SPI_1"
2+
CONFIG_SPI_ASYNC=y
3+
CONFIG_SPI_LOOPBACK_MODE_LOOP=n
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2021 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&rcc {
8+
apb2-prescaler = <2>;
9+
};

0 commit comments

Comments
 (0)