Hi all,
Using the RT1170EVK and SDK v2.15, I'm seeing the SAI produce a bit clock & FS clock that is double what is expected. Master clock is correct.
You can see in my SAI peripheral config, the input clock is 12.288MHz, bit clock is 3.072MHz and FS clock is 48kHz.

When I debug, I can see the correct values being passed in (See on the left)

But when I measure the output, MCLK is correct and FS clock is 96kHz.


What could be causing this? I'm not changing any settings in my application code, just calling:
BOARD_InitBootPins();
BOARD_InitBootClocks();
BOARD_InitBootPeripherals();
SAI_TransferTxCreateHandleEDMA(SAI1_PERIPHERAL, &saiTxHandle, nullptr, NULL, &DMA0_CH0_Handle);
SAI_TransferTxSetConfigEDMA(SAI1_PERIPHERAL, &saiTxHandle, &SAI1_Tx_config);
sai_transfer_t xfer;
xfer.data = reinterpret_cast<uint8_t *>(txBuff);
xfer.dataSize = BUFFER_SIZE * sizeof(uint32_t);
SAI_TransferSendEDMA(SAI1_PERIPHERAL, &saiTxHandle, &xfer)
Thanks,
Matt