2024-04-29 12:55 AM
hi,
I use SAI interface for reading data by M4 core in stm32mp157
Only in debug M4 mode(M4 is running and A7 isn't running),the read can success.
When A7 core is running, the read will be failed(A7 is running ,but SAI is used by M4).
when a7 is running.
Using HAL_SAI_Receive , time out will bu return .
Using HAL_SAI_Receive_DMA ,busy will be return .
in device tree ,sai is disable
Solved! Go to Solution.
2024-04-29 04:46 AM
Hi @csm
have you adapted the Device Tree to tell Linux that SAI is handled by Cortex-M4 and SAI related clocks should be enabled ?
Please have a look to
Regards
2024-04-29 04:46 AM
Hi @csm
have you adapted the Device Tree to tell Linux that SAI is handled by Cortex-M4 and SAI related clocks should be enabled ?
Please have a look to
Regards
2024-07-01 06:02 PM
Apart from this reason PatrickF mentioned, there is another reason。
Device tree use one of SAI pins as other functions ,that I ignored 。