<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thought it might. I've produced I2S code for both those two processors which is why I suggested them.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
As Steve points out, you get things working with CubeIDE and HAL, but will need to optimise things later on at a bare metal level<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Synth-diy <synth-diy-bounces@synth-diy.org> on behalf of rburnett@richieburnett.co.uk <rburnett@richieburnett.co.uk><br>
<b>Sent:</b> 16 July 2023 15:19<br>
<b>To:</b> Synth Diy <synth-diy@synth-diy.org><br>
<b>Subject:</b> Re: [sdiy] STM32G4 SAI problems</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 2023-07-16 13:00, Mike Bryant wrote:<br>
> Pure guess, but try changing the selected processor to a STM32F730 or<br>
> STM32H750 and see if it generates more code<br>
<br>
A completely different experience... Much more settings options in the <br>
graphical tool and nothing was greyed out.<br>
I could enter the sample-rate and the tool calculated the clock <br>
dividers and the resulting sample-rate error from the current CPU clock <br>
speed etc. It also produced a lot more code, although I'll have to dig <br>
into it to see what it's doing. Shame I don't have a STM32F730 board <br>
because my bet would be that the resulting code would work on that <br>
platform. An interesting exercise and result nevertheless.<br>
<br>
-Richie,<br>
_______________________________________________<br>
Synth-diy mailing list<br>
Synth-diy@synth-diy.org<br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use marketplace@synth-diy.org<br>
</div>
</span></font></div>
</body>
</html>