2022-08-29 08:15 AM
Hi,
I try to use a custom board with LIS25BA.
I use SAI with STMF446.
What I know :
MCLK = 12.288 MHz
WCLK = 16kHz
8 slot with 3 active
so BCLK = WCLK * (8 * 16) = 2.048 MHz
What I can do :
I2C works like a charm ;)
What I can't do :
Configure SAI with these values.
Only MCLK is false and depends on Master Clock Divider I guess ...
My actual config :
If someone can help me, it would be so great
Thanks in advance
Axoul
Solved! Go to Solution.
2022-08-29 09:15 AM
Read out and check SAI registers, or maybe even better, don't use Cube just program the SAI registers directly.
Make sure you have set a valid clock for SAI in RCC.
JW
2022-08-29 09:15 AM
Read out and check SAI registers, or maybe even better, don't use Cube just program the SAI registers directly.
Make sure you have set a valid clock for SAI in RCC.
JW