<p>…s on stm32</p>

<h3>Contribution description</h3>
<p>Re-open <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="679585509" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/14768" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/14768/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/14768">#14768</a> because I needed it yesterday...</p>
<p>The current test does not allow to test all baud rates supported by the hardware and driver.<br>
On the nucleo-f334r8 board:</p>
<ul>
<li>0: 100 KHz -> 281250KHz</li>
<li>1: 400 KHz -> 281250KHz</li>
<li>2: 1 MHz -> 562500KHz</li>
<li>3: 5 MHz -> 4.5MHz</li>
<li>4: 10 MHz -> 9 MHz</li>
</ul>
<p>It was not possible to make tests with others supported speeds (1.125 MHz, 2.25 MHz, 18MHz, and 36MHz).</p>
<p>One might think that this is a limitation of the RIOT SPI driver but this is no longer the case for the STM32 CPU family...</p>

<h3>Testing procedure</h3>

<h3>Issues/PRs references</h3>


<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/16727'>https://github.com/RIOT-OS/RIOT/pull/16727</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>tests/periph_spi: add support for printing and testing SPI clock rates on stm32</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16727/files#diff-809d3713637c07543bea237a039697da9cf616a3930662fc9b684119f6bae9c0">tests/periph_spi/main.c</a>
    (39)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16727.patch'>https://github.com/RIOT-OS/RIOT/pull/16727.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16727.diff'>https://github.com/RIOT-OS/RIOT/pull/16727.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16727">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYA55H62C6XFUBPBJUTT4TUD5ANCNFSM5CDIQKLA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABE7WYCIGJZEV3PV772QUN3T4TUD5A5CNFSM5CDIQKLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OOU3GFQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16727",
"url": "https://github.com/RIOT-OS/RIOT/pull/16727",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>