Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ll/dac8565.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void HAL_I2S_MspInit(I2S_HandleTypeDef *hi2s)
// I2SCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SR
RCC_ExCLKInitStruct.PeriphClockSelection = RCC_PERIPHCLK_I2S;
RCC_ExCLKInitStruct.I2sClockSelection = RCC_I2SCLKSOURCE_PLLI2S;
RCC_ExCLKInitStruct.PLLI2S.PLLI2SN = 384; // mul factor: 50~432
RCC_ExCLKInitStruct.PLLI2S.PLLI2SN = 344; // mul factor: 50~432
RCC_ExCLKInitStruct.PLLI2S.PLLI2SR = 2; // div factor: 2~7
HAL_RCCEx_PeriphCLKConfig(&RCC_ExCLKInitStruct);

Expand Down