Skip to content

Commit 3a219b9

Browse files
committed
hi2s3.Init.AudioFreq = I2S_AUDIOFREQ_44K; ;
1 parent 463bda9 commit 3a219b9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Core/Src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static void MX_I2S3_Init(void)
156156
hi2s3.Init.Standard = I2S_STANDARD_PHILIPS;
157157
hi2s3.Init.DataFormat = I2S_DATAFORMAT_16B;
158158
hi2s3.Init.MCLKOutput = I2S_MCLKOUTPUT_ENABLE;
159-
hi2s3.Init.AudioFreq = I2S_AUDIOFREQ_8K;
159+
hi2s3.Init.AudioFreq = I2S_AUDIOFREQ_44K; //I2S_AUDIOFREQ_8K;
160160
hi2s3.Init.CPOL = I2S_CPOL_LOW;
161161
hi2s3.Init.ClockSource = I2S_CLOCK_PLL;
162162
hi2s3.Init.FullDuplexMode = I2S_FULLDUPLEXMODE_ENABLE;

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Please note that this is just a working prototype:
1111
- Only Master Mode is supported
1212
- Only 16bit data is supported
1313
- Full Duplex is supported
14+
- Sampling rate is 44100
1415

1516
## Pins
1617

0 commit comments

Comments
 (0)