2017-07-13 09:21 AM
Solved! Go to Solution.
2017-07-28 07:29 AM
Hello
Hoffet.Adrien
, Is the DMA mode circular or normal? If the DMA mode is normal, you might have missed the data when it was sent but that doesn't explain the missing clock signal.Regards.
2017-07-17 08:10 AM
Simplify.
Set up the I2S GPIOs and I2S itself (including PLL if you use it), then 'manually' feed data into its data register in a loop.
If still no activity at the given pins, read out the relevant GPIO and I2S registers content and compare to expected values according to RM, or post them.
JW
2017-07-28 03:53 AM
Thanks for the tip! I am a bit too laizy to do this way, and I don't understand why the HAL would not work directly.
2017-07-28 06:52 AM
Actually it is for an educational project and thus I need to go on the HAL + CubeMX way. Is it possible to get some support from @ST?
Looking at
I did exactly the same but no signal at all.2017-07-28 07:29 AM
Hello
Hoffet.Adrien
, Is the DMA mode circular or normal? If the DMA mode is normal, you might have missed the data when it was sent but that doesn't explain the missing clock signal.Regards.
2017-07-28 09:13 AM
What exactly of what I've wrote above can't be done using Cube and the eclipsoid?
JW
2017-07-28 09:23 AM
Haha nothing indeed, sorry I did not expressed myself correctly. I wanted to use the I2S api directly without going on the manual SPI thing...
However it is in fact working, what made me think that it was not:
Thus I was not measuring anything...
Sorry I was not clear enough on how to operate with it.
2017-07-28 09:39 AM
jalloulimedd
You spotted the issue, My DMA was in normal mode and the time I looked on my scope (that was in normal and not single shot), the clock pulse train was already finished. In circular mode it is way better !Cheers!