cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use an internal RC oscillator to achieve an I2S master clock for a 48kHz sample rate ?

freeflyer
Senior II

I am trying to develop I2S master using the NUCLEO-L433RC-P, but struggling to achieve a master clock speed for 48kHz playback.

The I2S audio is working (using a MAX98357A I2S amplifier) and the master clock speed needs to be 12.88MHz (i.e. 48kHz x 256).  But with my current clock configuration it is 18.285MHz, so the playback speed is too fast.

freeflyer_0-1764186894800.png

 

 

I tried entering 12.888MHz as the SAI clock speed to resolve the configuration and it came up with the configuration below, but with this configuration my code does not run....

 

freeflyer_1-1764187135622.png

 

Is it possible to achieve 48kHz playback using the internal RC oscillators, or do I have to use the HSE ?

0 REPLIES 0