<div dir="auto">Hi Richie<div dir="auto">I'm working on a project with a nucleo G4.</div><div dir="auto">I can try get the i2s working and I'll let you know how I get on. I'll send the 'ioc' file if I get something working.</div><div dir="auto">Cheers</div><div dir="auto">Gerry</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 15 Jul 2023, 21:41 , <<a href="mailto:rburnett@richieburnett.co.uk">rburnett@richieburnett.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Anyone using STM32G4 with STM32CubeIDE and managed to get the SAI codec <br>
interface working?<br>
<br>
I've been banging my head against a brick wall here for the past two <br>
days trying to configure the SAI peripheral of a Nucleo-G474RE using the <br>
CubeIDE graphical config tool (MX?), and still no signs of life on the <br>
relevant pins! It asks me what "Audio Frequency" I want from a drop <br>
down menu of the usual suspects (32k, 44.1k, 48k, 96k, etc.) but the <br>
"Real Audio Frequency" and "Error" both stay stubbornly stuck at zero <br>
and greyed out. The clock source shows as "SAI PLL Clock" but is greyed <br>
out (and can't be changed,) and I've tried all possible options for the <br>
SAI clock MUX in the actual clock config tool anyway, including an <br>
external I2S clock input. Still no luck.<br>
<br>
Why does this have to be so difficult!? And why do chip vendors always <br>
provide working examples for every peripheral except SAI / I2S ! (>.<)<br>
<br>
I have managed to get a LED blinking, and send "Hello World!" to a <br>
terminal via UART though, so not entirely fruitless.<br>
<br>
-Richie,<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noreferrer">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank" rel="noreferrer">marketplace@synth-diy.org</a><br>
</blockquote></div>