Skip to content

Commit

Permalink
hi2s3.Init.AudioFreq = I2S_AUDIOFREQ_44K; ;
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Sep 20, 2022
1 parent 463bda9 commit 3a219b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static void MX_I2S3_Init(void)
hi2s3.Init.Standard = I2S_STANDARD_PHILIPS;
hi2s3.Init.DataFormat = I2S_DATAFORMAT_16B;
hi2s3.Init.MCLKOutput = I2S_MCLKOUTPUT_ENABLE;
hi2s3.Init.AudioFreq = I2S_AUDIOFREQ_8K;
hi2s3.Init.AudioFreq = I2S_AUDIOFREQ_44K; //I2S_AUDIOFREQ_8K;
hi2s3.Init.CPOL = I2S_CPOL_LOW;
hi2s3.Init.ClockSource = I2S_CLOCK_PLL;
hi2s3.Init.FullDuplexMode = I2S_FULLDUPLEXMODE_ENABLE;
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Please note that this is just a working prototype:
- Only Master Mode is supported
- Only 16bit data is supported
- Full Duplex is supported
- Sampling rate is 44100

## Pins

Expand Down

0 comments on commit 3a219b9

Please sign in to comment.